Hallo,
i'm using RL-ARM FileSytem + RealView. Initiallly calling the function ffree("F:") returns 65504 Bytes free.
Normally all works fine, but after trying to open a Non existing File for 9 times, the function ffree("F:") returns 0 Bytes free. At this point, also the fformat function does not work. After reseting the system, all works again.
Example: Calling the DummyOpen() + ffree("F:") 9 times works ok, after the free size gives 0:
bool DummyOpen(char *fName) { FILE *fin; fin = fopen (fName, "r"); // 33 uS if (fin == NULL) return false; // File not found! fclose (fin); return true; }
thank you for any information.
Eugen