MC9S08JM16CGTE FREESCALE [Freescale Semiconductor, Inc], MC9S08JM16CGTE Datasheet - Page 59

no-image

MC9S08JM16CGTE

Manufacturer Part Number
MC9S08JM16CGTE
Description
Microcontrollers
Manufacturer
FREESCALE [Freescale Semiconductor, Inc]
Datasheet
4.7.6
Only five command codes are recognized in normal user modes as shown in
Section 4.5.3, “Program and Erase Command
and erase operations.
All other command codes are illegal and generate an access error.
Freescale Semiconductor
FACCERR
FCMD[7:0]
FBLANK
Reset
Field
Field
4
2
W
R
FCMD7
Flash Command Register (FCMD)
Access Error Flag — FACCERR is set automatically when the proper command sequence is not obeyed exactly
(the erroneous command is ignored). If a program or erase operation is attempted before the FCDIV register has
been initialized, or if the MCU enters stop while a command was in progress. For a more detailed discussion of
the exact actions that are considered access errors, see
writing a 1 to FACCERR. Writing a 0 to FACCERR has no meaning or effect.
0 No access error.
1 An access error has occurred.
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.
0 After a blank check command is completed and FCCF = 1, FBLANK = 0 indicates the flash array is not
1 After a blank check command is completed and FCCF = 1, FBLANK = 1 indicates the flash array is completely
Flash Command Bits — See
Blank check
Byte program
Byte program — burst mode
Page erase (512 bytes/page)
Mass erase (all flash)
0
0
7
completely erased.
erased (all 0xFF).
FCMD6
Table 4-12. FSTAT Register Field Descriptions (continued)
0
0
6
Command
Figure 4-10. Flash Command Register (FCMD)
Table 4-13. FCMD Register Field Descriptions
MC9S08JM16 Series Data Sheet, Rev. 2
FCMD5
0
0
Table 4-14
5
Table 4-14. Flash Commands
Execution,” for a detailed discussion of flash programming
FCMD4
0
0
4
Description
Description
FCMD
0x05
0x20
0x25
0x40
0x41
Section 4.5.5, “Access
FCMD3
3
0
0
mBlank
mByteProg
mBurstProg
mPageErase
mMassErase
Equate File Label
FCMD2
0
0
2
Table
Errors.” FACCERR is cleared by
4-14. Refer to
FCMD1
0
0
1
Chapter 4 Memory
FCMD0
0
0
0
59

Related parts for MC9S08JM16CGTE