MPC5604B/C Microcontroller Reference Manual, Rev. 8
Freescale Semiconductor 685
If Stall/Abort-While-Write is enabled and an erase operation is started on one sector while fetching code
from another then the following sequence is executed:
• CPU is stalled when flash is unavailable
• PEG flag set (stall case) or reset (abort case)
• Interrupt triggered if enabled
If Stall/Abort-While-Write is used then application software should ignore the setting of the RWE flag.
The RWE flag should be cleared after each HV operation.
If Stall/Abort-While-Write is not used the application software should handle RWE error. See
Section 27.8.10, Read-while-write functionality.
27.5.2.2 DFlash Low/Mid Address Space Block Locking Register (DFLASH_LML)
The DFlash Low/Mid Address Space Block Locking register provides a means to protect blocks from
being modified. These bits, along with bits in the DFLASH_SLL register, determine if the block is locked
from Program or Erase. An “OR” of DFLASH_LML and DFLASH_SLL determine the final lock status.
Offset: 0x0004 Access: Read/write
0123456789101112131415
R
LME0000000000
TSLK
0000
W
Reset Defined by DFLASH_NVLML at DFlash Test Sector Address 0xC03DE8. This location is user OTP (One
Time Programmable). The DFLASH_NVLML register influences only the R/W bits of the DFLASH_LML
register.
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
R
000000000000
LLK
W
Reset Defined by DFLASH_NVLML at DFlash Test Sector Address 0xC03DE8. This location is user OTP (One
Time Programmable). The DFLASH_NVLML register influences only the R/W bits of the DFLASH_LML
register.
Figure 27-24. DFlash Low/Mid Address Space Block Locking Register (DFLASH_LML)