mc9s08qg4 Freescale Semiconductor, Inc, mc9s08qg4 Datasheet - Page 58

no-image

mc9s08qg4

Manufacturer Part Number
mc9s08qg4
Description
Hcs08 Microcontrollers Microcontroller Family
Manufacturer
Freescale Semiconductor, Inc
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
mc9s08qg4CDNE
Manufacturer:
VISHAY
Quantity:
6 000
Part Number:
mc9s08qg4CDTE
Manufacturer:
FREESCALE
Quantity:
5 000
Part Number:
mc9s08qg4CDTE
Manufacturer:
FREESCALE
Quantity:
5 000
Part Number:
mc9s08qg4CDTE
Manufacturer:
NXP
Quantity:
120
Part Number:
mc9s08qg4CDTE
Manufacturer:
NXP
Quantity:
1 896
Part Number:
mc9s08qg4CDTE
Manufacturer:
FREESCALE
Quantity:
20 000
Company:
Part Number:
mc9s08qg4CDTE
Quantity:
178
Part Number:
mc9s08qg4CDTER
Manufacturer:
INFINEON/英飞凌
Quantity:
20 000
Part Number:
mc9s08qg4CDTER
0
Part Number:
mc9s08qg4CPAE
Manufacturer:
MITSUBISHI
Quantity:
100
Part Number:
mc9s08qg4CPBE
Manufacturer:
AVX
Quantity:
60 000
Chapter 4 Memory Map and Register Definition
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. The blank check
command is only required as part of the security unlocking mechanism.
58
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
Blank check
Command
MC9S08QG8 and MC9S08QG4 Data Sheet, Rev. 4
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
mBurstProg
mByteProg
mBlank
0
0
2
Table
Errors.” FACCERR is cleared by
4-13. Refer to
Freescale Semiconductor
0
0
1
0
0
0

Related parts for mc9s08qg4