User manual
Tamarisk
®
320
Software ICD
17
Item Length (in bytes) Conversion from raw bytes
Detector Part Number 20 Part Number = string(data[94:113])
Detector Serial Number 20 Serial Number = string(data[114:133])
2.7 CAMERA DATA UPLOAD
If the Tamarisk
®
320
camera is integrated in a system there may be occasions an embedded firmware
or embedded hardware programs could require an update. Customers that desire supporting that
update through their software or hardware would follow the upload procedure described below:
An upload to the TIM is initiated by the CU (connected with the “Data Transfer Upload Setup”
message (0x74). This messages has 9, 16-bit parameters (18 bytes total). The parameters identify
the device, region, range, size and CRC of the upload (see Figure 2).
Figure 2– Upload to TIM Message Sequence Diagram
The TIM checks the size and region parameters and, if acceptable, responds with an ACK and
setup response. The setup response message has the same command ID as the setup message
(0x74) and has 3, 16-bit parameters.
The CU then begins sending packets to the TIM using “Data Transfer Upload Packet” messages
(0x72). Each packet message carries a payload whose size is always an even number of bytes. The
payload packet contains a packet number (16-bits) and packet payload bytes. Payload size has
CU
TIM
0x74 (18)
0x02 (2)
0x74 (3)
0x72 (244)
0x72 (244)
…
0x72 (244)
0x72 (4)
0x72 (4)
…
0x72 (244)
0x72 (202)
0x72 (4)
0x72 (244)
Upload
Setup
ACK
Upload Packet
Upload
Packet
Upload Packet
Pause
Resume
Upload Packet
Upload Packet
Upload Packet
Upload Setup
Sector Burning (8)
Burning Complete (9)
Sector Burning (8)
0x72 (4)
Transfer Complete (10)
Flash
Sector
Flash
Sector