Hi there,
I found when write data to fat partition, power down will damage file. And the file will be locked to occupy a file size. I can't delete and write it. So I wont to format this partition. But I don't know how to do it.
Note :
I use wear_level api to create fat partition. And use wl mode is safety.
Thx!
Ye su
How to format fat filesystem?
Re: How to format fat filesystem?
The simplest option is to call esp_partition_erase_range function to erase the entire partition. Then initialize WL and FATFS. This will result in the filesystem being formatted.
Who is online
Users browsing this forum: No registered users and 388 guests