Hello everyone,
Power off occurred while writing EEPROM. After power on, S12ZVL96 program will be stuck when reading EEPROM data. ECC is found through testing.
When ECC interrupt occurs, erase all EEPROM data and reset again to solve this problem.However, all EEPROM data is lost.
I tried to erase only the EEPROM data with ECC error and protect other EEPROM data, but found that S12ZVL96 was still stuck when reading the EEPPROM after resetting.
Do I need to erase all EEPROMs after an ECC error occurs in the EEPROM? If I only erase the bytes with ECC errors, can I remove the ECC error?
Regards
Xu