Datasheet

Upon clearing NVM_FSTAT[CCIF] to launch the erase verify that EEPROM section
command, the memory controller will verify the selected section of EEPROM memory is
erased. The NVM_FSTAT[CCIF] flag will set after the erase verify EEPROM section
operation has completed. If the section is not erased, which means that blank check
failed, both NVM_FSTAT[MGSTAT] bits will be set.
Table 4-46. Erase verify EEPROM section command error handling
Register Error bit Error condition
FSTAT
ACCERR
Set if CCOBIX[2:0] ≠ 010 at command launch
Set if command is not available in current mode (see Table 4-9)
Set if an invalid global address [23:0] is supplied
Set if the requested section breaches the end of the EEPROM block
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 it blank check failed.
4.5.2.9.14 Program EEPROM command
The program EEPROM operation programs one to four previously erased bytes in the
EEPROM block. The program EEPROM operation will confirm that the targeted
location(s) were successfully programmed upon completion.
Note
A EEPROM byte must be in the erased state before being
programmed. Cumulative programming of bits within a
EEPROM byte is not allowed.
Table 4-47. Program EEPROM command FCCOB requirements
CCOBIX[2:0] NVM_FCCOBHI parameters NVM_FCCOBLO parameters
000 0x11 Global address [23:16] to identify the EEPROM block
001 Global address [15:0] of the first word to be verified
010 Byte 0 program value
011 Byte 1 program value, if desired
100 Byte 2 program value, if desired
101 Byte 3 program value, if desired
Chapter 4 Memory map
MC9S08PA60 Reference Manual, Rev. 1, 9/2012
Freescale Semiconductor, Inc. 103