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.
Has anybody used RL-FLashFS to read a FAT 12 disk ? I have a FAT 12 File System based disk, the disk size is 16 MB. There is one directory and multiple files in it.
When I use "ffind" to list all the files in the device it reports that no files are present. Similarly "ffree" reports an incorrect free space. The size is more than the disk size itself. The same disk works on both Windows and Linux.
I suspect it might be related to the endianness of the RL-Flash FS library? I am using the FS library on STM32 which is based on CortexM3.
While CortexM3 supports both endianess STM32 is configured for little endian. There is a default build for the library which generates a lib for CortexM3 and I am not sure what endianess it is.
I just thought I will post this question on the forum.
Yes I did, I copied the test code as it is.
I have read the RAW file image using a hex editor and it has got all the ingridents for a FAT 12 file system. Still wondering why its not working.
sector size - 512 32 sectors per track 64 heads 32768 sectors 2 12 bit FAT's 16 sectors per cluster 2045 clusters The right volume id and volume label.
The file system type string has the text "FAT12".