Data, Bootloadb subid message format, Subid nb_pingcmd message format – NavCom Sapphire Rev.J User Manual
Page 62: Table 21: subid nb_pingcmd format
Sapphire Technical Reference Manual Rev. J
62
Table 20: BOOTLOADB and BootloadPIOB Message Error Codes
Value
Enum
Description
0
Err_PingTarget
For the BootloadB command, this means Ping Target Error. This could be
caused by an invalid value in the ping_target (address) field in the
NB_PingCmd command, or by trying to ping bootloader2 when bootloader1
is running.
For the BootloadPIOB command, this enum is not used.
1
Err_InvalidBaud
Invalid baud rate in NB_BaudCmd command
2
Err_SetupRange Address range error in NB_SetupCmd command
3
Err_LoadData
Error in NB_LoadDataCmd command
4
Err_MaxAddr
Maximum address error. This could be caused by the maximum address of
the data received being inconsistent with the value specified in
NB_SetupCmd command.
5
Err_BadCrc
Software image CRC error detected in replying to NB_ChkCrcCmd
command
6
Err_EraseFlash
Erase flash error
7
Err_WriteFlash
Write to flash error
8
Err_Reset
Receiver reset error
100
Err_SubID
Unknown subID received in [BOOTLOADB] or [BOOTLOADPIOB] command
1.19.2.5 Data
In the NB_LoadDataCmd message, this field contains the data. It has other meanings in
other SubID messages. The maximum size of this field is 2048 bytes. If loading through
the Ethernet port using UDP, the maximum size should be less than about 1400 bytes.
1.19.3 BootloadB SubID Message Format
1.19.3.1 SubID NB_PingCmd Message Format
The SubID NB_PingCmd is sent from a PC to the receiver. It is used by the PC to ping
the receiver bootloader software and to start the bootloading process. Its format is
defined in Table 21.
Table 21: SubID NB_PingCmd Format
Field
Data
Type
Value and Description
Function Type SubID
U08
Enum NB_PingCmd.
Pass or Fail
U08
0. This field is not used for this command
Valid count
U16
0. There is no data following the address field
Address
U32
Ping_Target: Ping_Target is the receiver software type that the PC
program is trying to ping. The software type enum is defined in
Table 22. For this command, the valid value is ST_Bootblock1 or
ST_Bootblock2.
For the SF-3050, Bootloader1 can be used to load any GNSS
board software from COM1 except itself. Bootloader2 can be used
to load any GNSS board software from both COM1 and COM2.
Use bootloader2 to load software whenever possible.