wear leveling support in FATFS
Posted: Tue Aug 04, 2020 3:37 pm
Hello,
I'm trying to configure FATFS wear leveling support for a product.
I'm trying to verify wear leveling by reading back the partition data and confirming that writing the same file more than one time leaves multiple copies in flash storage.
With NVS and SPIFFS partitions, this is the case..
Looking at the wear_leveling example in esp_idf v3.3, it seems that the sample application will continuously reboot, mount the FAT filing system and rewrite the file /spiflash/hello.txt - when I make a copy of the flash storage used by the FATFS partition, I would expect to see multiple copies of the string "written using ESP-IDF". However I just see the string once.
Am I missing something?
Tim
I'm trying to configure FATFS wear leveling support for a product.
I'm trying to verify wear leveling by reading back the partition data and confirming that writing the same file more than one time leaves multiple copies in flash storage.
With NVS and SPIFFS partitions, this is the case..
Looking at the wear_leveling example in esp_idf v3.3, it seems that the sample application will continuously reboot, mount the FAT filing system and rewrite the file /spiflash/hello.txt - when I make a copy of the flash storage used by the FATFS partition, I would expect to see multiple copies of the string "written using ESP-IDF". However I just see the string once.
Am I missing something?
Tim