emEEPROM data lost on power on/off | Cypress Semiconductor
emEEPROM data lost on power on/off
I have a trouble, I use emEEPROM to save program variable,
but found that repeated power on / off process emEEPROM data may be lost.
My program will read the first address emEEPROM in a boot time, check data if it is 0 for handler 1, otherwise for handler 2.
This problem is not always in the ON / OFF power will appear, how do I debug?
In most cases, the data can be normal, but occasionally there will be data loss problems emEEPROM in ON/OFF power process.