Information

Table 28-42. Program Check Command Error Handling
Error Condition Error Bit
Command not available in current mode/security FSTAT[ACCERR]
An invalid flash address is supplied FSTAT[ACCERR]
Flash address is not longword aligned FSTAT[ACCERR]
An invalid margin choice is supplied FSTAT[ACCERR]
Either of the margin reads does not match the expected data FSTAT[MGSTAT0]
28.4.12.4 Read Resource Command
The Read Resource command allows the user to read data from special-purpose memory
resources located within the FTFL module. The special-purpose memory resources
available include program flash IFR space, data flash IFR space, and the Version ID
field. Each resource is assigned a select code as shown in Table 28-44.
Table 28-43. 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 28-44)
1. Must be longword aligned (Flash address [1:0] = 00).
Table 28-44. Read Resource Select Codes
Resource
Select Code
1
Description Resource Size Local Address Range
0x00 IFR 256 Bytes 0x0000 - 0x00FF
0x01
2
Version ID 8 Bytes 0x0000 - 0x0007
1. Flash address [23] selects between program flash (=0) and data flash (=1) resources.
2. Located in program flash 0 reserved space; Flash address [23] = 0
Chapter 28 Flash Memory Module (FTFL)
K10 Sub-Family Reference Manual, Rev. 6, Nov 2011
Freescale Semiconductor, Inc. 649