Freescale-semiconductor ColdFire MCF52210 Manual de usuario Pagina 314

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 576
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 313
ColdFire Flash Module (CFM)
MCF52211 ColdFire® Integrated Microcontroller Reference Manual, Rev. 2
18-24 Freescale Semiconductor
Figure 18-16. Example Program Command Flow
Page Erase
The page erase operation erases all memory addresses in a flash logical page using an embedded algorithm.
Write: Register CFMCLKD
Read: Register CFMCLKD
Write: Array Address and
Write: Register CFMCMD
Program Command 0x20
Write: Register CFMUSTAT
yes
no
Clear bit CBEIF 0x80
CBEIF
Set?
Bit
yes
Clock Register
Written
Check
1.
2.
3.
no
Protection
Violation Check
Read: Register CFMUSTAT
CCIF
Set?
Bit
no
no
Address, Data,
Command
Buffer Empty Check
Next Write?
yes
no
Data
Clear bit PVIOL 0x20
Write: Register CFMUSTAT
yes
PVIOL
Set?
Bit
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
CBEIF
Set?
Bit
START
yes
DIVLD
Set?
Bit
Change Protection
Clear bit ACCERR/PVIOL 0x30
Write: Register CFMUSTAT
yes
no
Access Error and
Protection Violation
ACCERR/PVIOL
Set?
Bit
Check
Vista de pagina 313
1 2 ... 309 310 311 312 313 314 315 316 317 318 319 ... 575 576

Comentarios a estos manuales

Sin comentarios