ColdFire Flash Module (CFM)
MCF52235 ColdFire® Integrated Microcontroller Reference Manual, Rev. 6
17-14
Freescale Semiconductor
17.3.3.8
CFMCMD — CFM Command Register
The CFMCMD register is the flash command register.
Figure 17-12. CFM Command Buffer and Register (CFMCMD)
All CFMCMD register bits are readable and writable except bit 7, which reads zero and is not writable.
4
ACCERR
Access error
The ACCERR flag, set by the flash command controller, indicates an illegal access was made to the flash
memory or registers caused by an illegal command write sequence. The ACCERR flag is cleared by
writing a 1 to the ACCERR flag. Writing a 0 to the ACCERR flag has no effect on ACCERR. While the
ACCERR flag is set, it is not possible to launch a command or start a command write sequence. See
Section 17.4.2.3.5, “Flash Normal Mode Illegal Operations
” for details on what action sets the ACCERR
flag.
1 = Access error has occurred.
0 = No access error has been detected.
3
Reserved, should read 0
2
BLANK
All flash memory locations or the selected flash logical page have been verified as erased
The BLANK flag, set by the flash command controller, indicates that a blank check or page erase verify
operation has checked all flash memory locations or the selected flash logical page and found them to be
erased. The BLANK flag is cleared by writing a 1 to BLANK. Writing a 0 to the BLANK flag has no effect
on BLANK.
1 = All flash memory locations or selected logical page verify as erased.
0 = If a blank check or page erase verify command has been executed, and the CCIF flag is set, then a
0 in the BLANK flag indicates that all flash memory locations are not erased or the selected flash logical
page is not erased.
1 -0
Reserved, should read 0
IPSBAR
Offset:
0x1D_0024 (CFMCMD)
Access: User read/write
7
6
5
4
3
2
1
0
R
0
CMD
W
Reset:
0
0
0
0
0
0
0
0
Table 17-12. CFMCMD Field Descriptions
Field
Description
7
Reserved, should read 0
6 - 0
CMD
Valid flash memory commands are shown in
. Writing a command other than those listed in
during a command write sequence causes the ACCERR flag in the CFMUSTAT register to
set.
Table 17-11. CFMUSTAT Field Descriptions (continued)
Field
Description
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