Data deletion while using wear leveling FatFS
Posted: Mon Jan 22, 2018 9:53 pm
Hi,
I'm working on a project where I need to be able to completely erase any evidence of certain file data on the FS. I'm implementing the wear-leveling FatFS, but I can't seem to figure out how to completely delete/erase the data. I assume that using a simple delete command just erases the pointer in the file system and opens the sectors to be written over at a future time. Is it feasible to write over all the bits with 0's and 1's before erasing the pointer, similar to formatting, or will modifications be stored in a separate location due to wear leveling?
Any information on this would be great. Thank you!
I'm working on a project where I need to be able to completely erase any evidence of certain file data on the FS. I'm implementing the wear-leveling FatFS, but I can't seem to figure out how to completely delete/erase the data. I assume that using a simple delete command just erases the pointer in the file system and opens the sectors to be written over at a future time. Is it feasible to write over all the bits with 0's and 1's before erasing the pointer, similar to formatting, or will modifications be stored in a separate location due to wear leveling?
Any information on this would be great. Thank you!