![NXP Semiconductors MPC5605BK Reference Manual Download Page 842](http://html.mh-extra.com/html/nxp-semiconductors/mpc5605bk/mpc5605bk_reference-manual_1721852842.webp)
Chapter 30 Flash Memory
MPC5606BK Microcontroller Reference Manual, Rev. 2
842
Freescale Semiconductor
Table 30-43. DFLASH_NVLML field descriptions
Field
Description
LME
Low/Mid Address Space Block Enable
This bit is used to enable the lock registers (TSLK, MLK1-0 and LLK15-0) to be set or cleared
by registers writes.
This bit is a status bit only. The method to set this bit is to write a password, and if the
password matches, the LME bit will be set to reflect the status of enabled, and is enabled
until a reset operation occurs. For LME the password 0xA1A11111 must be written to the
DFLASH_LML register.
0 Low Address Locks are disabled: TSLK, MLK1-0, and LLK15-0 cannot be written.
1 Low Address Locks are enabled: TSLK, MLK1-0, and LLK15-0 can be written.
TSLK
Test/Shadow Address Space Block Lock
This bit is used to lock the block of Test and Shadow address space from program and erase
(erase is any case forbidden for Test block).
A value of 1 in the TSLK register signifies that the Test/shadow sector is locked for program
and erase.
A value of 0 in the TSLK register signifies that the Test/shadow sector is available to receive
program and erase pulses.
The TSLK register is not writable once an interlock write is completed until
DFLASH_MCR[DONE] is set at the completion of the requested operation. Likewise, the
TSLK register is not writable if a high voltage operation is suspended.
Upon reset, information from the TestFlash block is loaded into the TSLK register. The TSLK
bit may be written as a register. Reset will cause the bit to go back to its TestFlash block
value. The default value of the TSLK bit (assuming erased fuses) would be locked.
TSLK is not writable unless LME is high.
0 Test/Shadow address space block is unlocked and can be modified (also if
DFLASH_SLL[STSLK]= 0).
1 Test/Shadow 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[3:0] are related to sectors B1F3-0, respectively. LLK[15:4] 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
DFLASH_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.
In the 64 KB flash memory module bits LLK[15:4] 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
DFLASH_SLL[SLK] = 0).
1 Low address space block is locked and cannot be modified.
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...