English
Language : 

MCF5282 Datasheet, PDF (128/766 Pages) Freescale Semiconductor, Inc – Microcontroller User’s Manual
ColdFire Flash Module (CFM)
Bits
Name
2
BLANK
1–0
—
Table 6-10. CFMUSTAT Field Descriptions
Description
Erase Verified Flag. The BLANK flag indicates that the erase verify command
(RDARY1) has checked the two interleaved Flash physical blocks and found them
to be blank. Clear BLANK by writing it to 1. Writing a 0 has no effect.
1 Flash physical blocks verify as erased.
0 If an erase verify command has been requested, and the CCIF flag is set, then
the selected Flash physical blocks are not blank.
Reserved, should be cleared.
6.3.4.8 CFM Command Register (CFMCMD)
The CFMCMD is the register to which Flash program, erase, and verify commands are written.
7
6
Field
—
0
CMD
Reset
0000_0000
R/W
R/W
Address
IPSBAR + 0x1D_0024
Figure 6-12. CFM Command Register (CFMCMD)
Table 6-11. CFMCMD Field Descriptions
Bits
Name
Description
7
—
Reserved, should be cleared.
6–0
CMD[6:0] Command. Valid Flash user mode commands are shown in Table 6-12. Writing a
command in user mode other than those listed in Table 6-12 will set the ACCERR
flag in CFMUSTAT.
CFMCMD is readable and writable in all modes. Writes to bit 7 have no effect and reads return 0.
Table 6-12. CFMCMD User Mode Commands
Command
0x05
0x20
0x40
0x41
0x06
Name
RDARY1
PGM
PGERS
MASERS
PGERSVER
Description
Erase verify (all 1s)
Longword program
Page erase
Mass erase
Page erase verify
6.4 CFM Operation
The CFM registers, subject to the restrictions previously noted, can generally be read and written (see
Section 6.3.4, “Register Descriptions” for details). Reads of the CFM array occur normally and writes
behave according to the setting of the KEYACC bit in CFMCR. Program, erase, and verify operations are
6-16
MCF5282 and MCF5216 ColdFire Microcontroller User’s Manual, Rev. 3
Freescale Semiconductor