Program Longword Command - NXP Semiconductors freescale KV4 Series Reference Manual

Table of Contents

Advertisement

Functional Description
Table 32-51. Read Resource Command FCCOB Requirements (continued)
FCCOB Number
7
8
1. Must be longword aligned (Flash address [1:0] = 00).
Resource
Select Code
0x00
1
0x01
1. Located in program flash 0 reserved space.
After clearing CCIF to launch the Read Resource command, four consecutive bytes are
read from the selected resource at the provided relative address and stored in the FCCOB
register. The CCIF flag sets after the Read Resource operation completes. The Read
Resource command exits with an access error if an invalid resource code is provided or if
the address for the applicable area is out-of-range.
Table 32-53. Read Resource Command Error Handling
Error Condition
Command not available in current mode/security
An invalid resource code is entered
Flash address is out-of-range for the targeted resource.
Flash address is not longword aligned

32.4.10.4 Program Longword Command

The Program Longword command programs four previously-erased bytes in the program
flash memory using an embedded algorithm.
A flash memory location must be in the erased state before
being programmed. Cumulative programming of bits (back-to-
back program operations without an intervening erase) within a
flash memory location is not allowed. Re-programming of
existing 0s to 0 is not allowed as this overstresses the device.
638
User-provided values
Resource Select Code (see
Table 32-52. Read Resource Select Codes
Description
Program Flash 0 IFR
Version ID
CAUTION
KV4x Reference Manual, Rev. 2, 02/2015
Preliminary
FCCOB Contents [7:0]
Read Data [7:0]
Table
32-52)
Resource Size
256 Bytes
8 Bytes
Local Address Range
0x00_0000–0x00_00FF
0x00_0000–0x00_0007
Error Bit
FSTAT[ACCERR]
FSTAT[ACCERR]
FSTAT[ACCERR]
FSTAT[ACCERR]
Freescale Semiconductor, Inc.

Advertisement

Table of Contents
loading

Table of Contents