Flash Memory Array and Control
12-16
Freescale Semiconductor
PXR40 Microcontroller Reference Manual, Rev. 1
12.2.2.4
Secondary Low/Mid Address Space Block Locking Register
(FLASH_x_SLMLR)
The Secondary Low/Mid Address Block Locking Register (FLASH_x_SLMLR) provides an alternative
means to protect blocks from being modified. This has the effect of creating a “tiered” locking scheme to
enable different flash users to provide different default locking on blocks. These bits, along with bits in the
LLOCK (FLASH_x_LMLR), determine if the block is locked from program or erase. An “OR” of
FLASH_x_LMLR and FLASH_x_SLMLR determine the final lock status.
NOTE
A reset value of 1* in
indicates that the reset value of these
registers is determined by Flash values in the shadow block. An erased
shadow block causes the reset value to be 1.
The following field and bit descriptions fully define the FLASH_x_SLMLR register (
NOTE
Writing the password 0xC3C3_3333 to this register does not modify the
SSLOCK, SMLOCK, or SLLOCK fields. Only the SLE bit changes.
FLASH_x_SLMLR register functions, as shown in
.
Offset 0x000C / 0x400C
Access: User read/write
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
SLE
0
0
0
0
0
0
0
0
0
0
SS
LOCK
0
0
SM
LOCK
0
0
0
0
0
0
SLLOCK
W
Reset
0
0
0
0
0
0
0
0
0
0
0
1*
0
0
1* 1*
0
0
0
0
0
0 1* 1* 1* 1* 1* 1* 1* 1* 1* 1*
Figure 12-6. FLASH_x_SLMLR Register
Table 12-8. FLASH_x_SLMLR Field Descriptions
Field
Description
0
SLE
Secondary Low/Mid Address Lock Enable. This bit is used to enable the Lock registers (SSLOCK,
SMLOCK, and SLLOCK) to be set or cleared by register writes. This bit is a status bit only, and may
not be written 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_x_SLMLR register
0 Secondary Low/Mid Address Locks are disabled, and can not be modified.
1 Secondary Low/Mid Address Locks are enabled to be written.
1–10
Reserved
11
SSLOCK
Secondary Shadow Lock. This bit is an alternative method that may be used to lock the shadow block
from programs and erases. SSLOCK has the same description as SLOCK in the FLASH_x_LMLR
register (see
). SSLOCK is not writable unless SLE is high.
12–13
Reserved
Summary of Contents for PXR4030
Page 1: ...PXR40 Microcontroller Reference Manual Devices Supported PXR4030 PXR4040 PXR40RM Rev 1 06 2011...
Page 30: ...PXR40 Microcontroller Reference Manual Rev 1 Freescale Semiconductor xxx...
Page 40: ...PXR40 Microcontroller Reference Manual Rev 1 xl Freescale Semiconductor...
Page 66: ...Memory Map PXR40 Microcontroller Reference Manual Rev 1 2 4 Freescale Semiconductor...
Page 120: ...Signal Descriptions 3 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 860: ...FlexCAN Module 24 50 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 1167: ...Decimation Filter Freescale Semiconductor 28 53 PXR40 Microcontroller Reference Manual Rev 1...
Page 1168: ...Decimation Filter 28 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...