Camera Link registers
18
Goldeye Camera Link Register Controls Reference V1.0.0
GenCP ReadMem Acknowledge Packet Layout
After the host sent a
ReadMem
command to the camera, the camera will reply with
a
ReadMem
Acknowledge
. The acknowledge consists of a single packet that is
described in the following tables.
Offset
[Bytes]
Size
[Bytes]
Name
Description
0
2
Preamble
Preamble that contains the bytes 0x01 and 0x00.
2
2
CCD
Checksum
16 bit checksum that is built over the channel_id and the CCD of
the packet. Note that this is
not
a classic CRC calculation as
suggested by the standard! Please refer to
Calculation Function on page 7-21
for more information.
4
2
SCD
Checksum
16 bit checksum that is built over channel_id, CCD and SCD of
the packet. Note that this is
not
a classic CRC calculation as
suggested by the standard! Please refer to
Calculation Function on page 7-21
for more information.
6
2
channel_id
This value is
0
for the communication channel.
Table 6: ReadMem Acknowledge packet layout - Subrange: Serial prefix
Offset
[Bytes]
Size
[Bytes]
Name
Description
8
2
status code
If =
0
, the
ReadMem
command was processed successfully.
If !=
0
, an error occurred. Please refer to the GenCP standard for
further details.
10
2
command_id
This value is
0x0801
for
ReadMem
acknowledges.
12
2
length
Defines the length of the SCD part of the packet. For
ReadMem
acknowledges, this value equals the payload data length in
bytes.
14
2
request_id
This is a packet identifier that reflects the request_id of the
ReadMem
command this acknowledge belongs to.
Table 7: ReadMem Acknowledge packet layout - Subrange: CCD
Offset
[Bytes]
Size
[Bytes]
Name
Description
16
length
payload
This is the payload data returned from the camera‘s register
map.
Table 8: ReadMem Command packet layout - Subrange: SCD