
Flash memory
MPC5644A Microcontroller Reference Manual, Rev. 6
Freescale Semiconductor
229
12.3.2.3
High-Address Space Block Lock Register (HLR)
The High-Address Space Block Lock Register (HLR) provides a means to protect blocks from being
modified.
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.
SLOCK
Shadow Lock
This SLOCK bit is used to lock the shadow block from programs and erases.
1: Shadow block is locked for program and erase.
0: Shadow block is available to receive program and erase pulses.
SLOCK is not writable once an interlock write is completed until MCR[DONE] is set at the completion
of the requested operation. Likewise, SLOCK is not writable if a high voltage operation is suspended.
SLOCK is also not writeable during UTest operations, when AIE is high.
Upon reset, information from the shadow block is loaded into SLOCK. The SLOCK bit may be written
as a register. Reset causes the bits to go back to their shadow block value. The default value of the
SLOCK bit (assuming erased shadow location) is locked.
SLOCK is not writable unless LME is high.
MLOCK[1:0] Mid-Address Space Block Lock
A value of 1 in a bit of the lock register signifies that the corresponding block is locked for program and
erase. A value of 0 in the lock register signifies that the corresponding block is available to receive
program and erase pulses. The block numbering for Mid-Address Space starts with MLOCK[0] and
continues until all blocks are accounted.
The lock register is not writable once an interlock write is completed until MCR[DONE] is set at the
completion of the requested operation. Likewise, the lock register is not writable if a high voltage
operation is suspended. MLOCK is also not writeable during UTest operations, when AIE is high.
Upon reset, information from the shadow block is loaded into the block registers. The LOCK bits may
be written as a register. Reset causes the bits to go back to their shadow block value. The default
value of the LOCK bits (assuming erased shadow location) is locked.
In the event that blocks are not present (due to configuration or total memory size), the LOCK bits
default to be locked, and are not writable. The reset value is always 1 (independent of the shadow
block), and register writes have no effect.
MLOCK is not writable unless LME is high.
LLOCK[9:0] Low-Address Space Block Lock
A value of 1 in a bit of the lock register signifies that the corresponding block is locked for program and
erase. A value of 0 in the lock register signifies that the corresponding block is available to receive
program and erase pulses. The block numbering for Low-Address Space starts with LLOCK[0] and
continues until all blocks are accounted.
For more details on LLOCK, please see MLOCK field description.
LLOCK is not writable unless LME is high.
Table 12-6. LMLR field descriptions (continued)
Field
Description
Summary of Contents for MPC5644A
Page 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Page 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Page 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Page 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Page 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Page 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Page 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...