Flash Memory
MPC5565 Microcontroller Reference Manual, Rev. 1.0
13-28
Freescale Semiconductor
Figure 13-14. Program Sequence
Erase suspend
User mode read state
Write MCR
PGM = 1
Program write
Step 1
Step 2
Step 3
Write MCR
EHV = 1
High voltage active
Access MCR
DONE
Step 4
WRITE
PSUS = 1
Read MCR
DONE = 1
Program suspend
PGM = 0
User mode read state
PEG = 0
Read MCR
DONE = 1
DONE = 0
Write MCR
PSUS = 0
EHV = 1
Abort
WRITE
EHV = 0
Step 5
Step 6
PEG
Success
PEG = 1
Write MCR
Failure
PEG = 0
Step 7
EHV = 0
PGM
More words
Step 8
?
No
Yes
Write MCR
PGM = 0
User mode read state
Step 9
Go to
Step 2
Note: PEG remains valid under this
condition until EHV is set high or
PGM is cleared.
Note: PSUS cannot be cleared while
EHV = 0. PSUS and EHV cannot
both be changed in a single
write operation.
PEG valid period
Last write
?
Yes
No
ESUS
?
0
1
Erase suspend
or erase suspend
?
Value
?
Summary of Contents for MPC5565
Page 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Page 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Page 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Page 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Page 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Page 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Page 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...