MPC5744P

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

MPC5744P

534 Views
Ellison
Contributor I

Now I use MPC5744P chip, how to detect and handle ECC error of Dflash? I tried to make ECC in Dflash and Pflash respectively. When ECC is made in Pflash, MEMU module can detect it and will enter IVOR1, but when ECC is made in Dflash, it will not.

0 Kudos
Reply
1 Reply

526 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

ECC event reporting on data flash accesses is disabled. On multi-bit ECC event, the corrupted read data is replaced with a fixed, ECC-clean illegal opcode value (on this device 0xFFFF_FFFF).

Pay attention to following appnote, section 3.4.2:

https://www.nxp.com/docs/en/application-note/AN13179.pdf

 

Even though 0xFFFF_FFFF is returned value, the ECC error will be caught in flash registers, so user can check whether read value is 0xFFFF_FFFF or it is ECC multibit error.

0 Kudos
Reply