CAUTION
An EEPROM byte or flash longword must be in the erased state
before being programmed. Cumulative programming of bits
within an EEPROM byte or flash longword is not allowed.
4.5.2.9.1 Erase verify all blocks command
The erase verify all blocks command will verify that all flash and EEPROM blocks have
been erased.
Table 4-19. Erase verify all blocks command FCCOB requirements
CCOBIX[2:0]
NVM_FCCOBHI parameters
NVM_FCCOBLO parameters
000
0x01
Not required
Upon clearing NVM_FSTAT[CCIF] to launch the erase verify all blocks command, the
memory controller will verify that the entire flash memory space is erased. The
NVM_FSTAT[CCIF] flag will set after the erase verify all blocks operation has
completed. If all blocks are not erased, it means blank check failed and both
NVM_FSTAT[MGSTAT] bits will be set.
Table 4-20. Erase verify all blocks command error handling
Register
Error bit
Error condition
NVM_FSTAT
ACCERR
Set if CCOBIX[2:0] != 000 at command launch
FPVIOL
None
MGSTAT1
Set if any errors have been encountered during the read
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.2 Erase verify block command
The erase verify block command allows the user to verify that an entire flash or
EEPROM block has been erased. The FCCOB global address [23:0] bits determine which
block must be verified.
Table 4-21. Erase verify block command FCCOB requirements
CCOBIX[2:0]
NVM_FCCOBHI parameters
NVM_FCCOBLO parameters
000
0x02
Global address [23:16] to identify Flash block
001
Global address [15:0] in flash block to be verified
Chapter 4 Memory map
MC9S08PA4 Reference Manual, Rev. 5, 08/2017
NXP Semiconductors
73
Содержание MC9S08PA4
Страница 1: ...MC9S08PA4 Reference Manual Supports MC9S08PA4 Document Number MC9S08PA4RM Rev 5 08 2017 ...
Страница 2: ...MC9S08PA4 Reference Manual Rev 5 08 2017 2 NXP Semiconductors ...
Страница 22: ...MC9S08PA4 Reference Manual Rev 5 08 2017 22 NXP Semiconductors ...
Страница 28: ...System clock distribution MC9S08PA4 Reference Manual Rev 5 08 2017 28 NXP Semiconductors ...
Страница 150: ...Port data registers MC9S08PA4 Reference Manual Rev 5 08 2017 150 NXP Semiconductors ...
Страница 196: ...Human machine interfaces HMI MC9S08PA4 Reference Manual Rev 5 08 2017 196 NXP Semiconductors ...
Страница 224: ...Instruction Set Summary MC9S08PA4 Reference Manual Rev 5 08 2017 224 NXP Semiconductors ...
Страница 232: ...Functional Description MC9S08PA4 Reference Manual Rev 5 08 2017 232 NXP Semiconductors ...
Страница 258: ...FTM Interrupts MC9S08PA4 Reference Manual Rev 5 08 2017 258 NXP Semiconductors ...
Страница 268: ...Initialization application information MC9S08PA4 Reference Manual Rev 5 08 2017 268 NXP Semiconductors ...
Страница 294: ...Functional description MC9S08PA4 Reference Manual Rev 5 08 2017 294 NXP Semiconductors ...
Страница 370: ...Memory map and register description MC9S08PA4 Reference Manual Rev 5 08 2017 370 NXP Semiconductors ...
Страница 398: ...Resets MC9S08PA4 Reference Manual Rev 5 08 2017 398 NXP Semiconductors ...
Страница 400: ...MC9S08PA4 Reference Manual Rev 5 08 2017 400 NXP Semiconductors ...