Cfm Command Register (Cfmcmd); Cfmcmd Field Descriptions; Cfmcmd User Mode Commands - Motorola ColdFire MCF5281 User Manual

Motorola microcontroller user's manual
Table of Contents

Advertisement

Memory Map
Bits
Name
2
BLANK
1–0
6.3.4.8

CFM Command Register (CFMCMD)

The CFMCMD is the register to which Flash program, erase, and verify commands are
written.
Field
Reset
R/W
Address
Figure 6-12. CFM Command Register (CFMCMD)
Bits
Name
7
6–0
CMD[6:0]
CFMCMD is readable and writable in all modes. Writes to bit 7 have no effect and reads
return 0.
Command
0x05
0x20
0x40
0x41
0x06
6-16
Table 6-10. CFMUSTAT Field Descriptions
Erase Verified Flag. The BLANK flag indicates that the erase verify command (RDARY1)
has checked the two interleaved Flash physical blocks selected by BKSL[1:0] 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.
7
6
Table 6-11. CFMCMD Field Descriptions
Reserved, should be cleared.
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.
Table 6-12. CFMCMD User Mode Commands
Name
RDARY1
PGM
PGERS
MASERS
PGERSVER
MCF5282 User's Manual
Description
CMD
0000_0000
R/W
IPSBAR + 0x1D_0024
Description
Erase verify (all 1s)
Longword program
Page erase verify
0
Description
Page erase
Mass erase
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfire mcf5282

Table of Contents