Novatel OM-20000141 Model Vehicle User Manual


 
50 SPAN-IGM User Manual Rev 2
Chapter 6 NovAtel Firmware and Software
5. Send each line of the *.SHEX file to the receiver in a SOFTLOADSREC command. The S-Records
must be enclosed by quotation marks:
SOFTLOADSREC "<S-RECORD>"
6. Send the SOFTLOADCOMMIT command.
7. During the loading process, SOFTLOADSTATUSA logs report the load status. Wait for the
SOFTLOADSTATUSA to indicate loading is COMPLETE.
8. Reset the receiver by entering RESET, FRESET or power cycling.
9. Once the receiver resets, the new version of firmware is active.
6.4.1 Working with S-Records
Records beginning with S0, S5 and S7 should be passed to the receiver directly using the
SOFTLOADSREC command. These records contain meta data about the firmware image.
Records beginning with S3 form the actual firmware image and can be converted to
SOFTLOADDATA binary commands. Aside from the header, each pair of characters forms the
ASCII representation of binary byte. The format is as follows:
Multiple S3 records can be packaged into a single SOFTLOADDATA command as long as the data
from one S3 record follows immediately after the previous record, up to a maximum of 4096
bytes of data. That is, the address must equal the previous address plus the previous data
length. The "offset" field remains the address of the first S3 record and the "data" and "data
length" are updated to include the new data.
The shex file data may contain many gaps and jumps. For example, in most NovAtel shex files
data for address 0x000_00000 is stored near the very end of the file.
To significantly decrease data transfer time, NovAtel recommends creating a batch file to
automatically send each line of SOFTLOADSREC. Contact NovAtel Customer Support
for
assistance creating SoftLoad batch files.
Signature authorization codes are maintained internally by the receiver and do not need
to be re-entered. Refer to Authorization Code on page 46 for details on obtaining any
authorization code.
The SoftLoad process can be cancelled safely at any time during the process using the
RESET command.
S3 LL AAAAAAAA DDDDDDDD...DDDDDDDD CC
Check Sum. One's compliment of all other
bytes
Little Endian Data. These bytes are copied into the "data" field of the
SOFTLOADDATA command
4 - Byte Address. Set this as the value of "offset" in the SOFTLOADDATA command
Length.This is the hexadecimal number of character pairs to follow in the record. This value minus 4 bytes
for the address and 1 byte for the check sum is copied into the "data length" field of the SOFTLOADDATA
command
Header