Motorola MCF5281 사용자 설명서

다운로드
페이지 816
6-16
MCF5282 User’s Manual
MOTOROLA
 
Memory Map  
6.3.4.8
CFM Command Register (CFMCMD)
The CFMCMD is the register to which Flash program, erase, and verify commands are
written.
CFMCMD is readable and writable in all modes. Writes to bit 7 have no effect and reads
return 0. 
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.
7
6
0
Field
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.
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
Table 6-10. CFMUSTAT Field Descriptions
Bits
Name
Description