![NXP Semiconductors SAFE ASSURE Qorivva MPC5601P Reference Manual Download Page 344](http://html.mh-extra.com/html/nxp-semiconductors/safe-assure-qorivva-mpc5601p/safe-assure-qorivva-mpc5601p_reference-manual_1721898344.webp)
Chapter 17 Flash Memory
MPC5602P Microcontroller Reference Manual, Rev. 4
344
Freescale Semiconductor
If the user attempts to write two or more MCR bits simultaneously, only the bit with the lowest priority
level is written.
17.3.7.2
Low/Mid Address Space Block Locking register (LML)
The Low/Mid Address Space Block Locking register provides a means to protect blocks from being
modified. These bits, along with bits in the SLL register, determine if the block is locked from program or
erase. An “OR” of LML and SLL determine the final lock status. Identical LML registers are provided in
the code Flash and the data Flash blocks.
In the code Flash module, the LML register has a related Non-Volatile Low/Mid Address Space Block
Locking register (NVLML) located in TestFlash that contains the default reset value for LML. The
NVLML register is read during the reset phase of the Flash module and loaded into the LML. The reset
value is 0x00XX_XXXX, initially determined by the NVLML value from test sector.
Table 17-14. MCR bits set/clear priority levels
Priority level
MCR bits
1
ERS
2
PGM
3
EHV
4
ESUS
Address: Base + 0x0004
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R LME
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-11. Low/Mid Address Space Block Locking register (LML)