
1
0x5A A
Host
Target
Generic Response
:
Data packet:
Final Data packet
ACK
Generic Response
0x5A A4 0C 00 A0 0E 04 01 00 02 00 04 00 20 40 00 00 00
0x5A A4 0C 00 06 5A 04 00 00 02 00 04 00 20 64 00 00 00
0x5A A4 0C 00 23 72 A0 00 00 02 00 00 00 00 04 00 00 00
0x5A A5 length16 CRC16 32 bytes data
0x5A A5 20 00 CRC16 32 bytes data
ACK: 0x5A A1
ACK: 0x5A A1
ACK: 0x5A A1
ACK: 0x5A A1
WriteMemory: startAddress=0x20000400, byteCount=0x64
Process
Command
Process
Data
Process
Data
Figure 14-19. Protocol Sequence for WriteMemory Command
Table 14-48. WriteMemory Command Packet Format (Example)
WriteMemory
Parameter
Value
Framing packet
start byte
0x5A
packetType
0xA4, kFramingPacketType_Command
length
0x0C 0x00
crc16
0x06 0x5A
Command packet
commandTag
0x04 - writeMemory
flags
0x00
reserved
0x00
parameterCount
0x02
startAddress
0x20000400
byteCount
0x00000064
Functional Description
K32 L2A Reference Manual, Rev. 2, 01/2020
290
NXP Semiconductors
Summary of Contents for K32 L2A Series
Page 2: ...K32 L2A Reference Manual Rev 2 01 2020 2 NXP Semiconductors...
Page 42: ...K32 L2A Reference Manual Rev 2 01 2020 42 NXP Semiconductors...
Page 122: ...Flash Memory Clock K32 L2A Reference Manual Rev 2 01 2020 122 NXP Semiconductors...
Page 158: ...Debug and security K32 L2A Reference Manual Rev 2 01 2020 158 NXP Semiconductors...
Page 174: ...Module Signal Description Tables K32 L2A Reference Manual Rev 2 01 2020 174 NXP Semiconductors...
Page 246: ...Application information K32 L2A Reference Manual Rev 2 01 2020 246 NXP Semiconductors...
Page 374: ...CMP Trigger Mode K32 L2A Reference Manual Rev 2 01 2020 374 NXP Semiconductors...
Page 384: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 384 NXP Semiconductors...
Page 592: ...Application Information K32 L2A Reference Manual Rev 2 01 2020 592 NXP Semiconductors...
Page 656: ...Functional Description K32 L2A Reference Manual Rev 2 01 2020 656 NXP Semiconductors...
Page 664: ...Functional Description K32 L2A Reference Manual Rev 2 01 2020 664 NXP Semiconductors...
Page 744: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 744 NXP Semiconductors...
Page 762: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 762 NXP Semiconductors...
Page 806: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 806 NXP Semiconductors...
Page 868: ...Integer square root K32 L2A Reference Manual Rev 2 01 2020 868 NXP Semiconductors...
Page 976: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 976 NXP Semiconductors...
Page 1012: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1012 NXP Semiconductors...
Page 1094: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1094 NXP Semiconductors...
Page 1132: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1132 NXP Semiconductors...
Page 1182: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1182 NXP Semiconductors...
Page 1290: ...Functional description K32 L2A Reference Manual Rev 2 01 2020 1290 NXP Semiconductors...