2019-06-24 09:26 AM
Reaching out to see if anyone have experienced microSD card failure/corruption from using the provided ST-micro driver with ST32 MCUs?
1) Erratas available?
2) Solutions?
Thanks in advance!
2019-06-24 09:30 AM
Definitely issues and expectations with the provided code, and CubeMX output.
Needs a more considered approach, and perhaps, retry/error recovery at all levels for a robust system.
2019-06-24 11:11 AM
Clive,
In your opinion, if the microSD card think's it full and no longer can be written to, what do you think? can the ST Micro SDIO drive confuse the card...in some way...???
Thanks
2019-06-24 11:12 AM
...to clarify, the card is NOT full, I've gone through and looked at all the contents on the card.
2019-06-24 11:44 AM
The file system on the cards is not difficult to corrupt. The version of FATFS shipped by ST is known to have issues with larger MicroSD cards. I've filled 200 and 400GB cards with FatFS R13.
You might want to run CHKDSK (or equivalent) on a PC to see if any of the internal structures are broken/recoverable.
I would tend to instrument the read/write routines in DISKIO, and see if they flag any kind of failure.