About error correction code(ECC)

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

About error correction code(ECC)

954件の閲覧回数
Xuqq
Contributor II

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

0 件の賞賛
返信
1 返信

930件の閲覧回数
lama
NXP TechSupport
NXP TechSupport

Hi,

you do  not have to erase entire EEPROM. You have to erase entire sector where the ECC error is reported, reset is not necessary. If the error is reported again then the sector is wrong. In this case, before we say the eep is wrong it is good to check flash/eeprom clock, compare correctness of routines with some example or use standard drivers, you do not use cumulative programming.

Best regards,

Ladislav

0 件の賞賛
返信