Unsecure Flash Command - NXP Semiconductors MC9S08SU16 Reference Manual

Table of Contents

Advertisement

Functional description
Table 11-28. Erase flash sector command error handling
Register
FSTAT
1. As defined by the memory map for NVM

11.3.10.10 Unsecure flash command

The unsecure flash command will erase the entire flash memory space, and if the erase is
successful, will release security.
Table 11-29. Unsecure flash command FCCOB requirements
CCOBIX[2:0]
000
Upon clearing FSTAT[CCIF] to launch the unsecure flash command, the memory
controller will erase the entire flash memory space and verify that it is erased. If the
memory controller verifies that the entire flash memory space was properly erased,
security will be released. If the erase verify is not successful, the unsecure flash operation
sets FSTAT[MGSTAT1] and terminates without changing the security state. During the
execution of this command (FSTAT[CCIF] = 0), the user must not write to any flash
module register. The FSTAT[CCIF] flag is set after the unsecure flash operation has
completed.
Table 11-30. Unsecure flash command error handling
Register
FSTAT
1. As found in the memory map for NVM
176
Error bit
Error condition
Set if CCOBIX[2:0] != 001 at command launch
Set if command not available in current mode (see
ACCERR
Set if an invalid global address [23:0] is supplied.
Set if a misaligned longword address is supplied (global address [1:0] !=
00)
FPVIOL
Set if the selected flash sector 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
0x0B
Error bit
Error condition
Set if CCOBIX[2:0] != 000 at command launch
ACCERR
Set if command is 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
FCCOB parameters
Not required
Table
11-4)
1
(see
Table
11-1)
Table
11-4)
1
1
NXP Semiconductors

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc9s08su16vfkMc9s08su8vfk

Table of Contents