Tamarisk
®
640
Software ICD
20
7
Illegal Size. Size of upload does not agree with expected size. Setup failed.
2.7.2 Data Transfer Upload Packet – 0x72
This message is used as both a command to the TIM and a response to the CU.
Description
: Carries data to be uploaded to the TIM. The response provides flow control
and error notification to CU.
Command Format:
As a command, this message carries payload data for a data transfer upload to the TIM
from the CU. The message contains a 16-bit, unsigned, zero-based packet number followed
by payload bytes. Following the payload bytes is a 16-bit packet CRC. The number of
payload bytes will vary but the entire message must be less than the MTU size.
Table 22 – Data Transfer Upload Packet Command Format
Byte
Value
Description
1
0x01
Start of message.
2
0x72
Data Transfer Upload Setup Command ID.
3
N
Parameters length.
4, 5
Unsigned integer
Packet number. First packet is 0.
6 to
(N+1)
(any)
Packet payload. The number of bytes in this array varies.
These are a portion of the bytes of the payload object being
sent to the TIM.
(N+2),
(N+3)
Unsigned Integer
Packet CRC
(N+4)
checksum
Frame check sequence.
Response Format:
Table 23 – Data Transfer Upload Packet Response Format
Byte
Value
Description
1
0x01
Start of message.
2
0x72
Data Transfer Upload Setup Command ID.
3
0x06
Parameters length.
4, 5
unsigned integer
Response ID. See table below.
6, 7
unsigned integer
Packet number. First packet is 0.
8
checksum
Frame check sequence.