37
Serial/Ethernet/USB Communication (SCOM) Interface
IND100084-18
SCOM Section: ECDIS
Commands for downloading ECDIS Color Table files (if stored in memory and performed by factory).
"DLN" - Download package
This command shall be sent to request a specific data packet stored in the microcontroller. The DATA field shall
contain the packet number being requested; the byte in the DATA field represents a hexadecimal word (00 to FF)
identifying the block of data to be downloaded. The total number of packets available is found by issuing the "DL?"
command.
Byte #
0
1
2
3
4
5
6
7
8
0x07
0xFF
0x44
0x4C
0x4E
0x01
IHCHK DATA
IDCHK
DATA:
The packet number being requested.
If the data checksum and packet number is valid, the microcontroller shall reply to this command with an ACK
attention code, the hexadecimal packet number, a separator ('-'), and the ASCII packet data. The maximum DATA
field size for a packet of data shall be 32 bytes per message; therefore the DATA field in the reply shall be a maximum
length of 32 bytes. The DATA field of the message is not required to be of maximum length (it may be smaller than 32
bytes).
Example:
Requesting package 80 (active ECDIS table):
0x07
0xFF
0x44
0x4C
0x4E
0x01
0x1A
0x50
0xAF
Reply from unit is 1 byte of packet number (0x50), a separator '-' and Human Readable Text 'TEST'
0x06
0xFF
0x44
0x4C
0x4E
0x06
0x16
0x50
'-'
'T'
'E'
'S'
'T'
0x42
Active ECDIS table is stored first and can be read with only specifying the packed nr. To read from the other tables,
another byte is added for table nr. Active ECDIS table is determined by Calibration mode.
The DATA field shall contain the packet number being requested and table nr; the first byte in the DATA field
represents a hexadecimal entry (0x00 to 0xFF) identifying the block of data to be downloaded. The total number of
packets available is found by issuing the "DL?" command. The second byte in the DATA represents the table nr from
0-x.
Example:
Requesting package 80 of table 1:
0x07
0xFF
0x44
0x4C
0x4E
0x02
0x19
0x50
0x01
0xAE
Reply from unit is 1 byte of packet number (0x50), a separator '-' and Human Readable Text 'TEST'
0x06
0xFF
0x44
0x4C
0x4E
0x06
0x5F
0x50
'-'
'T'
'E'
'S'
'T'
0x42