![NXP Semiconductors MPC5605BK Reference Manual Download Page 809](http://html.mh-extra.com/html/nxp-semiconductors/mpc5605bk/mpc5605bk_reference-manual_1721852809.webp)
Chapter 30 Flash Memory
MPC5606BK Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor
809
30.5.1.3
CFlash High Address Space Block Locking Register (CFLASH_HBL)
The CFLASH_HBL register provides a means to protect blocks from being modified.
MLK
Mid Address Space Block Lock
These bits are used to lock the blocks of mid address space from program and erase.
MLK[1:0] are related to sectors B0F7-6, respectively.
A value of 1 in a bit of the MLK register signifies that the corresponding block is locked for
program and erase.
A value of 0 in a bit of the MLK register signifies that the corresponding block is available to
receive program and erase pulses.
The MLK register is not writable once an interlock write is completed until
CFLASH_MCR[DONE] is set at the completion of the requested operation. Likewise, the
MLK register is not writable if a high voltage operation is suspended.
Upon reset, information from the TestFlash block is loaded into the MLK registers. The MLK
bits may be written as a register. Reset will cause the bits to go back to their TestFlash block
value. The default value of the MLK bits (assuming erased fuses) would be locked.
In the event that blocks are not present (due to configuration or total memory size), the MLK
bits will default to locked, and will not be writable. The reset value will always be 1
(independent of the TestFlash block), and register writes will have no effect.
MLK is not writable unless LME is high.
0 Mid address space block is unlocked and can be modified (also if
CFLASH_SLL[SMLK] = 0).
1 Mid address space block is locked and cannot be modified.
LLK
Low Address Space Block Lock
These bits are used to lock the blocks of Low address space from program and erase.
LLK[5:0] are related to sectors B0F5-0, respectively. LLK[15:6] are not used for this memory
cut.
A value of 1 in a bit of the LLK register signifies that the corresponding block is locked for
program and erase.
A value of 0 in a bit of the LLK register signifies that the corresponding block is available to
receive program and erase pulses.
The LLK register is not writable once an interlock write is completed until
CFLASH_MCR[DONE] is set at the completion of the requested operation. Likewise, the
LLK register is not writable if a high voltage operation is suspended.
Upon reset, information from the TestFlash block is loaded into the LLK registers. The LLK
bits may be written as a register. Reset will cause the bits to go back to their TestFlash block
value. The default value of the LLK bits (assuming erased fuses) would be locked.
In the event that blocks are not present (due to configuration or total memory size), the LLK
bits will default to locked, and will not be writable. The reset value will always be 1
(independent of the TestFlash block), and register writes will have no effect.
Bits LLK[15:6] are read-only and locked at 1.
LLK is not writable unless LME is high.
0 Low address space block is unlocked and can be modified (also if
CFLASH_SLL[SLK] = 0).
1 Low address space block is locked and cannot be modified.
Table 30-15. CFLASH_NVLML field descriptions (continued)
Field
Description
Summary of Contents for MPC5605BK
Page 2: ...This page is intentionally left blank...
Page 20: ...MPC5606BK Microcontroller Reference Manual Rev 2 20 Freescale Semiconductor...
Page 103: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 103 Clocks and power...
Page 645: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 643 Timers...
Page 715: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 713 ADC system...
Page 787: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 787 Memory...
Page 893: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 893 Integrity...
Page 943: ...MPC5606BK Microcontroller Reference Manual Rev 2 Freescale Semiconductor 943 Debug...