Data deletion while using wear leveling FatFS

seaduck13
Posts: 3
Joined: Tue Aug 01, 2017 5:28 pm

Data deletion while using wear leveling FatFS

Postby seaduck13 » 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!

WiFive
Posts: 3529
Joined: Tue Dec 01, 2015 7:35 am

Re: Data deletion while using wear leveling FatFS

Postby WiFive » Tue Jan 23, 2018 10:23 pm

I suspect you would need a secure erase command and then the question becomes what is the best way to secure erase nor flash. But would flash encryption and secure boot not be enough protection or are you worried about an application level exploit?

Who is online

Users browsing this forum: Bing [Bot], EG1966 and 100 guests