Subid nb_chkcrcrep message format, Subid nb_progcmd message format, Table 231: subid nb_chkcrcrep format – NavCom Sapphire Rev.J User Manual
Page 441: Table 232: subid nb_progcmd format
Sapphire Technical Reference Manual Rev. J
441
SubID NB_ChkCrcRep Message Format
SubID NB_ChkCrcRep is sent from the receiver to the PC. It is the reply message to
NB_ChkCrcCmd. Its format is defined in Table 231.
Table 231: SubID NB_ChkCrcRep Format
Field
Data
Type
Value and Description
Function Type
SubID
U08
Enum NB_ChkCrcRe.
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, value is 0.
If fail due to maximum address not equal to the value in
NB_SetupCmd, value is error code Err_MaxAddr.
If fail due to CRC error, 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.
SubID NB_ProgCmd Message Format
SubID NB_ ProgCmd is sent from the PC to the receiver. It is used to tell the receiver to start
programming the new data to Flash. After receiving this command, the receiver will start erasing
the Flash and writing the new data to Flash. Its format is defined in Table 232.
Table 232: 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