Flash Memory
MPC5565 Microcontroller Reference Manual, Rev. 1.0
13-14
Freescale Semiconductor
13.3.2.3
High Address Space Block Locking Register (FLASH_HLR)
The high address space block locking register provides a means to protect blocks from being modified.
13.3.2.4
Secondary Low/Mid Address Space Block Locking Register
(FLASH_SLMLR)
The FLASH_SLMLR provides an alternative means to protect blocks from being modified. These bits
along with bits in the LMLOCK field (FLASH_LMLR), determine if the block is locked from program or
erase. An “OR” of FLASH_LMLR and FLASH_SLMLR determine the final lock status. Refer to
Section 13.3.2.2, “Low/Mid Address Space Block Locking Register (FLASH_LMLR)
information on FLASH_LMLR.
Address: Base (0xC3F8_8000) + 0x0008
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 HBE 0
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
HLOCK
W
Reset
0
0
0
0 1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
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 causes the reset value
to be 1.
Figure 13-7. High Address Space Block Locking Register (FLASH_HLR)
Table 13-8. FLASH_HLR Field Descriptions
Field
Description
0
HBE
High address lock enable. Enables the locking field (HLOCK) 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 HBE bit is set to reflect the status of enabled,
and is enabled until a reset operation occurs. For HBE, the password 0xB2B2_2222 must be written to
FLASH_HLR.
0 High address locks are disabled, and cannot be modified.
1 High address locks are enabled to be written.
1–19
Reserved.
20–31
HLOCK[11:0]
High address space block lock. Has the same characteristics as MLOCK. Refer to
“Low/Mid Address Space Block Locking Register (FLASH_LMLR)
” for more information. The block
numbering for High Address space starts with HLOCK[0] and continues until all blocks are accounted.
HLOCK is not writable unless HBE is set.
In the event that blocks are not present (due to configuration or total memory size), the HLOCK bits are
default to locked, and are not writable.
Summary of Contents for MPC5565
Page 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Page 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Page 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Page 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Page 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Page 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Page 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...