Hi,
I need to save in flash or eeprom some sensitive data necessary for the operation of the device after resuming operation after a reset. Unfortunately, the frequency of changing the values of the variables during operation does not allow me to use flash or eeprom on the fly because they would run out very quickly due to the limit of writes.
Is it possible to monitor some kind of flag that would allow to dump data before soft reset ? this only applies to the situation when restarting after a firmware update via OTA, it does not apply to power off as the chip is powered from batteries.
Best regards
I need to save in flash or eeprom some sensitive data necessary for the operation of the device after resuming operation after a reset. Unfortunately, the frequency of changing the values of the variables during operation does not allow me to use flash or eeprom on the fly because they would run out very quickly due to the limit of writes.
Is it possible to monitor some kind of flag that would allow to dump data before soft reset ? this only applies to the situation when restarting after a firmware update via OTA, it does not apply to power off as the chip is powered from batteries.
Best regards