![NXP Semiconductors MC9S08PA4 Reference Manual Download Page 63](http://html1.mh-extra.com/html/nxp-semiconductors/mc9s08pa4/mc9s08pa4_reference-manual_1721838063.webp)
Table 4-8. FCCOB – flash and EEPROM command mode typical usage
CCOBIX[2:0]
Byte
FCCOB parameter fields in flash and EEPROM command mode
000
HI
FCMD[7:0] defining flash command
LO
Global address [23:16]
001
HI
Global address [15:8]
LO
Global address [7:0]
010
HI
Data 0 [15:8]
LO
Data 0 [7:0]
011
HI
Data 1 [15:8]
LO
Data 1 [7:0]
100
HI
Data 2 [15:8]
LO
Data 2 [7:0]
101
HI
Data 3 [15:8]
LO
Data 3 [7:0]
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 and EEPROM 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 and EEPROM 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 NVM_FSEC[SEC].
Table 4-9. Flash and EEPROM commands by mode and security state
FCMD
Command
Unsecured
Secured
U
U
0x01
Erase verify all blocks
*
*
0x02
Erase verify block
*
*
0x03
Erase verify flash section
*
N/A
0x04
Read once
*
N/A
0x06
Program flash
*
N/A
0x07
Program once
*
N/A
0x08
Erase all block
*
*
0x09
Erase flash block
*
*
0x0A
Erase flash sector
*
N/A
0x0B
Unsecure NVM
N/A
*
0x0C
Verify backdoor access key
*
*
Table continues on the next page...
Chapter 4 Memory map
MC9S08PA4 Reference Manual, Rev. 5, 08/2017
NXP Semiconductors
63
Summary of Contents for MC9S08PA4
Page 1: ...MC9S08PA4 Reference Manual Supports MC9S08PA4 Document Number MC9S08PA4RM Rev 5 08 2017 ...
Page 2: ...MC9S08PA4 Reference Manual Rev 5 08 2017 2 NXP Semiconductors ...
Page 22: ...MC9S08PA4 Reference Manual Rev 5 08 2017 22 NXP Semiconductors ...
Page 28: ...System clock distribution MC9S08PA4 Reference Manual Rev 5 08 2017 28 NXP Semiconductors ...
Page 150: ...Port data registers MC9S08PA4 Reference Manual Rev 5 08 2017 150 NXP Semiconductors ...
Page 196: ...Human machine interfaces HMI MC9S08PA4 Reference Manual Rev 5 08 2017 196 NXP Semiconductors ...
Page 224: ...Instruction Set Summary MC9S08PA4 Reference Manual Rev 5 08 2017 224 NXP Semiconductors ...
Page 232: ...Functional Description MC9S08PA4 Reference Manual Rev 5 08 2017 232 NXP Semiconductors ...
Page 258: ...FTM Interrupts MC9S08PA4 Reference Manual Rev 5 08 2017 258 NXP Semiconductors ...
Page 294: ...Functional description MC9S08PA4 Reference Manual Rev 5 08 2017 294 NXP Semiconductors ...
Page 398: ...Resets MC9S08PA4 Reference Manual Rev 5 08 2017 398 NXP Semiconductors ...
Page 400: ...MC9S08PA4 Reference Manual Rev 5 08 2017 400 NXP Semiconductors ...