![NXP Semiconductors SAFE ASSURE Qorivva MPC5601P Reference Manual Download Page 345](http://html.mh-extra.com/html/nxp-semiconductors/safe-assure-qorivva-mpc5601p/safe-assure-qorivva-mpc5601p_reference-manual_1721898345.webp)
Chapter 17 Flash Memory
MPC5602P Microcontroller Reference Manual, Rev. 4
Freescale Semiconductor
345
17.3.7.3
Non-Volatile Low/Mid Address Space Block Locking register (NVLML)
The NVLML register is a 64-bit register, the 32 most significant bits of which (bits 63:32) are “don’t care”
bits that are eventually used to manage ECC codes. Identical NVLML registers are provided in the code
Flash and the data Flash blocks.
Address: Base + 0x40_3DE8
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
0
0
0
0
0
0
0
0
0
0
0
TSLK
0
0
0
0
W
Reset
0
0
0
0
0
0
0
0
0
0
0
x
0
0
x
x
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R LLK
15
LLK
14
LLK
13
LLK
12
LLK
11
LLK
10
LLK
9
LLK
8
LLK
7
LLK
6
LLK
5
LLK
4
LLK
3
LLK
2
LLK
1
LLK
0
W
Reset
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
x
Figure 17-12. Non-Volatile Low/Mid Address Space Block Locking register (NVLML)
Table 17-15. LML and NVLML field descriptions
Field
Description
LME
1
0
Low/Mid Address Space Block Enable
This bit enables the Lock registers (TSLK and LLK[15: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 is 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 LML register.
0 Low Address Locks are disabled: TSLK and LLK[15:0] cannot be written.
1 Low Address Locks are enabled: TSLK and LLK[15:0] can be written.
1:10
Reserved
(Read Only)
A write to these bits has no effect. A read of these bits always outputs 0.
TSLK
11
Test/Shadow Address Space Block Lock
This bit locks 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 block is locked for program and
Erase. A value of 0 in the TSLK register signifies that the Test/Shadow block is available to receive
program and Erase pulses.
The TSLK register is not writable once an interlock write is completed until 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 (if also SLL[STSLK] = 0).
1 Test/Shadow Address Space Block is locked and cannot be modified.
12:13
Reserved
(Read Only)
A write to these bits has no effect. A read of these bits always outputs 0.
14:15
Reserved