
Flash Memory
MPC5566 Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor
13-11
26
Reserved.
27
PGM
Program. Used to set up flash for a program operation. A 0 to 1 transition of PGM initiates an flash program
sequence. A 1 to 0 transition of PGM ends the program sequence. PGM can be set only under one of the
following conditions:
• User mode read (STOP and ERS are low).
• Erase suspend
1
(ERS and ESUS are 1) with EHV low.
PGM can be cleared by the user only when EHV are 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. Indicates the flash module is in program suspend or in the process of entering a suspend
state. The flash module is in program suspend when PSUS = 1 and DONE = 1. PSUS can be set high only
when PGM and EHV are high. A 0 to 1 transition of PSUS starts the sequence which sets DONE and places
the flash in program suspend. PSUS can be cleared only when DONE and EHV are high. A 1 to 0 transition
of PSUS with EHV = 1 starts the sequence which clears DONE and returns the flash module to program. The
flash module cannot exit program suspend and clear DONE while EHV is low. PSUS is cleared on reset.
0 Program sequence is not suspended.
1 Program sequence is suspended.
29
ERS
Erase. Used to set up flash for an erase operation. A 0 to 1 transition of ERS initiates an flash erase
sequence. A 1 to 0 transition of ERS ends the erase sequence. ERS can be set only in a normal operating
mode read (STOP and PGM are 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. Indicates 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 in erase suspend. 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 flash
module to erase mode. 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 13-6. FLASH_MCR Field Descriptions (continued)
Field
Description
Summary of Contents for MPC5566
Page 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Page 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Page 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Page 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Page 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Page 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Page 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...