![NXP Semiconductors SAFE ASSURE Qorivva MPC5601P Reference Manual Download Page 349](http://html.mh-extra.com/html/nxp-semiconductors/safe-assure-qorivva-mpc5601p/safe-assure-qorivva-mpc5601p_reference-manual_1721898349.webp)
Chapter 17 Flash Memory
MPC5602P Microcontroller Reference Manual, Rev. 4
Freescale Semiconductor
349
17.3.7.6
Low/Mid Address Space Block Select register (LMS)
The Low/Mid Address Space Block Select register provides a means to select blocks to be operated on
during erase. Identical LMS registers are provided in the code Flash and the data Flash blocks.
17.3.7.7
Address Register (ADR)
The Address Register provides the first failing address in the event module failures (ECC, RWW, or FPEC)
or the first address at which a ECC single error correction occurs.
Address: Base + 0x0010
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
0
0
0
0
0
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R LSL
15
LSL
14
LSL
13
LSL
12
LSL
11
LSL
10
LSL
9
LSL
8
LSL
7
LSL
6
LSL
5
LSL
4
LSL
3
LSL
2
LSL
1
LSL
0
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 17-15. Low/Mid Address Space Block Select register (LMS)
Table 17-17. LMS field descriptions
Field
Description
0:13
Reserved
(Read Only)
A write to these bits has no effect. A read of these bits always outputs 0.
14:15
Reserved
LSL[15:0]
16:31
Low Address Space Block Select 15–0
A value of 1 in the select register signifies that the block is selected for erase.
A value of 0 in the select register signifies that the block is not selected for erase. The reset value
for the select register is 0, or unselected.
For code Flash, LSL[5:0] are related to sectors B0F[5:0], respectively. See
for more
information.
For data Flash, LSL[3:0] are related to sectors B1F[3:0], respectively. See
for more
information.
The blocks must be selected (or unselected) before doing an erase interlock write as part of the
Erase sequence. The select register is not writable once an interlock write is completed or if a high
voltage operation is suspended.
In the event that blocks are not present (due to configuration or total memory size), the
corresponding LSL bits will default to unselected, and will not be writable. The reset value will
always be 0, and register writes will have no effect.
In the code Flash macrocell, bits LSL[15:6] are read-only and locked at 0.
In the data Flash macrocell, bits LSL[15:4] are read-only and locked at 0.
0 Low Address Space Block is unselected for Erase.
1 Low Address Space Block is selected for Erase.