PROGRAMMING STRINGS
11
3
The byte stream containing the configuration that is sent to the device is structured with a
4-byte header containing the total stream length, followed by a data_buffer section containing
the whole .dlcfg byte sequence, followed by a 4-byte CRC32 terminator storing the value
computed on the previous data_buffer sections content.
Length (4 bytes)
: specifies the number of bytes of the message (
Data CRC
field).
Data buffer
: the bytes of the file to transmit.
CRC
: the CRC32 checksum based on both
Data buffer
.
NOTES:
The data format used is
BIG ENDIAN
The
packet timeout during transmission is 10 seconds
: on timeout expiration
command is considered aborted
Only .dlcfg files
are allowed for upload
If the transmission is completed correctly, the device confirms with the following message:
ACK <LF>
If transmission is not initiated within 10 seconds, the device replies with the following
message:
Timeout! <LF>
If programming contents are wrong (i.e. file format, content or CRC error) or due to a
transmission error, the device replies with the following message:
NACK <LF>
After transmitting the reply message, the device then waits for another programming string or
the exit from host mode programming command.
NOTE:
The saved configuration will have the name you give the
configuration_name
parameter. Names can contain spaces and
are
case
sensitive. Do not include the extension.
If a configuration with the same name already exists in the device memory it
will be overwritten by the new file.
This command does not change the Current Configuration nor the Startup
Configuration. Use the appropriate commands to change it.
NOTE:
There is no Host Mode Programming command available for
downloading a configuration from a device.