English
Language : 

PXD20RM Datasheet, PDF (848/1628 Pages) Freescale Semiconductor, Inc – PXD20 Microcontroller
User mode read state
Erase suspend
Step 1
Write MCR
PGM = 1
Step 2
Program write
Abort
WRITE
EHV = 0
PEG = 0
Step 3
Last write
No
?
Step 4
Step 5
Yes
Write MCR
PGM = 0
User mode read state
or erase suspend
EHV = 1
WRITE
High voltage active
PSUS = 1
Read MCR
DONE = 1
Access MCR
DONE = 0
DONE
?
PEG valid period
DONE = 1
Step 6 Read MCR
PSUS = 0
EHV = 1
Program suspend
Write MCR
Note: PSUS cannot be cleared while
EHV = 0. PSUS and EHV cannot
both be changed in a single
write operation.
Success
PEG = 1
Step 7
Step 8
Step 9
PEG
value
?
Failure
PEG = 0
Write MCR
EHV = 0
PGM
Yes
more words
?
No
Write MCR
Go to Step 2
Note: PEG remains valid under this
condition until EHV is set high or
PGM is cleared.
PGM = 0
0
User mode read state
ESUS
?
1
Erase suspend
Figure 21-28. Program Sequence
21-36
PXD20 Microcontroller Reference Manual, Rev. 1
Preliminary—Subject to Change Without Notice
Freescale Semiconductor