Program Once Command - NXP Semiconductors MC9S08SU16 Reference Manual

Table of Contents

Advertisement

Table 11-20. Program Flash command error handling (continued)
Register
1. As defined by the memory map of NVM.

11.3.10.6 Program Once command

The Program Once command restricts programming to a reserved 64-byte field (8
phrases) in the nonvolatile information register located in flash. The program once
reserved field can be read using the read once command as described in
command. The program once command must be issued only once because the nonvolatile
information register in flash cannot be erased. To avoid code runaway, the program once
command must not be executed from the flash block containing the program once
reserved field.
Table 11-21. Program Once command FCCOB requirements
CCOBIX[2:0]
000
001
010
011
100
101
Upon clearing FSTAT[CCIF] to launch the program once command, the memory
controller first verifies that the selected phrase is erased. If erased, then the selected
phrase will be programmed and then verified with read back. The FSTAT[CCIF] flag will
remain clear, setting only after the program once operation has completed.
The reserved nonvolatile information register accessed by the Program Once command
cannot be erased, and any attempt to program one of these phrases a second time will not
be allowed. Valid phrase index values for the program once command range from 0x0000
to 0x0007. During execution of the program once command, any attempt to read
addresses within flash will return invalid data.
NXP Semiconductors
Error bit
Error condition
Set if a misaligned longword address is supplied (global address [1:0] !=
00)
Set if the requested group of words breaches the end of the flash block.
FPVIOL
Set if the global address [23:0] points to a protected data
MGSTAT1
Set if any errors have been encountered during the verify operation
MGSTAT0
Set if any errors have been encountered during the verify operation
0x07
Program Once phrase index (0x000 – 0x0007)
MC9S08SU16 Reference Manual, Rev. 5, 4/2017
Chapter 11 Flash Memory Module (FTMRH)
FCCOB parameters
Not required
Program once Word 0 value
Program once Word 1value
Program once Word 2 value
Program once Word 3 value
Read once
173

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mc9s08su16vfkMc9s08su8vfk

Table of Contents