Chapter 17 Flash Memory
MPC5602P Microcontroller Reference Manual, Rev. 4
342
Freescale Semiconductor
DONE
21
Modify Operation Done
DONE indicates if the Flash module is performing a high voltage operation.
DONE is set to 1 on termination of the Flash module reset.
DONE is cleared to 0 just after a 0-to-1 transition of EHV, which initiates a high voltage operation, or
after resuming a suspended operation.
DONE is set to 1 at the end of program and erase high voltage sequences.
DONE is set to 1 (within t
PABT
or t
EABT
, equal to P/E Abort Latency) after a 1-to-0 transition of EHV,
which terminates a high voltage program/erase operation.
DONE is set to 1 (within t
ESUS
, time equal to Erase Suspend Latency) after a 0-to-1 transition of
ESUS, which suspends an erase operation.
0 Flash is executing a high voltage operation.
1 Flash is not executing a high voltage operation.
PEG
22
Program/Erase Good
The PEG bit indicates the completion status of the last Flash program or erase sequence for which
high voltage operations were initiated. The value of PEG is updated automatically during the program
and erase high voltage operations.
Aborting a program/erase high voltage operation causes PEG to be cleared to 0, indicating the
sequence failed.
PEG is set to 1 when the Flash module is reset, unless a Flash initialization error has been detected.
The value of PEG is valid only when PGM = 1 and/or ERS = 1 and after DONE transitions from 0 to
1 due to a termination or the completion of a program/erase operation. PEG is valid until PGM/ERS
makes a 1-to-0 transition or EHV makes a 0-to-1 transition.
The value in PEG is not valid after a 0-to-1 transition of DONE caused by ESUS being set to logic 1.
If program or erase are attempted on blocks that are locked, the response is PEG = 1, indicating that
the operation was successful, and the content of the block were properly protected from the program
or erase operation.
If a program operation tries to program at 1 bits that are at 0, the program operation is correctly
executed on the new bits to be programmed at 0, but PEG is cleared, indicating that the requested
operation has failed.
In Array Integrity Check or Margin Mode, PEG is set to 1 when the operation is completed, regardless
the occurrence of any error. The presence of errors can be detected only comparing checksum value
stored in UMIRS[0:1].
0 Program or erase operation failed; or program, erase, Array Integrity Check, or Margin Mode was
terminated.
1 Program or erase operation successful; or Array Integrity Check or Margin Mode completed
successfully.
23:26
Reserved
(Read Only)
A write to these bits has no effect. A read of these bits always outputs 0.
PGM
27
Program
PGM sets up 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.
PSUS
28
Program Suspend
Writing to this bit has no effect, but the written data can be read back.
Table 17-13. MCR field descriptions (continued)
Field
Description
Содержание SAFE ASSURE Qorivva MPC5601P
Страница 2: ...MPC5602P Microcontroller Reference Manual Rev 4 2 Freescale Semiconductor ...
Страница 4: ...MPC5602P Microcontroller Reference Manual Rev 4 4 Freescale Semiconductor ...
Страница 62: ...Chapter 2 MPC5602P Memory Map MPC5602P Microcontroller Reference Manual Rev 4 62 Freescale Semiconductor ...
Страница 104: ...Chapter 4 Clock Description MPC5602P Microcontroller Reference Manual Rev 4 104 Freescale Semiconductor ...
Страница 128: ...Chapter 6 Power Control Unit MC_PCU MPC5602P Microcontroller Reference Manual Rev 4 128 Freescale Semiconductor ...
Страница 272: ...Chapter 12 e200z0 and e200z0h Core MPC5602P Microcontroller Reference Manual Rev 4 272 Freescale Semiconductor ...
Страница 280: ...Chapter 14 Crossbar Switch XBAR MPC5602P Microcontroller Reference Manual Rev 4 280 Freescale Semiconductor ...
Страница 306: ...Chapter 16 Internal Static RAM SRAM MPC5602P Microcontroller Reference Manual Rev 4 306 Freescale Semiconductor ...
Страница 380: ...Chapter 17 Flash Memory MPC5602P Microcontroller Reference Manual Rev 4 380 Freescale Semiconductor ...
Страница 532: ...Chapter 21 LIN Controller LINFlex MPC5602P Microcontroller Reference Manual Rev 4 532 Freescale Semiconductor ...
Страница 578: ...Chapter 22 FlexCAN MPC5602P Microcontroller Reference Manual Rev 4 578 Freescale Semiconductor ...
Страница 708: ...Chapter 25 FlexPWM MPC5602P Microcontroller Reference Manual Rev 4 708 Freescale Semiconductor ...
Страница 742: ...Chapter 26 eTimer MPC5602P Microcontroller Reference Manual Rev 4 742 Freescale Semiconductor ...
Страница 760: ...Chapter 27 Functional Safety MPC5602P Microcontroller Reference Manual Rev 4 760 Freescale Semiconductor ...
Страница 782: ...Chapter 28 Fault Collection Unit FCU MPC5602P Microcontroller Reference Manual Rev 4 782 Freescale Semiconductor ...
Страница 788: ...Chapter 29 Wakeup Unit WKPU MPC5602P Microcontroller Reference Manual Rev 4 788 Freescale Semiconductor ...
Страница 798: ...Chapter 30 Periodic Interrupt Timer PIT MPC5602P Microcontroller Reference Manual Rev 4 798 Freescale Semiconductor ...
Страница 816: ...Chapter 32 Cyclic Redundancy Check CRC MPC5602P Microcontroller Reference Manual Rev 4 816 Freescale Semiconductor ...
Страница 848: ...Chapter 33 Boot Assist Module BAM MPC5602P Microcontroller Reference Manual Rev 4 848 Freescale Semiconductor ...
Страница 930: ...Chapter 36 Nexus Development Interface NDI MPC5602P Microcontroller Reference Manual Rev 4 930 Freescale Semiconductor ...