Memory Map

Table 6-10. CFMUSTAT Field Descriptions

Bits

Name

 

Description

 

 

 

2

BLANK

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.

 

 

 

1–0

Reserved, should be cleared.

 

 

 

 

6.3.4.8CFM Command Register (CFMCMD)

The CFMCMD is the register to which Flash program, erase, and verify commands are written.

Field

Reset

R/W

Address

7

6

0

 

CMD

 

 

 

0000_0000

R/W

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-12will 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

Name

Description

 

 

 

0x05

RDARY1

Erase verify (all 1s)

 

 

 

0x20

PGM

Longword program

 

 

 

0x40

PGERS

Page erase

 

 

 

0x41

MASERS

Mass erase

 

 

 

0x06

PGERSVER

Page erase verify

 

 

 

6-16

MCF5282 User’s Manual

MOTOROLA

Page 158
Image 158
Motorola MCF5282, MCF5281 user manual CFM Command Register Cfmcmd, Cfmcmd User Mode Commands, Command Name Description