Q: Implementing fail/safe method while writing file into SD card I need a help/guide regarding the file writing in SD card. I am writing a file into SD card interfaced with TI CC3200 controller which is using FAT FS. The use case is like that, during file write if power is loss, then my data should not corrupt or I can have some mechanism to identify corrupt data in file.
There are few options in my mind like implementation of CRC, checksum but it costs controller performance.
So to identify that I need a mechanism that can be implemented through coding. I want to know is there any available method or something from where I can start to implement to identify corrupt data.
