Datasheet
Chapter 4 Memory
MC9S08GB60A Data Sheet, Rev. 2
Freescale Semiconductor 63
4.6.6 Flash Command Register (FCMD)
Only five command codes are recognized in normal user modes as shown in Table 4-14. Refer to
Section 4.4.3, “Program and Erase Command Execution” for a detailed discussion of flash 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.
76543210
R00000000
W FCMD7 FCMD6 FCMD5 FCMD4 FCMD3 FCMD2 FCMD1 FCMD0
Reset00000000
Figure 4-9. Flash Command Register (FCMD)
Table 4-13. FCMD Field Descriptions
Field Description
7:0
FCMD[7:0]
See Table 4 -1 4 for a description of FCMD[7:0].
Table 4-14. Flash Commands
Command FCMD Equate File Label
Blank check 0x05 mBlank
Byte program 0x20 mByteProg
Byte program — burst mode 0x25 mBurstProg
Page erase (512 bytes/page) 0x40 mPageErase
Mass erase (all flash) 0x41 mMassErase
