Datasheet

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
1
U
2
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
MC9S08PA60 Reference Manual, Rev. 1, 9/2012
Freescale Semiconductor, Inc. 81