Freescale Semiconductor MCF52210 Network Card User Manual


 
ColdFire Flash Module (CFM)
MCF52211 ColdFire® Integrated Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor 18-15
18.3.3.8 CFMCMD — CFM Command Register
The CFMCMD register is the flash command register.
Figure 18-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.
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 6543210
R
0
CMD
W
Reset: 0 0 0 0 0 0 0 0
Table 18-12. CFMCMD Field Descriptions
Field Description
7 Reserved, should read 0
6 - 0
CMD
Valid flash memory commands are shown in Table 18-13. Writing a command other than those listed in
Table 18-13 during a command write sequence causes the ACCERR flag in the CFMUSTAT register to
set.
Table 18-13. CFM Flash Memory Commands
CMD[6:0] Description
0x05 Blank Check
0x06 Page Erase Verify
0x20 Word Program
0x40 Page Erase
0x41 Mass Erase
Table 18-11. CFMUSTAT Field Descriptions
Field Description