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.
Hey I'm using Keil's RL-FS(Ver3.24) on ARM7. The system consists of a 8MB SDRAM and 2MB NOR Flash as memory modules for storing files. The system runs fine when files are stored only on Flash drive or RAM drive. The problems starts when some files are on RAM drive and some are on Flash drive. The exact problem is that some of files on Flash drive are not found by ffind() when some files exists on RAM drive. If RAM drive contains no file then all file on the Flash drive could be find and opened. I'm very clueless. someone help me please.
Hi Stefan Hartwig,
I have configured the File system correctly. Default drive is RAM(R:). It works very well in most of cases. Let me explain you the exact problem.
First I stores some files on Flash Drive(F:) and all those files are accessible, but when I store a file in RAM Drive(R:) then the first file on the Flash Drive is not accessible. But, again if I delete the file in RAM and then the same file can be accessed which was inaccessible before.
Hope the case is more clear to you.
The latest version of FlashFS should be 3.50, so try to update and check if the behavior is the same.
Hi, the problem is rectified now. The solution is that every time before calling ffind(), fInfo.fileID must be initiated to zero otherwise result may be unpredictable.