Flash Memory
MPC5565 Microcontroller Reference Manual, Rev. 1.0
Freescale Semiconductor
13-13
Table 13-7. FLASH_LMLR Field Descriptions
Field
Description
0
LME
Low and mid address lock enable. Enables the locking register fields (SLOCK, MLOCK and LLOCK) to be
set or cleared by register writes. This bit is a status bit only, and can not be written or cleared, and the reset
value is 0. The method to set this bit is to write a password, and if the password matches, the LME bit is
set to reflect the status of enabled, and is enabled until a reset operation occurs. For LME, the password
0xA1A1_1111 must be written to the FLASH_LMLR.
0 Low and mid address locks are disabled, and cannot be modified.
1 Low and mid address locks are enabled and can be written.
1–10
Reserved.
11
SLOCK
Shadow lock. Locks the shadow row from programs and erases. The SLOCK bit is not writable if a high
voltage operation is suspended.
Upon reset, information from the shadow row is loaded into the SLOCK bit. The SLOCK bit can be written
as a register. Reset causes the bits to go back to their shadow row value. The default value of the SLOCK
bit (assuming the corresponding shadow row bit is erased) would be locked. SLOCK is not writable unless
LME is high.
0 Shadow row is available to receive program and erase pulses.
1 Shadow row is locked for program and erase.
12–13
Reserved.
14–15
MLOCK[1:0]
Mid address block lock. A value of 1 in a bit of the lock register signifies that the corresponding block is
locked for program and erase. A value of 0 in the lock register signifies that the corresponding block is
available to receive program and erase pulses. Likewise the lock register is not writable if a high voltage
operation is suspended.
Upon reset, information from the shadow row is loaded into the block registers. The LOCK bits can be
written as a register. Reset causes the bits to go back to their shadow row value. The default value of the
LOCK bits (assuming erased fuses) would be locked.
In the event that blocks are not present (due to configuration or total memory size), the LOCK bits default
to locked, and are not writable. The reset value always is 1 (independent of the shadow row), and register
writes have no effect.
MLOCK is not writable unless LME is high.
16–25
Reserved
26–31
LLOCK[5:0]
Low address block lock. These bits have the same description and attributes as MLOCK. As an example
of how the LLOCK bits are used, if a configuration has sixteen 16-KB blocks in the low address space
(MCR-LAS = 3’b011), the block residing at address array base + 0, corresponds to LLOCK0. The next
16-KB block corresponds to LLOCK1, and so on up to LLOCK15.
Содержание MPC5565
Страница 18: ...MPC5565 Microcontroller Reference Manual Devices Supported MPC5565 MPC5565 RM Rev 1 0 09 2007...
Страница 34: ...MPC5565 Reference Manual Rev 1 0 Freescale Semiconductor 15...
Страница 35: ...MPC5565 Reference Manual Rev 1 0 16 Freescale Semiconductor...
Страница 325: ...Error Correction Status Module ECSM MPC5565 Microcontroller Reference Manual Rev 1 0 8 16 Freescale Semiconductor...
Страница 515: ...External Bus Interface EBI MPC5565 Microcontroller Reference Manual Rev 1 0 12 70 Freescale Semiconductor...
Страница 553: ...Flash Memory MPC5565 Microcontroller Reference Manual Rev 1 0 13 38 Freescale Semiconductor...
Страница 559: ...SRAM MPC5565 Microcontroller Reference Manual Rev 1 0 14 6 Freescale Semiconductor...
Страница 577: ...Boot Assist Module BAM MPC5565 Microcontroller Reference Manual Rev 1 0 15 18 Freescale Semiconductor...
Страница 895: ...Deserial Serial Peripheral Interface DSPI MPC5565 Microcontroller Reference Manual Rev 1 0 19 72 Freescale Semiconductor...
Страница 973: ...Preface MPC5565 Microcontroller Reference Manual Rev 1 0 21 36 Freescale Semiconductor...
Страница 1145: ...MPC5565 Register Map MPC5565 Microcontroller Reference Manual Rev 1 0 A 60 Freescale Semiconductor...
Страница 1153: ...Calibration MPC5565 Microcontroller Reference Manual Rev 1 0 B 8 Freescale Semiconductor...