Datasheet

Chapter 4 Memory
MC9S08AW60 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
R
00000000
W
FCMD7 FCMD6 FCMD5 FCMD4 FCMD3 FCMD2 FCMD1 FCMD0
Reset 00000000
Figure 4-11. FLASH Command Register (FCMD)
Table 4-13. FCMD Register Field Descriptions
Field Description
FCMD[7:0] FLASH Command Bits — See Table 4-14
Table 4-14. FLASH Commands
Command FCMD Equate File Label
Blank check $05 mBlank
Byte program $20 mByteProg
Byte program — burst mode $25 mBurstProg
Page erase (512 bytes/page) $40 mPageErase
Mass erase (all FLASH) $41 mMassErase