Freescale Semiconductor MCF52210 Network Card User Manual


 
ColdFire Flash Module (CFM)
MCF52211 ColdFire® Integrated Microcontroller Reference Manual, Rev. 2
18-20 Freescale Semiconductor
check operation (CCIF=1), the BLANK flag sets in the CFMUSTAT register if the entire flash memory is
erased. If any flash memory location is not erased, the blank check operation terminates and the BLANK
flag remains clear.
Figure 18-14. Example Blank Check Command Flow
Write: Register CFMCLKD
Read: Register CFMCLKD
Write: Array Address
Write: Register CFMCMD
Blank Check Command 0x05
Write: Register CFMUSTAT
yes
no
Clear bit CBEIF 0x80
Clock Register
Written
Check
1.
2.
3.
yes
no
Access Error and
Protection Violation
no
and Data
Bit Polling for
Command Completion
Check
Read: Register CFMUSTAT
yes
NOTE: command write sequence
aborted by writing 0x00 to
CFMUSTAT register.
NOTE: command write sequence
aborted by writing 0x00 to
CFMUSTAT register.
EXIT
Read: Register CFMUSTAT
no
START
yes
no
Blank Check
Verify Status
Read: Register CFMUSTAT
yes
EXIT
Flash Memory
Erased
Flash Memory
Not Erased
Check
CCIF
Set?
Bit
BLANK
Set?
Bit
ACCERR/PVIOL
Set?
Bit
CBEIF
Set?
Bit
DIVLD
Set?
Bit
Clear bit ACCERR/PVIOL 0x30
Write: Register CFMUSTAT
Address, Data,
Command
Buffer Empty Check
Clear bit BLANK 0x04
Write: Register CFMUSTAT