Erase All Blocks Command - NXP Semiconductors MC9S08SU16 Reference Manual

Table of Contents

Advertisement

Functional description
Table 11-22. Program Once ommand error handling
Register
FSTAT
1. If a program once phrase is initially programmed to 0xFFFF_FFFF_FFFF_FFFF, the program once command will be
allowed to execute again on that same phrase.

11.3.10.7 Erase All Blocks command

The Erase All Blocks operation will erase the entire flash memory space.
Table 11-23. Erase All Blocks command FCCOB requirements
CCOBIX[2:0]
000
Upon clearing FSTAT[CCIF] to launch the Erase All Blocks command, the memory
controller will erase the entire NVM memory space and verify that it is erased. If the
memory controller verifies that the entire NVM memory space was properly erased,
security will be released. Therefore, the device is in unsecured state. During the execution
of this command (FSTAT[CCIF] = 0) the user must not write to any NVM module
register. The FSTAT[CCIF] flag will set after the erase all blocks operation has
completed.
Table 11-24. Erase All Blocks command error handling
Register
FSTAT
1. As found in the memory map for NVM.
174
Error bit
Error condition
Set if CCOBIX[2:0] != 101 at command launch
Set if command not available in current mode (see
ACCERR
Set if an invalid phrase index is supplied
Set if the requested phrase has already been programmed
FPVIOL
None
MGSTAT1
Set if any errors have been encountered during the verify operation
MGSTAT0
Set if any errors have been encountered during the verify operation
FCCOBHI parameters
0x08
Error bit
Error condition
Set if CCOBIX[2:0] ≠ 000 at command launch
ACCERR
Set if command not available in current mode (see
FPVIOL
Set if any area of the flash memory is protected
MGSTAT1
Set if any errors have been encountered during the verify operation
MGSTAT0
Set if any errors have been encountered during the verify operation
MC9S08SU16 Reference Manual, Rev. 5, 4/2017
Table
11-4)
1
FCCOBLO parameters
Not required
Table
11-4)
NXP Semiconductors
1
1

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc9s08su16vfkMc9s08su8vfk

Table of Contents