Hello,
Is there any API supported for FAT-FS to determine file corruption.
Similar to fcheck() in EFS (Embedded file system)
Thanks, Senthil
Hi
To check file system corruption, no such API is avilable for FatFS.
You can avoid the file system corruption by using Journaling but there is no API available for FAT-FS to determine file corruption: www.keil.com/.../journaling_fat.html
http://www.keil.com/support/docs/4008.htm
Note that Fat-Fs is a third-party product with nothing to do with Keil.
elm-chan.org/.../00index_e.html
AFAIK, it makes no claims to be a secure file system.
For Fat-Fs support, go to: http://elm-chan.org/fsw/ff/bd/
"Having a small and resilient file system is crucial for many IoT devices. Utilizing the file system and pairing it with the correct storage technology such as external flash or SD cards can be difficult. Mbed OS is making it easy wide portfolio of file systems. Mbed OS 5.7 supports both a FAT file system and introduces a high-integrity embedded file system. This includes and wear-leveling support for flash chips that do not have their own wear levelling controller."
See: os.mbed.com/.../