Datasheet

1. Global address [23] selects between flash (0) or EEPROM (1) block, that can otherwise eventually share the same
address on the MCU global memory map.
Upon clearing NVM_FSTAT[CCIF] to launch the erase verify block command, the
memory controller will verify that the selected flash or EEPROM block is erased. The
NVM_FSTAT[CCIF] flag will set after the erase verify block operation has completed. If
the block is not erased, it means blank check failed and both NVM_FSTAT[MGSTAT]
bits will be set.
Table 4-23. Erase verify block command error handling
Register Error bit Error condition
FSTAT
ACCERR
Set if CCOBIX[2:0] != 000 at command launch
Set if an invalid global address [23:0] is supplied
1
FPVIOL None
MGSTAT1
Set if any errors have been encountered during the read or if blank check
failed
MGSTAT0
Set if any non-correctable errors have been encountered during the read
or if blank check failed
1. As found in the memory map for NVM
4.5.2.9.3 Erase verify flash section command
The erase verify flash section command will verify that a section of code in the flash
memory is erased. The erase verify flash section command defines the starting point of
the code to be verified and the number of longwords.
Table 4-24. Erase verify flash section command FCCOB requirements
CCOBIX[2:0] NVM_FCCOBHI parameters NVM_FCCOBLO parameters
000 0x03 Global address [23:16] of flash block
001 Global address [15:0] of the first longwords to be verified
010 Number of long words to be verified
Upon clearing NVM_FSTAT[CCIF] to launch the erase verify flash section command,
the memory controller will verify that the selected section of flash memory is erased. The
NVM_FSTAT[CCIF] flag will set after the erase verify flash section operation has
completed. If the section is not erased, it means blank check failed and both
FSTAT[MGSTAT] bits will be set.
Chapter 4 Memory map
MC9S08PA60 Reference Manual, Rev. 1, 9/2012
Freescale Semiconductor, Inc. 93