Erase Verify Flash Section Command - NXP Semiconductors MC9S08SU16 Reference Manual

Table of Contents

Advertisement

Functional description
Table 11-13. Erase Verify Block Command FCCOB requirements
CCOBIX[2:0]
000
001
Upon clearing FSTAT[CCIF] to launch the erase verify block command, the memory
controller will verify that the selected flash block is erased. The 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 FSTAT[MGSTAT] bits will be set.
Table 11-14. Erase Verify Block command error handling
Register
FSTAT
1. As found in the memory map for NVM

11.3.10.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 11-15. Erase verify flash section command FCCOB requirements
CCOBIX[2:0]
000
001
010
Upon clearing 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
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.
170
FCCOBHI parameters
0x02
Global address [15:0] in flash block to be verified
Error bit
Error condition
Set if CCOBIX[2:0] != 001 at command launch
ACCERR
Set if an invalid global address [23:0] is supplied
FPVIOL
None
Set if any errors have been encountered during the read or if blank check
MGSTAT1
failed
Set if any errors have been encountered during the read or if blank check
MGSTAT0
failed
FCCOBHI parameters
0x03
Global address [15:0] of the first longwords to be verified
Number of long words to be verified
MC9S08SU16 Reference Manual, Rev. 5, 4/2017
FCCOBLO parameters
Global address [23:16] to identify flash block
1
FCCOBLO parameters
Global address [23:16] of flash block
NXP Semiconductors

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc9s08su16vfkMc9s08su8vfk

Table of Contents