Table 4-30. Program once command error handling
Register
Error bit
Error condition
FSTAT
ACCERR
Set if CCOBIX[2:0] != 101 at command launch
Set if command not available in current mode (see
)
Set if an invalid phrase index is supplied
Set if the requested phrase has already been programmed
FPVIOL
None
MGSTAT1
Set if any errors have been encountered during the verify operation
MGSTAT0
Set if any non-correctable errors have been encountered during the verify
operation
1. If a program once phrase is initially programmed to 0xFFFF_FFFF_FFFF_FFFF, the program once command will be
allowed to execute again on that same phrase.
4.5.2.9.7 Erase all blocks command
The erase all blocks operation will erase the entire flash and EEPROM memory space.
Table 4-31. Erase all blocks command FCCOB requirements
CCOBIX[2:0]
NVM_FCCOBHI parameters
NVM_FCCOBLO parameters
000
0x08
Not required
Upon clearing NVM_FSTAT[CCIF] to launch the erase all blocks command, the
memory controller will erase the entire NVM memory space and verify that it is erased. If
the memory controller verifies that the entire NVM memory space was properly erased,
security will be released. Therefore, the device is in unsecured state. During the execution
of this command (NVM_FSTAT[CCIF] = 0) the user must not write to any NVM module
register. The NVM_FSTAT[CCIF] flag will set after the erase all blocks operation has
completed.
Table 4-32. Erase all blocks command error handling
Register
Error bit
Error condition
NVM_FSTAT
ACCERR
Set if CCOBIX[2:0] ≠ 000 at command launch
Set if command not available in current mode (see
)
FPVIOL
Set if any area of the flash or EEPROM memory is protected
MGSTAT1
Set if any errors have been encountered during the verify operation
MGSTAT0
Set if any non-correctable errors have been encountered during the verify
operation
1. As found in the memory map for NVM
Flash and EEPROM
MC9S08PA4 Reference Manual, Rev. 5, 08/2017
78
NXP Semiconductors
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 ...