EasyManua.ls Logo

NXP Semiconductors K22F series - Page 663

NXP Semiconductors K22F series
1407 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Table 29-12. Program Check Command Error Handling (continued)
Error Condition Error Bit
Flash address is not longword aligned FSTAT[ACCERR]
An invalid margin choice is supplied FSTAT[ACCERR]
Flash address is located in an XA controlled segment and the Erase All Blocks or the Read
1s All Blocks command has not successfully completed since the last reset
FSTAT[FPVIOL]
Either of the margin reads does not match the expected data FSTAT[MGSTAT0]
29.4.11.4 Read Resource Command
The Read Resource command allows the user to read data from special-purpose memory
resources located within the flash memory module. The special-purpose memory
resources available include program flash IFR space and the Version ID field. Each
resource is assigned a select code as shown in Table 29-14.
Table 29-13. Read Resource Command FCCOB Requirements
FCCOB Number FCCOB Contents [7:0]
0 0x03 (RDRSRC)
1 Flash address [23:16]
2 Flash address [15:8]
3 Flash address [7:0]
1
Returned Values
4 Read Data [31:24]
5 Read Data [23:16]
6 Read Data [15:8]
7 Read Data [7:0]
User-provided values
8 Resource Select Code (see Table 29-14)
1. Must be longword aligned (Flash address [1:0] = 00).
Table 29-14. Read Resource Select Codes
Resource
Select Code
Description Resource Size Local Address Range
0x00 Program Flash 0 IFR 256 Bytes 0x00_0000–0x00_00FF
0x01
1
Version ID 8 Bytes 0x00_0000–0x00_0007
1. Located in program flash 0 reserved space.
Chapter 29 Flash Memory Module (FTFA)
K22F Sub-Family Reference Manual, Rev. 4, 08/2016
NXP Semiconductors 663

Table of Contents

Related product manuals