Subid nb_progcmd message format, Subid nb_eraserep message format, Table 31: subid nb_chkcrcrep format – NavCom Sapphire Rev.J User Manual
Page 67: Table 32: subid nb_progcmd format, Table 33: subid nb_eraserep format

Sapphire Technical Reference Manual Rev. J
67
Table 31: SubID NB_ChkCrcRep Format
Field
Data
Type
Value and Description
Function Type SubID
U08
Enum NB_ChkCrcRep.
Pass or Fail
U08
1= pass, 0 = fail.
Valid count
U16
This is the length for the data field (in bytes).
4 if fail due to CRC error
0 otherwise
Address
U32
If pass, the value is 0.
If fail due to maximum address not equal to the value in
NB_SetupCmd, the value is error code Err_MaxAddr.
If fail due to CRC error, the value is error code Err_BadCrc.
Data
U32
This field only exists if fail due to CRC error. Its value is the
computed CRC32 of the data image.
1.19.3.11
SubID NB_ProgCmd Message Format
SubID NB_ ProgCmd is sent from PC to receiver. It is used to tell the receiver to start
programming the new data into Flash. After receiving this command, the receiver starts
erasing the Flash and writing the new data into Flash. Its format is defined in Table 32.
Table 32: SubID NB_ProgCmd Format
Field
Data
Type
Value and Description
Function Type SubID
U08
Enum NB_ProgCmd.
Pass or Fail
U08
This field is not used for this command. Value should be 0.
Valid count
U16
0
Address
U32
0
1.19.3.12
SubID NB_EraseRep Message Format
SubID NB_EraseRep is sent from receiver to PC. It is one of the reply messages for
NB_ProgCmd. The receiver sends out this message after it erases Flash, which typically
takes 1 to 3 seconds. Its format is defined in Table 33.
Table 33: SubID NB_EraseRep Format
Field
Data
Type
Value and Description
Function Type SubID
U08
Enum NB_EraseRep.
Pass or Fail
U08
1= pass, 0 = fail.
Valid count
U16
0
Address
U32
If pass, value is 0.
If fail, value is error code Err_EraseFlash.