Erase Verify All Blocks Command - NXP Semiconductors MC9S08SU16 Reference Manual

Table of Contents

Advertisement

If a flash block is read during the execution of an algorithm (FSTAT[CCIF] = 0) on that
same block, the read operation will return invalid data.
If FSTAT[ACCERR] or FSTAT[FPVIOL] are set, the user must clear these fields before
starting any command write sequence.
An flash longword must be in the erased state before being
programmed. Cumulative programming of bits within an flash
longword is not allowed.

11.3.10.1 Erase Verify All Blocks command

The Erase Verify All Blocks command will verify that all flash blocks have been erased.
Table 11-11. Erase Verify All Blocks command FCCOB requirements
CCOBIX[2:0]
000
Upon clearing FSTAT[CCIF] to launch the Erase Verify All Blocks command, the
memory controller will verify that the entire flash memory space is erased. The
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 FSTAT[MGSTAT] bits will
be set.
Table 11-12. Erase verify all blocks command error handling
Register
FSTAT
1. As found in the memory map for NVM
11.3.10.2 Erase Verify Block command
The Erase Verify Block command allows the user to verify that an entire flash block has
been erased. The FCCOB global address [23:0] bits determine which block must be
verified.
NXP Semiconductors
CAUTION
FCCOBHI parameters
0x01
Error bit
Error condition
ACCERR
Set if CCOBIX[2:0] != 000 at command launch
FPVIOL
None
Set if any errors have been encountered during the read
MGSTAT1
failed
Set if any errors have been encountered during the read or if blank check
MGSTAT0
failed
MC9S08SU16 Reference Manual, Rev. 5, 4/2017
Chapter 11 Flash Memory Module (FTMRH)
FCCOBLO parameters
Not required
1
or if blank check
169

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc9s08su16vfkMc9s08su8vfk

Table of Contents