Недокументированные сообщения

Недокументированные сообщения u-blox #

Class 0x09: Firmware upgrade messages #

UPD-DOWNL 0x09 0x01 #

MessageLengthDescription
UPD-DOWNL9Transfer data from host to receiver

Structure:

HeaderIDLength (bytes)PayloadChecksum
0xB5 0x620x09 0x010x09 0x00CK_A CL_B

Payload:

OffsetFormatNameDescription
0U4Start address
4U4Flags
8B*Transferred data

Example:

Clear BBR (addr: FFEC1000 flags: 00000000 data: 00x8)

REQUEST:  B5 62 09 01 10 00 00 10 EC FF 00 00 00 00 00 00 00 00 00 00 00 00 15 B2
RESPONSE: B5 62 05 01 02 00 09 01 12 3E

UPD-UPLOAD 0x09 0x02 #

MessageLengthDescription
UPD-UPLOAD12Transfer data from receiver to host

Payload:

OffsetFormatNameDescription
0U4Start address
4U4DataSize
8U4Flags
12B*Requested data (response only)

Example:

UPD-UPLOAD addr: 0025fffc, size: 0004, flags: 00000000

REQUEST:  B5 62 09 02 0C 00 FC FF 25 00 04 00 00 00 00 00 00 00 3B AD
RESPONSE: B5 62 09 02 10 00 FC FF 25 00 04 00 00 00 00 00 00 00 96 F5 6A 80 B4 6C
RESPONSE: B5 62 05 01 02 00 09 02 13 3F

UPD-EXEC 0x09 0x03 #

MessageLengthDescription
UPD-EXEC??????

UPD-MEMCPY 0x09 0x04 #

MessageLengthDescription
UPD-MEMCPY??????

UPD-??? 0x09 0x06 #

MessageLengthDescription
UPD-???1Read loader version ???

Payload:

OffsetFormatNameDescription
0B1= 69

Example:

REQUEST:  B5 62 09 06 01 00 69 79 B1
RESPONSE: B5 62 09 06 01 00 51 61 99 B5 62 05 00 02 00 09 06 16 3E

UPD-ENTER 0x09 0x07 #

MessageLengthDescription
UPD-ENTER0Enter safeboot mode (speed=9600)

Example:

   REQUEST: B5 62 09 07 00 00 10 39

UPD-FLASHINFO 0x09 0x08 #

MessageLengthDescription
UPD-FLASHINFO4Read flash data in CFI Query mode

Payload:

OffsetFormatNameDescription
0U4StartAddr
4B4Response

Example:

(read Flash Deviceid=0x2780  and ManufacturerID=0x00BF)
REQUEST:  B5 62 09 08 04 00 00 00 80 00 95 98
RESPONSE: B5 62 09 08 08 00 00 00 80 00 BF 00 80 27 FF 37
RESPONSE: B5 62 05 01 02 00 09 08 19 45

UPD-ERASE 0x09 0x0B #

MessageLengthDescription
UPD-ERASE4Erase flash block

Payload:

OffsetFormatNameDescription
0U4StartAddrErased block start address

Example:

    REQUEST:  B5 62 09 0B 04 00 00 00 80 00 98 AD
    RESPONSE: B5 62 05 01 02 00 09 0B 1C 48

UPD-WRITE 0x09 0x0C #

MessageLengthDescription
UPD-WRITE ?8+payloadWrite flash block

Payload:

OffsetFormatNameDescription
0U4StartAddrWrite address
4U4sizePayload size
8B*payload

Response:

Error code

Example:

write 0x800000: 55 42 58 35

REQUEST:  B5 62 09 0C 0C 00 00 00 80 00 04 00 00 00 55 42 58 35 C9 0B
RESPONSE: B5 62 09 0C 05 00 00 00 80 00 01 9B 55 
RESPONSE: B5 62 05 01 02 00 09 0C 1D 49

UPD-CSUM 0x09 0x0D #

MessageLengthDescription
UPD-CSUM ?8Calculate block checksum

Payload:

OffsetFormatNameDescription
0U4StartAddr
4U4size

Response:

OffsetFormatNameDescription
0U4StartAddr
4B1errCode
5B2checksum

Example:

address: 0x0080004, size; 0x00055694
REQUEST:  B5 62 09 0D 08 00 04 00 80 00 94 56 05 00 91 C7
RESPONSE: B5 62 09 0D 05 00 04 00 80 00 01 A0 71
RESPONSE: B5 62 05 01 02 00 09 0D 1E 4A

UPD-EXIT 0x09 0x0E #

MessageLengthDescription
UPD-EXIT ?0Switch from safeboot to normal mode

Example:

REQUEST:  B5 62 09 07 00 00 10 39