English
Language : 

MC9S08RC8 Datasheet, PDF (55/234 Pages) Freescale Semiconductor, Inc – Microcontrollers
Memory
4.6.6 FLASH Command Register (FCMD)
Only four 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-10. FLASH Command Register (FCMD)
Table 4-13. FCMD Field Descriptions
Field
7:0
See Table 4-14 for FLASH commands.
FCMD[7:0]
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.
MC9S08RC/RD/RE/RG Data Sheet, Rev. 1.11
Freescale Semiconductor
55