
Flash memory
MPC5644A Microcontroller Reference Manual, Rev. 6
228
Freescale Semiconductor
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 Lock Register (LMLR)
The Low/Mid-Address Space Block Lock Register (LMLR) provides a means to protect blocks from being
modified. These bits, along with the SLLOCK bits in the SLMLR, determine if the block is locked from
program or erase. An “OR” of LMLR and SLMLR determines 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.
3
EHV
4
ESUS, PSUS
Offset 0x0004
Access: User read/write
R
LME
0
0
0
0
0
0
0
0
0
0
SLOCK
0
0
MLOCK
W
Reset
0
0
0
0
0
0
0
0
0
0
0
X
0
0
X
X
R
0
0
0
0
0
0
LLOCK
W
Reset
0
0
0
0
0
0
1*
1*
1*
1*
1*
1*
1*
1*
1*
1*
= Unimplemented or Reserved
Figure 12-4. Low/Mid-Address Space Block Lock Register (LMLR)
Table 12-6. LMLR field descriptions
Field
Description
LME
Low/Mid-Address Lock Enable
The LME bit is used to enable the Lock fields (SLOCK, MLOCK and LLOCK) to be set or cleared by
register writes. LME is a status bit only, and may not be written or cleared, and the reset value is 0. The
method to set LME is to write a password, and if the password matches, LME is set to reflect the status
of enabled, and is enabled until a reset operation occurs. For LME, the password 0xA1A1_1111 must
be written to the LMLR.
0: Low/Mid-Address Locks are disabled, and can not be modified.
1: Low/Mid-Address Locks are enabled to be written.
Table 12-5. MCR bit set/clear priority levels
Priority level
MCR bit(s)
Содержание MPC5644A
Страница 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Страница 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Страница 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Страница 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Страница 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Страница 130: ...Device Performance Optimization MPC5644A Microcontroller Reference Manual Rev 6 130 Freescale Semiconductor...
Страница 204: ...Multi Layer AHB Crossbar Switch XBAR MPC5644A Microcontroller Reference Manual Rev 6 204 Freescale Semiconductor...
Страница 212: ...Peripheral Bridge PBRIDGE MPC5644A Microcontroller Reference Manual Rev 6 212 Freescale Semiconductor...
Страница 558: ...System Integration Unit SIU MPC5644A Microcontroller Reference Manual Rev 6 558 Freescale Semiconductor...
Страница 582: ...Frequency modulated phase locked loop FMPLL MPC5644A Microcontroller Reference Manual Rev 6 582 Freescale Semiconductor...
Страница 766: ...Enhanced Time Processing Unit eTPU2 MPC5644A Microcontroller Reference Manual Rev 6 766 Freescale Semiconductor...
Страница 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Страница 1236: ...System Information Module and Trim SIM MPC5644A Microcontroller Reference Manual Rev 6 1236 Freescale Semiconductor...
Страница 1250: ...Cyclic Redundancy Checker CRC Unit MPC5644A Microcontroller Reference Manual Rev 6 1250 Freescale Semiconductor...
Страница 1336: ...Deserial Serial Peripheral Interface DSPI MPC5644A Microcontroller Reference Manual Rev 6 1336 Freescale Semiconductor...
Страница 1388: ...Enhanced Serial Communication Interface ESCI MPC5644A Microcontroller Reference Manual Rev 6 1388 Freescale Semiconductor...
Страница 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...
Страница 1624: ...FlexRay Communication Controller FlexRay MPC5644A Microcontroller Reference Manual Rev 6 1624 Freescale Semiconductor...
Страница 1670: ...JTAG Controller JTAGC MPC5644A Microcontroller Reference Manual Rev 6 1670 Freescale Semiconductor...
Страница 1692: ...Nexus Port Controller NPC MPC5644A Microcontroller Reference Manual Rev 6 1692 Freescale Semiconductor...
Страница 1701: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 Freescale Semiconductor 1701...
Страница 1702: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 1702 Freescale Semiconductor...