NXP Semiconductors MC9S08SU16 Reference Manual page 161

Table of Contents

Advertisement

Table 11-3
shows the generic flash command format. The high byte of the first word in
the CCOB array contains the command code, followed by the parameters for this specific
flash command. For details on the FCCOB settings required by each command, see the
flash command descriptions in
Table 11-3. FCCOB – flash command mode typical usage
CCOBIX[2:0]
000
001
010
011
100
101
The contents of the FCCOB parameter fields are transferred to the memory controller
when the user clears the FSTAT[CCIF] command completion flag by writing 1. The
CCIF flag will remain clear until the flash command has completed. Upon completion,
the memory controller will return FSTAT[CCIF] to 1 and the FCCOB register will be
used to communicate any results.
The following table presents the valid flash commands, as enabled by the combination of
the functional MCU mode with the MCU security state of unsecured or secured.
MCU secured state is selected by FSEC[SEC].
Table 11-4. Flash commands by mode and security state
FCMD
0x01
0x02
0x03
0x04
0x06
0x07
0x08
0x09
NXP Semiconductors
Flash command summary
Byte
FCCOB parameter fields in flash command mode
HI
LO
HI
LO
HI
LO
HI
LO
HI
LO
HI
LO
Command
Erase verify all blocks
Erase verify block
Erase verify flash section
Read once
Program flash
Program once
Erase all block
Erase flash block
Table continues on the next page...
MC9S08SU16 Reference Manual, Rev. 5, 4/2017
Chapter 11 Flash Memory Module (FTMRH)
.
FCMD[7:0] defining flash command
Global address [23:16]
Global address [15:8]
Global address [7:0]
Data 0 [15:8]
Data 0 [7:0]
Data 1 [15:8]
Data 1 [7:0]
Data 2 [15:8]
Data 2 [7:0]
Data 3 [15:8]
Data 3 [7:0]
Unsecured
1
U
*
*
*
*
*
*
*
*
Secured
2
U
*
*
*
*
*
*
*
*
161

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc9s08su16vfkMc9s08su8vfk

Table of Contents