ESP32-C3FH4 flash partition wear levelling
Posted: Thu Aug 10, 2023 9:52 am
Hi all,
I have a need to create a separate 4KB flash partition for storing some data. This data is written only once during production flashing, and does not change over the lifetime of the device. I'm aware that there is wear leveling API for FATfs, and probably spiffs type partition also use some sort of wear leveling. But is this the case for a nvs type partition that is never written to? Do I have to make sure I occasionally refresh this data partition to make sure the data is not lost or corrupted? Or is there still some under the hood wear leveling partition that somehow takes care of that ?
Thanks
I have a need to create a separate 4KB flash partition for storing some data. This data is written only once during production flashing, and does not change over the lifetime of the device. I'm aware that there is wear leveling API for FATfs, and probably spiffs type partition also use some sort of wear leveling. But is this the case for a nvs type partition that is never written to? Do I have to make sure I occasionally refresh this data partition to make sure the data is not lost or corrupted? Or is there still some under the hood wear leveling partition that somehow takes care of that ?
Thanks