English
Language : 

MC9S08GB60 Datasheet, PDF (59/290 Pages) Motorola, Inc – Microcontrollers
FLASH Registers and Control Bits
FBLANK — 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.
1 = After a blank check command is completed and FCCF = 1, FBLANK = 1 indicates the FLASH
array is completely erased (all $FF).
0 = After a blank check command is completed and FCCF = 1, FBLANK = 0 indicates the FLASH
array is not completely erased.
4.6.6 FLASH Command Register (FCMD)
Only five command codes are recognized in normal user modes as shown in Table 4-9. Refer to
Section 4.4.3, “Program and Erase Command Execution” for a detailed discussion of FLASH
programming and erase operations.
Bit 7
6
5
4
3
2
1
Bit 0
Read: 0
0
0
0
0
0
0
0
Write: FCMD7 FCMD6 FCMD5 FCMD4 FCMD3 FCMD2 FCMD1 FCMD0
Reset: 0
0
0
0
0
0
0
0
= Unimplemented or Reserved
Figure 4-9. FLASH Command Register (FCMD)
Table 4-9. FLASH Commands
Command
FCMD
Equate File Label
Blank check
$05
Byte program
$20
Byte program — burst mode
$25
Page erase (512 bytes/page)
$40
Mass erase (all FLASH)
$41
mBlank
mByteProg
mBurstProg
mPageErase
mMassErase
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.
MC9S08GB/GT Data Sheet, Rev. 2.3
Freescale Semiconductor
59