Flash Memory
MPC5606S Microcontroller Reference Manual, Rev. 7
604 Freescale Semiconductor
 
27 PGM: ProGraM (Read/Write)
PGM is used to setup the flash module for a Program operation.
A 0 to 1 transition of PGM initiates a Program sequence.
A 1 to 0 transition of PGM ends the Program sequence.
PGM can be set only under User mode read (ERS is low and UT0.AIE is low).
PGM can be cleared by the user only when EHV is low and DONE is high.
PGM is cleared on reset.
0: Flash is not executing a Program sequence.
1: Flash is executing a Program sequence.
28 PSUS: Program SUSpend (Read/Write)
Write this bit has no effect, but the written data can be read back.
29 ERS: ERaSe (Read/Write)
ERS is used to setup the flash module for an Erase operation.
A 0 to 1 transition of ERS initiates an Erase sequence.
A 1 to 0 transition of ERS ends the Erase sequence.
ERS can be set only under User mode read (PGM is low and UT0.AIE is low).
ERS can be cleared by the user only when ESUS and EHV are low and DONE is high.
ERS is cleared on reset.
0: Flash is not executing an Erase sequence.
1: Flash is executing an Erase sequence.
30 ESUS: Erase SUSpend (Read/Write)
ESUS is used to indicate that the flash module is in Erase Suspend or in the process of entering a 
Suspend state. The flash module is in Erase Suspend when ESUS=1 and DONE=1.
ESUS can be set high only when ERS and EHV are high and PGM is low.
A 0 to 1 transition of ESUS starts the sequence which sets DONE and places the flash memory in Erase 
Suspend. The flash module enters Suspend within t
ESUS
 of this transition.
ESUS can be cleared only when DONE and EHV are high and PGM is low.
A 1 to 0 transition of ESUS with EHV=1 starts the sequence which clears DONE and returns the Module 
to Erase.
The flash module cannot exit Erase Suspend and clear DONE while EHV is low.
ESUS is cleared on reset.
0: Erase sequence is not suspended.
1: Erase sequence is suspended.
Table 17-42. MCR field descriptions (continued)
Field Description