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.
Using MDK 5.15 on a ST str731 for data logging to 32 gb uSD card over the BSPI port:
The file system is successfully initializing. After FS initialization, it runs ffree("m0:") and displays available free space. Note, ffree fails if FS allowed file count is < 3.
The fVol returns 0 indicating successful volume name read and puts a 0 in the first element of the volume name indicating no name is present. SD card has had a volume name set in Win 7. Increasing allowed file count does not help fVol.
Once logging is commanded, it lists all files in the output directory, reads the config / setup file, writes a config debug output file, and then opens the data log file as desired. It writes log data and starts new files as elapsed time and file size limits are exceeded. The file system is working well other than the fvol function.
Heap set well beyond 592 bytes / file x files Keil specs. It is unused otherwise. All file system calls are from one thread. Thread stack space is set to 2.5-3kb
Any ideas on the fvol failures? Has it seen to be functional on a regular basis?
Program additionally works with MDK 4.14 (different FS config files and SPI driver) however 4.14 is lacking a fvol function.
Thanks, Chad