Do we need bad block management, and if so is there something in the API for it?
Posted: Sun Feb 18, 2024 3:17 pm
We are using a ESP-32 dev kit (ESP32-C6-DevKitC-1), and using the partitions API to read and write to FLASH, and it works well.
It's been a while since I've written code for nonvolatile FLASH... I seem to recall the need for a mechanism called bad block management, in which you scan for blocks that go bad over time, and mark them as "out of service" and skip past them going forward. Kind of a pain...
Is this necessary for the ESP32-C6-DevKitC-1 using the partitions API? Or (hopefully) has either the tech advanced and this isn't necessary, or does the ESP-IDF framework manage this somehow?
Thank you.
It's been a while since I've written code for nonvolatile FLASH... I seem to recall the need for a mechanism called bad block management, in which you scan for blocks that go bad over time, and mark them as "out of service" and skip past them going forward. Kind of a pain...
Is this necessary for the ESP32-C6-DevKitC-1 using the partitions API? Or (hopefully) has either the tech advanced and this isn't necessary, or does the ESP-IDF framework manage this somehow?
Thank you.