Novatel WAAS G-III User Manual page 131

Reference receiver
Table of Contents

Advertisement

Firmware Updates
6.4.2.1
Script Basics for Loading the Firmware Update File
The firmware update file contains all of the programming code that constitutes the new release of G-III
Reference Receiver firmware. This file is in ASCII hexadecimal and uses a modified implementation of the
S-Record format.
The example below shows a small S-Record format file.
S0~P~G3IOM
S0~D~G3IOM
S0~V~AW3MM0000RN0000
S0~T~APP
S31D0000000006E0A6E10100000028000000480008000000001CE001001CE3
S31D0000001850000000D0344D00710040107A18512D4733494F4D000000F9
S31D00000030000000000000000041505000000000000000000000000000D1
S50000
S70000
Each line within an S-Record format file is an individual S-Record.
To update the G-III Reference Receiver, all of the S-Records in the firmware update file must be loaded onto
the G-III Reference Receiver using the SOFTLOADSREC command. The SOFTLOADSREC command can
be used to load a single S-Record or multiple S-Records. The following shows an example of loading the small
S-Record file above using a SOFTLOADSREC command for each S-Record:
SOFTLOADSREC S0~P~G3IOM
SOFTLOADSREC S0~D~G3IOM
SOFTLOADSREC S0~V~AW3MM0000RN0000
SOFTLOADSREC S0~T~APP
SOFTLOADSREC S31D0000000006E0A6E10100000028000000480008000000001CE001001CE3
SOFTLOADSREC S31D0000001850000000D0344D00710040107A18512D4733494F4D000000F9
SOFTLOADSREC S31D00000030000000000000000041505000000000000000000000000000D1
SOFTLOADSREC S50000
SOFTLOADSREC S70000
The following shows an example of loading the small S-Record file using a SOFTLOADSREC command with
all of the S-Records in the file (there should only be one carriage return at the end and not between S-Records):
SOFTLOADSREC S0~P~G3IOMS0~D~G3IOMS0~V~AW3MM0000RN0000S0~T~APPS31D0000000006E0A6E10100000
028000000480008000000001CE001001CE3S31D0000001850000000D0344D00710040107A18512D4733494F4
D000000F9S31D00000030000000000000000041505000000000000000000000000000D1S50000S70000
The S-Record examples used in this chapter are extremely small files that could be manually loaded using the
command line. However, due to large number of S-Records in the firmware update file, it is not practical to
manually load the file from the command line. To improve speed and accuracy, a script is required to load all of
the S-Records in the firmware update file.
The basic structure of this script is:
1. Open the firmware update hex file.
2. Read the first line of the hex file. Ensure a carriage return is at the end of the line.
3. Use the contents of the line read to create a SOFTLOADSREC command.
4. Send the SOFTLOADSREC command to the G-III Reference Receiver through the Data port
(J02).
5. Verify that the receiver has responded with <OK.
6. Read the next line of the hex file. Ensure a carriage return is at the end of the line.
7. Use the contents of the line read to create a SOFTLOADSREC command.
WAAS G-III Reference Receiver User Manual Rev 1
Chapter 6
131

Advertisement

Table of Contents
loading

Table of Contents