Flash Memory
MPC5566 Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor 13-17
13.3.2.5 Low/Mid Address Space Block Select Register (FLASH_LMSR)
The FLASH_LMSR provides a means to select blocks to be operated on during erase.
Address: Base (0xC3F8_8000) + 0x0010 Access: R/W
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
R 0 0 0 0 0 000000000
MSEL
0000000000
LSEL
W
Reset00000000000000000000000000000000
Figure 13-9. Low/Mid Address Space Block Select Register (FLASH_LMSR)
Table 13-11. FLASH_LMSR Field Descriptions
Field Description
0–13 Reserved.
14–15
MSEL[1:0]
Mid address space block select. Values in the selected register signify that a block(s) is or is not selected
for erase. The reset value for the select registers is 0. 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 after 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 SELECT bits default to unselected,
and are not writable. The reset value is always 0, and register writes have no effect. A description of how
blocks are numbered is detailed in Section 13.3.2.2, “Low/Mid Address Space Block Locking Register
(FLASH_LMLR).”
0b0000 Mid address space blocks are not selected for erase
0b0001 One mid address space block is selected for erase
0b0011 Two mid address space blocks are selected for erase
16–25 Reserved.
26–31
LSEL[5:0]
Low address space block select. Used to select blocks in the low address space; these have the same
description and attributes as the MSEL bits
0b0000 Low address space blocks are not selected for erase
0b0001 One low address space block is selected for erase
0b0011 Two low address space blocks are selected for erase
0b0111 Three low address space blocks are selected for erase
0b1111 Four low address space blocks are selected for erase
0b0001_1111 Five low address space blocks are selected for erase
0b0011_1111 Six low address space blocks are selected for erase