Инструменты пользователя

Инструменты сайта


u-blox_undocumented_messages

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

Class 0x09: Firmware upgrade messages

UPD-DOWNL 0x09 0x01

Message: UPD-DOWNL
Description: Transfer data from host to receiver
Length 9

Structure:

header ID Length (bytes) Payload Checksum
0xB5 0x62 0x09 0x01 0x09 0x00 CK_A CL_B

Payload:

Offset Format Name Description
0 U4 Start address
4 U4 Flags
8 B* Transferred data
Example:

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

REQEST:   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

Message: UPD-UPLOAD
Description: Transfer data from receiver to host
Length 12

Payload:

Offset Format Name Description
0 U4 Start address
4 U4 DataSize
8 U4 Flags
12 B* 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

Message: UPD-EXEC
Description: ???
Length ???

UPD-MEMCPY 0x09 0x04

Message: UPD-MEMCPY
Description: ???
Length ???

UPD-??? 0x09 0x06

Message: UPD-???
Description: Read loader version ???
Length 1

Payload:

Offset Format Name Description
0 B1 = 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

Message: UPD-ENTER
Description: Enter safeboot mode (speed=9600)
Length 0
 Example:
 
 REQUEST: B5 62 09 07 00 00 10 39

UPD-FLASHINFO 0x09 0x08

Message: UPD-FLASHINFO ?
Description: Read flash data in CFI Query mode
Length 4

Payload:

Offset Format Name Description
0 U4 StartAddr
4 B4 Response
  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

Message: UPD-ERASE ?
Description: Erase flash block
Length 4

Payload:

Offset Format Name Description
0 U4 StartAddr Erased 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

Message: UPD-WRITE ?
Description: Write flash block
Length 8+payload

Payload:

Offset Format Name Description
0 U4 StartAddr Write address
4 U4 size Payload size
8 B* 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

Message: UPD-CSUM ?
Description: Calculate block checksum
Length 8

Payload:

Offset Format Name Description
0 U4 StartAddr
4 U4 size

Response:

Offset Format Name Description
0 U4 StartAddr
4 B1 errCode
5 B2 checksum
  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

Message: UPD-EXIT ?
Description: Switch from safeboot to normal mode
Length 0
 Example:
 
 REQUEST:  B5 62 09 07 00 00 10 39 
u-blox_undocumented_messages.txt · Последние изменения: 14:31 07.07.2013 — littlesavage