Erase Flash Block Command - NXP Semiconductors MC9S08SU16 Reference Manual

Table of Contents

Advertisement

11.3.10.8 Erase flash block command

The erase flash block operation will erase all addresses in a flash block.
Table 11-25. Erase flash block command FCCOB requirements
CCOBIX[2:0]
000
001
Upon clearing FSTAT[CCIF] to launch the erase flash block command, the memory
controller will erase the selected flash block and verify that it is erased. The
FSTAT[CCIF] flag will set after the erase flash block operation has completed.
Table 11-26. Erase flash block command error handling
Register
FSTAT
1. As defined by the memory map for NVM.
2. As found in the memory map for NVM.
11.3.10.9 Erase flash sector command
The erase flash sector operation will erase all addresses in a flash sector.
Table 11-27. Erase flash sector command FCCOB requirements
CCOBIX[2:0]
000
001
Upon clearing FSTAT[CCIF] to launch the erase flash sector command, the memory
controller will erase the selected flash sector and then verify that it is erased. The
FSTAT[CCIF] flag will be set after the erase flash sector operation has completed.
NXP Semiconductors
0x09
Global address[15:0] in flash block to be erased
Error Bit
Error Condition
Set if CCOBIX[2:0] != 001 at command launch
ACCERR
Set if command not available in current mode (see
Set if an invalid global address [23:0] is supplied
FPVIOL
Set if an area of the selected flash block 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
0x0A
Global address [15:0] anywhere within the sector to be erased. Refer to
MC9S08SU16 Reference Manual, Rev. 5, 4/2017
Chapter 11 Flash Memory Module (FTMRH)
FCCOB parameters
Global address [23:16] to identify flash block
FCCOB parameters
Global address [23:16] to identify flash block to be erased
sector size
Table
11-4)
1
2
2
Overview
for the flash
175

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc9s08su16vfkMc9s08su8vfk

Table of Contents