
Table 13-32. Parameters for FlashReadOnce Command
Byte #
Parameter
Description
0 - 3
index
Index of the program once field (to read from)
4 - 7
byteCount
Number of bytes to read and return to the caller
Process command
Host
Target
FlashReadOnce: index=0, byteCount=4
ACK:
0x5a a1
ACK:
0x5a a1
Generic Response:
0x5a a4 0c 00 c1 a5 0f 00 00 02 00 00 00 00 04 00 00 00
0x5a a4 10 00 3f 6f af 00 00 03 00 00 00 00 04 00 00 00 78 56 34 12
Figure 13-13. Protocol Sequence for FlashReadOnce Command
Table 13-33. FlashReadOnce Command Packet Format (Example)
FlashReadOnce
Parameter
Value
Framing packet
start byte
0x5A
packetType
0xA4
length
0x0C 0x00
crc
0xC1 0xA5
Command packet
commandTag
0x0F – FlashReadOnce
flags
0x00
reserved
0x00
parameterCount
0x02
index
0x0000_0000
byteCount
0x0000_0004
Table 13-34. FlashReadOnce Response Format (Example)
FlashReadOnce
Response
Parameter
Value
Framing packet
start byte
0x5A
packetType
0xA4
Table continues on the next page...
Chapter 13 Kinetis Flashloader
K22F Sub-Family Reference Manual, Rev. 4, 08/2016
NXP Semiconductors
319
Summary of Contents for K22F series
Page 2: ...K22F Sub Family Reference Manual Rev 4 08 2016 2 NXP Semiconductors...
Page 168: ...Module clocks K22F Sub Family Reference Manual Rev 4 08 2016 168 NXP Semiconductors...
Page 258: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 258 NXP Semiconductors...
Page 292: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 292 NXP Semiconductors...
Page 398: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 398 NXP Semiconductors...
Page 750: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 750 NXP Semiconductors...
Page 816: ...Application information K22F Sub Family Reference Manual Rev 4 08 2016 816 NXP Semiconductors...
Page 890: ...Application information K22F Sub Family Reference Manual Rev 4 08 2016 890 NXP Semiconductors...
Page 1302: ...Application information K22F Sub Family Reference Manual Rev 4 08 2016 1302 NXP Semiconductors...
Page 1374: ...Functional description K22F Sub Family Reference Manual Rev 4 08 2016 1374 NXP Semiconductors...