English
Language : 

MC9S08QE16CLC Datasheet, PDF (53/350 Pages) Freescale Semiconductor, Inc – Low-power wireless applications, Gas, water and heater meters
Chapter 4 Memory
FCBEF to launch the command. The FCDIV register must be initialized before using any FLASH
commands. This must be done only once following a reset.
START
Read: FCDIV register
Clock Register
Written
Check
FDIVLD
Set?
yes
no
Write: FCDIV register
NOTE: FCDIV needs to
be set after each reset
Read: FSTAT register
Command
Buffer Empty Check
FCBEF
no
Set?
yes
Access Error and
Protection Violation
Check
FACCERR/FPVIOL yes
Set?
no
1.
Write: Flash Array Address
and Program Data
2.
Write: FCMD register
Program Command 0x20
3.
Write: FSTAT register
Clear FCBEF 0x80
Read: FSTAT register
Write: FSTAT register
Clear FACCERR/FPVIOL 0x30
Bit Polling for
Command Completion
Check
FCCF
no
Set?
yes
EXIT
Figure 4-2. Example Program Command Flow
MC9S08AC60 Series Data Sheet, Rev. 3
Freescale Semiconductor
53