Datasheet

The reserved nonvolatile information register accessed by the program once command
cannot be erased, and any attempt to program one of these phrases a second time will not
be allowed. Valid phrase index values for the program once command range from 0x0000
to 0x0007. During execution of the program once command, any attempt to read
addresses within flash will return invalid data.
Table 4-31. 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 Table 4-9)
Set if an invalid phrase index is supplied
Set if the requested phrase has already been programmed
1
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-32. 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.
Chapter 4 Memory map
MC9S08PA60 Reference Manual, Rev. 1, 9/2012
Freescale Semiconductor, Inc. 97