![NXP Semiconductors MPC5605BK Скачать руководство пользователя страница 836](http://html.mh-extra.com/html/nxp-semiconductors/mpc5605bk/mpc5605bk_reference-manual_1721852836.webp)
Chapter 30 Flash Memory
MPC5606BK Microcontroller Reference Manual, Rev. 2
836
Freescale Semiconductor
PEG
Program/Erase Good
The PEG bit indicates the completion status of the last flash memory 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 will cause PEG to be cleared to 0,
indicating the sequence failed.
PEG is set to 1 when the flash memory module is reset, unless a flash memory 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 an abort 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 will be 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 read, 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 UMIRS0-1.
Aborting an array integrity check or a margin read operation will cause PEG to be cleared to
0, indicating the sequence failed.
0 Program or erase operation failed; or program, erase, array integrity check, or margin
mode aborted.
1 Program or erase operation successful, or array integrity check or margin mode
completed.
PGM
Program
PGM is used to set up the flash memory 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 DFLASH_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 memory is not executing a program sequence.
1 Flash memory is executing a program sequence.
PSUS
Program Suspend
A write to this bit has no effect, but the written data can be read back.
ERS
Erase
ERS is used to set up the flash memory 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 DFLASH_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 memory is not executing an erase sequence.
1 Flash memory is executing an erase sequence.
Table 30-37. DFLASH_MCR field descriptions (continued)
Field
Description
Содержание MPC5605BK
Страница 2: ...This page is intentionally left blank...
Страница 20: ...MPC5606BK Microcontroller Reference Manual Rev 2 20 Freescale Semiconductor...
Страница 103: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 103 Clocks and power...
Страница 104: ...MPC5606BK Microcontroller Reference Manual Rev 2 104 Freescale Semiconductor This page is intentionally left blank...
Страница 243: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 243 Core platform modules...
Страница 244: ...MPC5606BK Microcontroller Reference Manual Rev 2 244 Freescale Semiconductor This page is intentionally left blank...
Страница 395: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 395 Communication modules...
Страница 396: ...MPC5606BK Microcontroller Reference Manual Rev 2 396 Freescale Semiconductor This page is intentionally left blank...
Страница 548: ...Chapter 24 LIN Controller LINFlexD MPC5606BK Microcontroller Reference Manual Rev 2 548 Freescale Semiconductor...
Страница 645: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 643 Timers...
Страница 646: ...MPC5606BK Microcontroller Reference Manual Rev 2 644 Freescale Semiconductor This page is intentionally left blank...
Страница 715: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 713 ADC system...
Страница 716: ...MPC5606BK Microcontroller Reference Manual Rev 2 714 Freescale Semiconductor This page is intentionally left blank...
Страница 787: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 787 Memory...
Страница 788: ...MPC5606BK Microcontroller Reference Manual Rev 2 788 Freescale Semiconductor This page is intentionally left blank...
Страница 893: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 893 Integrity...
Страница 894: ...MPC5606BK Microcontroller Reference Manual Rev 2 894 Freescale Semiconductor This page is intentionally left blank...
Страница 943: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 943 Debug...
Страница 944: ...MPC5606BK Microcontroller Reference Manual Rev 2 944 Freescale Semiconductor This page is intentionally left blank...