Camera Link registers
20
Goldeye Camera Link Register Controls Reference V1.0.0
GenCP WriteMem Acknowledge Packet Layout
After the host sent a
WriteMem
command to the camera, the camera will reply with
a
WriteMem 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 12: WriteMem Acknowledge packet layout - Subrange: Serial prefix
Offset
[Bytes]
Size
[Bytes]
Name
Description
8
2
status_code
If =
0
, the
WriteMem
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
0x0803
for
WriteMem
acknowledges.
12
2
length
Defines the length of the SCD part of the packet. For
WriteMem
acknowledges, this value is set to 4.
14
2
request_id
This is a packet identifier that reflects the request_id of the
WriteMem
format this acknowledge belongs to.
Table 13: WriteMem Acknowledge packet layout - Subrange: CCD
Offset
[Bytes]
Size
[Bytes]
Name
Description
16
2
reserved
Always
0
.
18
2
length written This field defines, how many bytes of the related
WriteMem
command payload were written. This value is smaller or equal to
the length field of the related
WriteMem
format.
Table 14: WriteMem Acknowledge packet layout - Subrange: SCD