Freescale-semiconductor ColdFire MCF52210 Manual do Utilizador Página 315

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 576
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 314
ColdFire Flash Module (CFM)
MCF52211 ColdFire® Integrated Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor 18-25
An example flow to execute the page erase operation is shown in Figure 18-17. The page erase command
write sequence is as follows:
1. Write to any word address in a flash logical page to start the command write sequence for the page
erase command. The word address written determines the flash logical page to erase while the data
written during the page erase command write sequence is ignored.
2. Write the page erase command, $40, to the CFMCMD register.
3. Clear the CBEIF flag by writing a 1 to CBEIF to launch the page erase command.
If the flash logical page to be erased is in a protected sector of the flash memory, the PVIOL flag in the
CFMUSTAT register sets and the page erase command does not launch. After the page erase command has
successfully launched, the CCIF flag in the CFMUSTAT register sets after the page erase operation has
completed, unless a new command write sequence has been buffered.
Vista de página 314
1 2 ... 310 311 312 313 314 315 316 317 318 319 320 ... 575 576

Comentários a estes Manuais

Sem comentários