Flash Memory
MPC5566 Microcontroller Reference Manual, Rev. 2
13-28 Freescale Semiconductor
While FLASH_MCR[DONE] is low, FLASH_MCR[EHV] is high and FLASH_MCR[PSUS] is low the
user can clear FLASH_MCR[EHV], resulting in a program abort. A program abort forces the module to
step 8 of the program sequence. An aborted program results in FLASH_MCR[PEG] being set low,
indicating a failed operation. The data space being operated on before the abort contains indeterminate
data. The user cannot abort a program sequence while in program suspend.
WARNING
Aborting a program operation leaves the flash core addresses being
programmed in an indeterminate data state. This can be recovered by
executing an erase on the affected blocks.