X-CUBE-EEPROM Is it possible to remove routine which writes 64bit zeros on every restart of the device? (It writes 64bits of 0 during EE_Init - due to data recovery mechanism).
I am using X-CUBE-EEPROM software to emulate EEPROM in flash memory of the MCU.
It is running on STM32G070RB. This MCU has endurance only 1 kcycle.
We would like to store only a few variables (about 10) to the virtual eeprom. I expect that the main application will modify these variables only couple of times.
I found that the zeros (64bits) are written to the emulated eeprom on every restart during EE_Init (due to data recovery mechanism). It doesn't matter if the EE_Init is called with EE_FORCED_ERASE or EE_CONDITIONAL_ERASE. And it doesn't matter if some eeprom variable was modified from the last restart.
Is it possible to remove writing of the zeros on every restart? E.g. If the device didn't modified any eeprom variable from the last restart? It means that there are already zeros from the last restart at the end of the virtual eeprom and they can be used for recovery mechanism if it would needed. Why it is necessary to write additional 64bit zeros?
It can wear the emulated eeprom because too many restarts during lifetime of the device.
