Flash Array and Control
MPC5510 Microcontroller Family Reference Manual, Rev. 1
22-26
Freescale Semiconductor
Preliminary
NOTE
If an erase of user space is requested, and a suspend is done with attempts
to erase suspend program shadow space, this attempted program will be
directed to user space as dictated by the state of MCR[PEAS]. Likewise an
attempted erase suspended program of user space, while the shadow space
is being erased, will be directed to shadow space as dictated by the state of
MCR[PEAS].
The shadow block cannot use the RWW feature. After an operation is started in the shadow block, a read
cannot be done to the shadow block, or any other block. Likewise, after an operation is started in a block
in low-/mid-/high-address space, a read cannot be done in the shadow block.
The shadow block contains information about how the lock registers are reset. The first and second words
can be used for reset configuration words. All other words can be used for user-defined functions or other
configuration words.
The shadow block may be locked/unlocked against program or erase by using the LML or SLL discussed
in
Section 22.4.2, “Register Descriptions
.”
Programming the shadow row has similar restrictions to programming the array in terms of how ECC is
calculated. See
Section 22.5.4, “Flash Programming
,” for more information. Only one program is allowed
per 64 bit ECC segment between erases. Erase of the shadow row is done similarly as an array erase. See
section
,” for more information.
22.5.7
Flash Stop Mode
Stop mode is entered by setting the STOP bit in the MCR. The STOP bit cannot be written when PGM=1
or ERS=1 in the MCR. In stop mode all DC current sources in the flash module are disabled. Stop mode
is exited by clearing the STOP bit.
NOTE
Exiting the stop mode requires a recovery time of t
SRCV
.
22.5.8
Flash Reset
A reset is the highest priority operation for the flash and terminates all other operations.
The flash uses reset to initialize register and status bits to their default reset values. If the flash is executing
a program or erase operation and a reset is issued, the operation will be aborted and the flash will disable
the high voltage logic without damage to the high-voltage circuits. Reset aborts all operations and forces
the flash into user mode ready to receive accesses.
After reset is negated, register accesses can be performed, although it should be noted that registers that
require updating from shadow information, or other inputs, cannot read updated until flash exits reset.
22.6
DMA Requests
The flash has no DMA requests.