beautypg.com

Pass or fail, Valid count, Address – NavCom Sapphire Rev.J User Manual

Page 61

background image

Sapphire Technical Reference Manual Rev. J

61

Table 19: BOOTLOADB Message Function SubID Enum Definition

Value

Enum Name

1

NB_PingCmd

2

NB_PingRep,

3

NB_BaudCmd,

4

NB_BaudRep,

5

NB_SetupCmd,

6

NB_SetupRep,

7

NB_LoadDataCmd,

8

NB_LoadDataRep,

9

NB_ChkCrcCmd,

10

NB_ChkCrcRep,

11

NB_ProgCmd,

12

NB_ProgRep,

13

NB_EraseCmd,

14

NB_EraseRep,

15

NB_WriteFCmd,

16

NB_WriteFRep,

17

NB_ResetCmd,

18

NB_ResetRep,

19

NB_Working,

20

NB_EnumLast

1.19.2.2 Pass or Fail

For a reply message, this field indicates if the previous command passed or failed. For a
command message, this field is either not used or has another meaning.

1.19.2.3 Valid Count

This field indicates how many bytes in the data field are valid.

1.19.2.4 Address

When downloading data, this field indicates the destination address of the data. In a
response message, if the pass/fail field is fail, this field indicates the error code.
BootloadB and BootloadPIOB message error codes are defined in Table 20. This field
has other meanings under different circumstances.