Uncorrectable ECC error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Uncorrectable ECC error

756 Views
Alice10
Contributor I

We are using the S912ZVCA19 WKH

The phenomenon is the SW cannot run normally.

We are debugging bootloader, finish of bootloader, jump to app segment, when it runs to the phrase before reading EEPROM phrase of the app segment, no error report, but when it runs to after reading EEPROM phrase ( *Data = *((byte *)Addr); ), the register MMCEC is 0x1332 which means S12ZCPU+EEPROM+data load+uncorrectable ECC error, and it runs to the machine exception fault address afterwards.

Then we check it in bootloader, this reading EEPROM phrase is called in bootloader with reading the same address, it can run normally, no error, which means this EEPROM address is ok, can be visit.

Question:

  1. What might cause the problem(uncorrectable ECC error)? I can see the reason in the handbook is the alpha radiation, except this reason, can other reason cause this problem?
  2. How to solve the problem? Do you have some solutions to this problem? 

Thank you very much.

0 Kudos
1 Reply

742 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Alice10,

 

Do you set FCLKDIV correctly?

 

When you program the EEPROM do you see any errors?

The programming operation verifies the data and the ECC check sum.

danielmartynek_0-1638887048369.png

 

Can you please apply Margin Level read after the date are programmed?

danielmartynek_1-1638887224232.png

 

Is it possible that there is an issue with pointers and you read a different data?

You should see the error even the EEPROM is read by the debugger.

 

Regards,

Daniel

 

 

 

 

0 Kudos