Program Once Command - NXP Semiconductors freescale KV4 Series Reference Manual

Table of Contents

Advertisement

32.4.10.8 Program Once Command

The Program Once command enables programming to special 96-byte fields in the
program flash 0 IFR (see
the Program Once ID field is via 16 records (index values 0x00 - 0x0F), each 4 bytes
long. Access to the Program Once XACC and SACC fields are via 4 records (index
values 0x10 - 0x13), each of which is 8 bytes long. These records can be read using the
Read Once command (see
(see
Read Resource
Command). These records can be programmed only once since the
program flash 0 IFR cannot be erased.
Table 32-63. Program Once Command FCCOB Requirements
FCCOB Number
0
1
2
3
4
5
6
7
8
9
10
11
After clearing CCIF to launch the Program Once command, the flash memory module
first verifies that the selected record is erased. If erased, then the selected record is
programmed using the values provided. The Program Once command also verifies that
the programmed values read back correctly. The CCIF flag is set after the Program Once
operation has completed.
Any attempt to program one of these records when the existing value is not Fs (erased) is
not allowed. Valid record index values for the Program Once command range from 0x00
- 0x13. During execution of the Program Once command, any attempt to read addresses
within the program flash block containing the selected record index returns invalid data.
Table 32-64. Program Once Command Error Handling
Error Condition
Command not available in current mode/security
An invalid record index is supplied
The requested record has already been programmed to a non-FFFF value
Freescale Semiconductor, Inc.
Program Flash IFR Map
Read Once
Command) or using the Read Resource command
FCCOB Contents [7:0]
Program Once record index (0x00 - 0x13)
Program Once byte 0 value
Program Once byte 1 value
Program Once byte 2 value
Program Once byte 3 value
Program Once byte 4 value (index 0x10 - 0x13)
Program Once byte 5 value (index 0x10 - 0x13)
Program Once byte 6 value (index 0x10 - 0x13)
Program Once byte 7 value (index 0x10 - 0x13)
Table continues on the next page...
KV4x Reference Manual, Rev. 2, 02/2015
Preliminary
Chapter 32 Flash Memory Module (FTFA)
and
Program Once
0x43 (PGMONCE)
Not Used
Not Used
1
Field). Access to
Error Bit
FSTAT[ACCERR]
FSTAT[ACCERR]
FSTAT[ACCERR]
645

Advertisement

Table of Contents
loading

Table of Contents