Table 13-34. FlashReadOnce Response Format (Example) (continued)
FlashReadOnce
Response
Parameter Value
length 0x10 0x00
crc 0x3F 0x6F
Command packet commandTag 0xAF
flags 0x00
reserved 0x00
parameterCount 0x03
status 0x0000_0000
byteCount 0x0000_0004
data 0x1234_5678
Response: upon successful execution of the command, the target (Kinetis Flashloader)
will return a FlashReadOnceResponse packet with a status code set to kStatus_Success, a
byte count and corresponding data read from Program Once Field upon successful
execution of the command, or will return with a status code set to an appropriate error
status code and a byte count set to 0.
13.3.6.9
FlashReadResource command
The FlashReadResource command returns the contents of the IFR field or Flash firmware
ID, by given offset, byte count, and option. The FlashReadResource command uses 3
parameters: start address, byteCount, option.
Table 13-35. Parameters for FlashReadResource Command
Byte # Parameter Command
0 - 3 start address Start address of specific non-volatile memory to be read
4 - 7 byteCount Byte count to be read
8 - 11 option 0: IFR
1: Flash firmware ID
Functional Description
K22F Sub-Family Reference Manual, Rev. 4, 08/2016
320 NXP Semiconductors