ColdFire Flash Module (CFM)
MCF52235 ColdFire® Integrated Microcontroller Reference Manual, Rev. 6
Freescale Semiconductor
17-29
3. Writing to a flash block with a data size other than 32 bits.
4. After writing to the flash even block, writing an additional word to the flash memory during the
flash command write sequence other than the flash odd block.
5. Writing an invalid flash normal mode command to the CFMCMD register.
6. Writing to any CFM register other than CFMCMD after writing to the flash memory.
7. Writing a second command to the CFMCMD register before executing the previously written
command.
8. Writing to any CFM register other than CFMUSTAT (to clear CBEIF) after writing to the
command register, CFMCMD.
9. The part enters stop mode and any command is in progress. Upon entering STOP mode, any active
command is aborted.
10. Aborting a command write sequence by writing a 0 to the CBEIF flag after writing to the flash
memory or after writing a command to the CFMCMD register but before the command is launched.
The PVIOL flag is set during the command write sequence if any of the following illegal operations are
performed, causing the command write sequence to immediately abort:
1. Writing a program command if the address to program is in a protected flash logical sector.
2. Writing a page erase command if the address to erase is in a protected flash logical sector.
3. Writing a mass erase command while any protection is enabled.
If a read operation is attempted on a flash logical block while a command is active on that logical block
(CCIF=0), the read operation returns invalid data and the ACCERR flag in the CFMUSTAT register is not
set.
17.4.2.4
Stop Mode
If a command is active (CCIF=0) when the MCU enters stop mode, the flash command controller and flash
memory controller perform the following:
1. The active command is aborted, and the data being programmed or erased is lost.
2. The high voltage circuitry to the flash arrays is switched off.
3. Any buffered command (CBEIF=0) is not executed after the MCU exits stop mode.
4. The CCIF and ACCERR flags are set if a command is active when the MCU enters stop mode.
CAUTION
As active commands are immediately aborted when the MCU enters stop
mode, it is strongly recommended that the user does not execute the stop
instruction during program and erase operations.
If a command is not active (CCIF=1) when the MCU enters stop mode, the ACCERR flag does not set.
Because
of
an
order
from
the
United
States
International
Trade
Commission,
BGA-packaged
product
lines
and
part
numbers
indicated
here
currently
are
not
available
from
Freescale
for
import
or
sale
in
the
United
States
prior
to
September
2010:MCF52234CVM60,
MCF52235CVM60