MPC 5604C EE Driver

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

MPC 5604C EE Driver

1,437 Views
gsb_selvam
Contributor I

I am using freescale ee driver for mpc 5604C in my app which uses IVOR 2 exception handler to recover ECC error in Flash. I don't want any exception handlers triggering interrupts in bootloader. Can anyone please, suggest a possible way to use the EE driver or alternative to cope without exception handlers?

Labels (1)
0 Kudos
Reply
1 Reply

1,202 Views
davidtosenovjan
NXP TechSupport
NXP TechSupport

ECC protection cannot be disabled. Core reading or executing of data affected by multibit ECC error always lead in IVOR1/2/3 or checkstop state.

See following document, chapter 3.1:

https://community.freescale.com/docs/DOC-103300

ECC error just may happen and must be handled. Let me name some possible reasons of FLASH non-correctable ECC error reason (not necessarily related to EE handler):

- Unexpected reset during flash erase or flash program operation

- Wear out of particular flash sector = number of program/erase cycles that device’s flash is capable to withstand is exceded (in practice, real endurance is greater than specified minimum).

- Over-programming of particular flash area that is programming without erasing. It is basically software fault.

- Soft error (radiation, electro-magnetic interference, or electrical noise) during reading or executing from flash memory

- In general fault due to damage caused by running the device out of spec whatever way.

- and finally FLASH ECC error may be intentionally generated by ECC error injection.

0 Kudos
Reply