We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi, I'm using Keil Flash File system(RTLFS.lib). It is working fine with RAM Drive. The problem is with Flash Drive. The problem is that when I open a file on Flash drive for 15 times then it get opened but on the 16th time the same file is not found. what may be the possible problem? Is there any thing to do with the STD in/out buffer? Please help out.
Hello Rahul Mourya,
Which RL-ARM version are you using. This problem should be solved in RL-ARM version 3.22.
Best Regards, Martin Guenther
I'm using the RL v3.10.
When I checked the RTLFS standalone, its working fine.
The problem is when I use it with RTL RTX (v3.10).
Does it work in multitasking environment?
What happens when an interrupt comes while reading file from flash?
The FlashFS is not thread safe. The low layer programming routines for the flash are not reentrant. This means you can open file(s) from only one task. Interrupts are not a problem if you do not access the the same flash also from an interrupt handler.
I recommend an upgrade to the current RL-ARM version v3.23.
Franc