Flash Command Summary - NXP Semiconductors MC9S08SU16 Reference Manual

Table of Contents

Advertisement

Functional description
being read (i.e. the commands must not be executed if the core
is fetching code from the flash). If the core attempts to read the
flash while any command is running that may result in an
illegal access. Refer to
FCMD
Command
0x01
Erase Verify All Blocks
0x02
Erase Verify Block
0x03
Erase Verify Flash Section
0x04
Read Once
0x06
Program Flash
0x07
Program Once
0x08
Erase All Block
0x09
Erase Flash Block
0x0A
Erase Flash Sector
0x0B
Unsecure Flash
0x0C
Verify Backdoor Access key
0x0D
Set User Margin Level
0x0E
Set Factory Margin Level

11.3.10 Flash command summary

This section provides details of all available flash commands launched by a command
write sequence. The FSTAT[ACCERR] will be set during the command write sequence if
any of the following illegal steps are performed, causing the command not to be
processed by the memory controller:
• Starting any command write sequence that programs or erases flash memory before
initializing the FLCKDIV register.
• Writing an invalid command as part of the command write sequence.
• For additional possible errors, refer to the error handling table provided for each
command.
168
Flash block read access
Table 11-10. Flash commands
Function on flash memory
Verifies that all flash blocks are erased
Verifies that a flash block is erased
Verifies that a given number of words starting at the address provided are erased
Reads a dedicated 64-byte field in the nonvolatile information register in flash
block that was previously programmed using the program once command
Programs up to two longwords in a flash block
Programs a dedicated 64 byte field in the nonvolatile information register in flash
block that is allowed to be programmed only once
Erases all flash blocks
An erase of all flash blocks is possible only when the FPROT[FPHDIS] and
FPROT[FPOEN] and the bit are set prior to launching the command
Erases a flash block
An erase of the full flash block is possible only when FPROT[FPHDIS] and
FPROT[FPOEN] are set prior to launching the command.
Erases all bytes in a flash sector
Supports a method of releasing MCU security by erasing all flash blocks and
verifying that all flash blocks are erased
Supports a method of releasing MCU security by verifying a set of security keys
Specifies a user margin read level for all flash blocks
Specifies a factory margin read level for all flash blocks
MC9S08SU16 Reference Manual, Rev. 5, 4/2017
for details.
NXP Semiconductors

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc9s08su16vfkMc9s08su8vfk

Table of Contents