mc9s08qg8 Freescale Semiconductor, Inc, mc9s08qg8 Datasheet - Page 55
![no-image](/images/manufacturer_photos/0/2/263/freescale_semiconductor__inc_sml.jpg)
mc9s08qg8
Manufacturer Part Number
mc9s08qg8
Description
Hcs08 Microcontrollers
Manufacturer
Freescale Semiconductor, Inc
Datasheet
1.MC9S08QG8.pdf
(300 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
mc9s08qg84CDNE
Manufacturer:
Freescale Semiconductor
Quantity:
135
Company:
Part Number:
mc9s08qg84CDTE
Manufacturer:
Freescale Semiconductor
Quantity:
135
Part Number:
mc9s08qg8CDT
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
mc9s08qg8CDTE
Manufacturer:
ABB
Quantity:
101
Company:
Part Number:
mc9s08qg8CDTE
Manufacturer:
Freescale Semiconductor
Quantity:
41 991
Part Number:
mc9s08qg8CDTE
Manufacturer:
FREESCALE
Quantity:
20 000
Part Number:
mc9s08qg8CFFE
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
mc9s08qg8CPBE
Manufacturer:
CYPRESS
Quantity:
310
4.7.6
Only five command codes are recognized in normal user modes as shown in
Section 4.5.3, “Program and Erase Command
programming and erase operations.
All other command codes are illegal and generate an access error.
It is not necessary to perform a blank check command after a mass erase operation. Only blank check is
required as part of the security unlocking mechanism.
Freescale Semiconductor
FACCERR
FBLANK
Reset
Field
4
2
W
R
FLASH Command Register (FCMD)
Access Error Flag — FACCERR is set automatically when the proper command sequence is not obeyed exactly
(the erroneous command is ignored), if a program or erase operation is attempted before the FCDIV register has
been initialized, or if the MCU enters stop while a command was in progress. For a more detailed discussion of
the exact actions that are considered access errors, see
writing a 1 to FACCERR. Writing a 0 to FACCERR has no meaning or effect.
0 No access error.
1 An access error has occurred.
FLASH Verified as All Blank (erased) Flag — FBLANK is set automatically at the conclusion of a blank check
command if the entire FLASH array was verified to be erased. FBLANK is cleared by clearing FCBEF to write a
new valid command. Writing to FBLANK has no meaning or effect.
0 After a blank check command is completed and FCCF = 1, FBLANK = 0 indicates the FLASH array is not
1 After a blank check command is completed and FCCF = 1, FBLANK = 1 indicates the FLASH array is
0
0
7
completely erased.
completely erased (all 0xFF).
Page erase (512 bytes/page)
Byte program — burst mode
Table 4-12. FSTAT Register Field Descriptions (continued)
Mass erase (all FLASH)
0
0
6
Figure 4-10. FLASH Command Register (FCMD)
Byte program
MC9S08QG8 and MC9S08QG4 Data Sheet, Rev. 1.01
Blank check
Command
Table 4-13. FLASH Commands
0
0
5
Execution,” for a detailed discussion of FLASH
0
0
4
FCMD
Description
0x05
0x20
0x25
0x40
0x41
FCMD
Section 4.5.5, “Access
3
0
0
Equate File Label
mPageErase
mMassErase
Chapter 4 Memory Map and Register Definition
mBurstProg
mByteProg
mBlank
0
0
2
Table
Errors.” FACCERR is cleared by
4-13. Refer to
0
0
1
0
0
0
55