beautypg.com

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

Page 72

background image

Sapphire Technical Reference Manual Rev. J

72

Table 39: BOOTLOADPIOB 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.20.1.2 Pass or Fail

For reply messages, this field indicates if the previous command passed or failed. For
command messages, this field is either not used, or has another meaning (defined
below).

1.20.1.3 Valid Count

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

1.20.1.4 Address

When downloading data, this field indicates the destination address of the data. In
response messages, if the pass/fail field is fail, this field indicates the error code. Error
codes are defined in Table 20. This field has other meanings under different
circumstances (defined below).