This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

RL-Flash and RTX problem

Hello,

In my project I want use the fopen, fwrite, fclose functions within an USB interrupt.

If I dont' use the RTX all is OK, but if I use the RTX, I have and undef_handler, sometimes an dabt_handler.

I don't understand the problem, anybody can help me ?

Thanks,

Julien.

Parents
  • you are not allowed to use these functions while at any mode other than user mode. it is as simple as that - FlashFS rules.

    Moreover the MCB2300/usbmem example do the same thing.

    interesting. are you sure it is a genuine Keil example? that would surprise the hell out of me.

    use an interaction between a task/main loop to get the work done.

Reply
  • you are not allowed to use these functions while at any mode other than user mode. it is as simple as that - FlashFS rules.

    Moreover the MCB2300/usbmem example do the same thing.

    interesting. are you sure it is a genuine Keil example? that would surprise the hell out of me.

    use an interaction between a task/main loop to get the work done.

Children