mc9s08rd60fj Freescale Semiconductor, Inc, mc9s08rd60fj Datasheet - Page 44

no-image

mc9s08rd60fj

Manufacturer Part Number
mc9s08rd60fj
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Memory
A strictly monitored procedure must be adhered to, or the command will not be accepted. This minimizes
the possibility of any unintended changes to the FLASH memory contents. The command complete flag
(FCCF) indicates when a command is complete. The command sequence must be completed by clearing
FCBEF to launch the command.
Figure 4-2
is a flowchart for executing all of the commands except for
burst programming. The FCDIV register must be initialized before using any FLASH commands. This
must be done only once following a reset.
START
0
FACCERR ?
CLEAR ERROR
(1)
(1)
WRITE TO FCDIV
Only required once
after reset.
WRITE TO FLASH
TO BUFFER ADDRESS AND DATA
WRITE COMMAND TO FCMD
WRITE 1 TO FCBEF
(2)
Wait at least four cycles before
TO LAUNCH COMMAND
checking FCBEF or FCCF.
(2)
AND CLEAR FCBEF
YES
FPVIO OR
ERROR EXIT
FACCERR ?
NO
0
FCCF ?
1
DONE
Figure 4-2 FLASH Program and Erase Flowchart
44
MC9S08RC/RD/RE/RG
Freescale Semiconductor

Related parts for mc9s08rd60fj