mc9s08qd4 Freescale Semiconductor, Inc, mc9s08qd4 Datasheet - Page 43
mc9s08qd4
Manufacturer Part Number
mc9s08qd4
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
1.MC9S08QD4.pdf
(202 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
mc9s08qd4CPC
Manufacturer:
FREESCALE
Quantity:
201
Part Number:
mc9s08qd4CPC
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc9s08qd4CSC
Manufacturer:
NXP/恩智浦
Quantity:
20 000
Company:
Part Number:
mc9s08qd4MSC
Manufacturer:
Freescale Semiconductor
Quantity:
150 510
Company:
Part Number:
mc9s08qd4MSC
Manufacturer:
ON
Quantity:
50 000
4.5.5
An access error occurs whenever the command execution protocol is violated.
Any of the following specific actions will cause the access error flag (FACCERR) in FSTAT to be set.
FACCERR must be cleared by writing a 1 to FACCERR in FSTAT before any command can be
processed.
Freescale Semiconductor
•
•
Writing to a flash address before the internal flash clock frequency has been set by writing to the
FCDIV register
Writing to a flash address while FCBEF is not set (A new command cannot be started until the
command buffer is empty.)
Access Errors
Figure 4-3. Flash Burst Program Flowchart
MC9S08QD4 Series MCU Data Sheet, Rev. 3
YES
0
TO BUFFER ADDRESS AND DATA
WRITE COMMAND TO FCMD
NEW BURST COMMAND ?
TO LAUNCH COMMAND
AND CLEAR FCBEF
WRITE 1 TO FCBEF
WRITE TO FCDIV
WRITE TO FLASH
CLEAR ERROR
FACCERR ?
FACCERR ?
FPVIO OR
FCBEF ?
FCCF ?
START
DONE
1
NO
NO
1
1
(1)
(2)
0
0
YES
(2)
Chapter 4 Memory Map and Register Definition
checking FCBEF or FCCF.
(1)
Wait at least four bus cycles before
after reset.
Required only once
ERROR EXIT
43