power down during erase
Posted: Wed Jun 20, 2018 12:49 pm
we are using a esp32-wrover, our device can be disconnected at any time, what happens if the power is lost during erase?
As an example, some code is writing to nvs and, while the system is erasing a block to make room, the user disconnect the device from the power.
For sure some data will be lost, but is this the only effect or the flash (and the device) will be damaged?
As an example, some code is writing to nvs and, while the system is erasing a block to make room, the user disconnect the device from the power.
For sure some data will be lost, but is this the only effect or the flash (and the device) will be damaged?