ROHS MC9S08QE128 Reference Manual page 83

Table of Contents

Advertisement

Clock Register
Written
Check
Command
Buffer Empty Check
Access Error and
Protection Violation
Check
Bit Polling for
Command Buffer Empty
Check
Sequential
Programming
Decision
Bit Polling for
Command Completion
Check
4.6.3.2.4
Sector Erase Command
The sector erase operation will erase all addresses in a 1 Kbyte sector of flash memory using an embedded
algorithm.
Freescale Semiconductor
START
Read: FCDIV register
no
FDIVLD
Set?
yes
Write: FCDIV register
Read: FSTAT register
FCBEF
Set?
yes
FACCERR/FPVIOL
Set?
no
Write: Flash Array Address
1.
and Program Data
Write: FCMD register
2.
Burst Program Command 0x25
Write: FSTAT register
3.
Clear FCBEF 0x80
Read: FSTAT register
FCBEF
Set?
yes
Next
Address?
no
Read: FSTAT register
FCCF
Set?
yes
EXIT
Figure 4-18. Example Burst Program Command Flow
MC9S08QE128 MCU Series Reference Manual, Rev. 2
NOTE: FCDIV needs to
be set after each reset
no
yes
Write: FSTAT register
Clear FACCERR/FPVIOL 0x30
no
yes
no
Chapter 4 Memory
83

Hide quick links:

Advertisement

Table of Contents
loading

Related Products for ROHS MC9S08QE128

This manual is also suitable for:

Mc9s08qe96Mc9s08qe64

Table of Contents