Hi all,
I am running code with the FATFS driver to write a stream into an SD card.
The SD card is FAT32 formatted.
Everything goes well for some time but for some reason, after a while (I've
seen the issue come in at file size = 1.5GB, 2GB, 3GB etc...),  the file
memory location changes (looks like it wraps to the beginning of the SD
card memory) and overwrites the boot block and FAT structure which corrupts
the entire SD card.
I haven't found any similar issues but not sure anybody has tested the file
system to that extent.
Anyone has an idea on where to start to debug that issue?
I'm guessing this bug would be from the fatfs driver and not the mmc/sdcard
driver... am I wrong to think this?
Thanks,
Fabien

Reply via email to