Subid nb_resetrep message format, Gnss software loading sequence, Table 37: subid nb_resetrep format – NavCom Sapphire Rev.J User Manual

Page 69

Advertising
background image

Sapphire Technical Reference Manual Rev. J

69

1.19.3.16

SubID NB_ResetRep Message Format

SubID NB_ResetRep is sent from receiver to PC. It is the reply message for
NB_ResetCmd. Its format is defined in Table 37.

Table 37: SubID NB_ResetRep Format

Field

Data

Type

Value and Description

Function Type SubID

U08

Enum NB_ResetRep.

Pass or Fail

U08

1= pass, 0 = fail.

Valid count

U16

0

Address

U32

0

1.19.4 GNSS Software Loading Sequence

PC

Receiver Navigation Software

1. Send

“[BOOTLOADA] PING, BOOT1,
LOADSERIALBOOT1”
Or
“[BOOTLOADA] PING, BOOT2,
LOADSERIALBOOT2”

2. If GNSS board navigation software is running, it

decodes the command and replies with
“[BOOTLOADA]PING, NAV_PROG”.
Then it runs bootloader1 or bootloader2.
Bootloader1 and bootloader2 always run at the
default baud rate 57600.

If GNSS board bootloader1 or bootloader2 is
already running, the reply is NAK.

PC

Receiver Bootloader1 or Bootloader2

3. If received [BOOTLOADA] reply, go to step 4.

If received NAK, continue to send the
[BOOTLOADA] command 2 more times, then go
to step 4.

4. Change PC baud rate to 57600 and send out

“[BOOTLOADB]NB_PingCmd” command. The
ping_target field should be consistent with the
one in [BOOTLOADA] command.
“[BOOTLOADB]NB_PingCmd” may need to be
sent out multiple times before a reply can be
received due to the receiver transitioning
between navigation software and bootloader1 or
bootloader2. Sending this command at 5 Hz rate
until a reply is received is recommended.

Normally when bootloader1 starts, there is a
0.5 seconds window in which it listens to the
bootload command. Sending this command at
5 Hz rate will improve the chance of bootloader1
catching the command within the window and
help receiver recovery in some cases.

5. Bootloader1 or bootloader2 runs, receives the

command and replies with
[BOOTLOADB]NB_PingRep”.

Table continued on next page…

Advertising