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.