English
Language : 

MC9S08AW16CFUE Datasheet, PDF (63/324 Pages) Freescale Semiconductor, Inc – MC9S08AW60 Features
Chapter 4 Memory
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.
R
W
Reset
7
0
FCMD7
0
6
5
4
3
2
0
0
0
0
0
FCMD6
FCMD5
FCMD4
FCMD3
FCMD2
0
0
0
0
0
Figure 4-11. FLASH Command Register (FCMD)
Table 4-13. FCMD Register Field Descriptions
Field
FCMD[7:0] FLASH Command Bits — See Table 4-14
Description
1
0
FCMD1
0
0
0
FCMD0
0
Table 4-14. FLASH Commands
Command
Blank check
Byte program
Byte program — burst mode
Page erase (512 bytes/page)
Mass erase (all FLASH)
FCMD
$05
$20
$25
$40
$41
Equate File Label
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.
MC9S08AW60 Data Sheet, Rev 2
Freescale Semiconductor
63