2024-01-15 04:12 AM
Hi,
I am using STM32L072CZT6 for my project.
2024-01-15 04:17 AM
Are you using Flash or EEPROM Emulation in your code? Which pages erase?
2024-01-15 04:33 AM
We are using Flash.
Last four pages are used for saving some configurations. These pages are getting erased randomly.
2024-01-15 05:39 AM
Wakeups do not cause flash erase. Likely there is an issue with your program logic leading to the erased flash pages, especially since erasing pages is part of your program. Perhaps show your code, or trace through your program logic to look for why this might occur.