
Flash Memory Array and Control
PXN20 Microcontroller Reference Manual, Rev. 1
12-10
Freescale Semiconductor
Because the MCR[DONE] flag can be set too soon, a delay needs to be
inserted between setting the MCR[ESUS] or MCR[PSUS] and reading the
same flash partition. The minimum duration of the delay should be 40 us to
guarantee correct operation.
12.3.2.1.1
MCR Simultaneous Register Writes
A number of MCR bits are protected against write when another bit, or set of bits, is in a specific state.
These write locks are covered on a bit by bit basis in the preceding section. The write locks detailed in the
previous section do not consider the effects of trying to write two or more bits simultaneously. The effects
of writing bits simultaneously which put the module in an illegal state are detailed here.
The flash module does not allow the user to write bits simultaneously which put the device into an illegal
state. This is implemented through a priority mechanism among the bits. The bit changing priorities are
detailed in
.
If the user attempts to write two or more MCR bits simultaneously then only the bit with the lowest priority
level is written. Setting two bits with the same priority level is prevented by existing write locks or do not
put the flash in an illegal state.
For example, setting ERS and PGM simultaneously results in only ERS being set. Attempting to clear
EHV while setting PSUS results in EHV being cleared, while PSUS is unaffected.
12.3.2.2
Low/Mid Address Space Block Locking Register (LML)
The Low/Mid Address Block Locking Register (LML) provides a means to protect blocks from being
modified. These bits, along with bits in the Secondary LLOCK (SLL), determine if the block is locked
from program or erase. An “OR” of LML and SLL determine the final lock status.
NOTE
A reset value of 1* in
indicates that the reset value of these
registers is determined by Flash values in the shadow block. An erased
shadow block causes the reset value to be 1.
The LML register is shown in
.
Table 12-4. MCR Bit Set/Clear Priority Levels
Priority Level
MCR Bit(s)
1
ERS
2
PGM
3
EHV
4
ESUS, PSUS
Summary of Contents for PXN2020
Page 1: ...PXN20 Microcontroller Reference Manual Devices Supported PXN2020 PXN2120 PXN20RM Rev 1 06 2011...
Page 42: ...PXN20 Microcontroller Reference Manual Rev 1 lxiv Freescale Semiconductor...
Page 64: ...Introduction PXN20 Microcontroller Reference Manual Rev 1 1 22 Freescale Semiconductor...
Page 112: ...Signal Description PXN20 Microcontroller Reference Manual Rev 1 3 44 Freescale Semiconductor...
Page 118: ...Resets PXN20 Microcontroller Reference Manual Rev 1 4 6 Freescale Semiconductor...
Page 372: ...e200z6 Core Z6 PXN20 Microcontroller Reference Manual Rev 1 13 8 Freescale Semiconductor...
Page 412: ...e200z0 Core Z0 PXN20 Microcontroller Reference Manual Rev 1 14 14 Freescale Semiconductor...
Page 821: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 27 49...
Page 822: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 27 50 Freescale Semiconductor...
Page 1376: ...Memory Map PXN20 Microcontroller Reference Manual Rev 1 A 118 Freescale Semiconductor...