User manual
Tamarisk
®
320
Software ICD
18
historically been 244 bytes. The packet number is a zero-based, integer count packets. It is used to
detect missing packets and to initiate retries.
At any time, the TIM may send a “Data Transfer Upload Packet” (0x72) message to the CU to
control the flow of packets or to indicate an error condition. This flow control message includes 2,
16-bit parameters. The first is a response ID and the second is a packet number. When the CU
receives the flow control message, it should respond as indicated in Table 24
At any time, the CU may send a “Data Transfer Abort” message (0x43). Upon receipt of this
message the TIM will reset its internal state machines and await a new setup message.
Following transmission of the last data packet, the TIM will send a flow control message with
ID=8 to indicate flash is being programmed followed by a flow control message with ID=10 to
indicate that the upload has been successful, the flash burn is complete, data transfer operations
will now cease.
2.7.1 Data Transfer Upload Setup – 0x74
This message is used as both a command to the TIM and a response to the CU.
Description: Sets up a transfer from the connected unit to the TIM.
Command Format:
Table 19 – Data Transfer Upload Setup Command Format
Byte Value Description
1 0x01 Start of message.
2 0x74 Data Transfer Upload Setup Command ID.
3 0x12 Parameters length.
4, 5 Unsigned integer 0x00, 0x00
6, 7
Unsigned integer
0x00, 0x01
8, 9
Unsigned integer
Software: 0x00, 0x0C FPGA:0x00, 0x0E
9, 10
Unsigned integer
0x00, 0x00
10, 11
Unsigned integer
0x00, 0x00
12, 13
Unsigned integer
0x00, 0x00
14, 17
Unsigned integer
Total size of transfer.
18, 19
Unsigned integer
CRC of entire transfer.
20 checksum Frame check sequence.
Response Format:
Table 20 – Data Transfer Upload Setup Response Format
Byte Value Description
1 0x01 Start of message.