Flash Memory
MPC5566 Microcontroller Reference Manual, Rev. 2
13-16 Freescale Semiconductor
 
Address: Base (0xC3F8_8000) + 0x000C Access: R/W
0 1 2 3 4 5 6 7 8 9 10 11 1213 14 15 16171819202122232425262728293031
R SLE 0 0 0 0 0 0 0 0 0 0
SS
LOCK
11
SM
LOCK
1111111111
SLLOCK
W
Reset 0 0000000000 1
1
111
1
1
1
11111111111
1
1
1
1
1
1
1
1
1
1
1
1
The reset value of these bits is determined by flash values in the shadow row. An erased array sets the reset value 
to 1.
Figure 13-8. Secondary Low/Mid Address Space Block 
Locking Register (FLASH_SLMLR)
Table 13-10. FLASH_SLMLR Field Descriptions
Field Description
0
SLE
Secondary low and mid address lock enable. Enables the secondary lock fields (SSLOCK, SMLOCK, 
and SLLOCK) to be set or cleared by register writes. This bit is a status bit only, and cannot be written 
to or cleared, and the reset value is 0.   The method to set this bit is to provide a password, and if the 
password matches, the SLE bit is set to reflect the status of enabled, and is enabled until a reset 
operation occurs. For SLE, the password 0xC3C3_3333 must be written to the FLASH_SLMLR.   
0 Secondary low and mid address locks are disabled, and cannot be modified.
1 Secondary low and mid address locks are enabled to be written. 
1–10 Reserved.
11
SSLOCK
Secondary shadow lock. An alternative method to use to lock the shadow row from programs and 
erases. SSLOCK has the same description as SLOCK in Section 13.3.2.2, “Low/Mid Address Space 
Block Locking Register (FLASH_LMLR).” SSLOCK is not writable unless SLE is high.
12–13 Reserved.
14–15
SMLOCK[1:0]
Secondary mid address block lock. Alternative method to use to lock the mid address space blocks from 
programs and erases. SMLOCK has the same description as MLOCK in section Section 13.3.2.2, 
“Low/Mid Address Space Block Locking Register (FLASH_LMLR).” SMLOCK is not writable unless SLE 
is set.
In the event that blocks are not present (due to configuration or total memory size), the SMLOCK bits 
default to locked, and not writable.
16–25 Reserved.
26–31
SLLOCK[5:0]
Secondary low address block lock. These bits are an alternative method that to use to lock the low 
address space blocks from programs and erases. SLLOCK has the same description as LLOCK in 
Section 13.3.2.2, “Low/Mid Address Space Block Locking Register (FLASH_LMLR). SLLOCK is not 
writable unless SLE is high.
In the event that blocks are not present (due to configuration or total memory size), the SLLOCK bits 
default to locked, and are not writable.