Flash memory integrity check
Posted: Mon Apr 09, 2018 11:03 am
Dear all,
I would like to know if there is a way to carry out a flash memory integrity check to detect damaged sectors.
I'm interested in both, via USB with some tool such as esptool.py or from the device itself with an API for remote diagnosis.
The idea is know if a partition is damaged (for example a OTA partition where I plan use to upgrade the firmware) to know when a memory must be replaced due to issues or if a device is reaching the end of it's life (which can be short depending of the application).
I read about the wear levelling, which is close related with this topic but I did not found API to obtain this kind of information.
Best regards
I would like to know if there is a way to carry out a flash memory integrity check to detect damaged sectors.
I'm interested in both, via USB with some tool such as esptool.py or from the device itself with an API for remote diagnosis.
The idea is know if a partition is damaged (for example a OTA partition where I plan use to upgrade the firmware) to know when a memory must be replaced due to issues or if a device is reaching the end of it's life (which can be short depending of the application).
I read about the wear levelling, which is close related with this topic but I did not found API to obtain this kind of information.
Best regards