Vision RDM DFU

该 PID 是 optional,用于通过 RDM 启用 Vision Software Updates,例如使用 DMX Adapter、FTDI USB to Serial DMX interface,或通过 Artnet RDM。该 process 使用 RDM broadcast,流程如下:

  1. 向每个 device 发送 DFU Start,并等待包含 timing infos 的 responses。
  2. 等待 erase 和 reboot times。
  3. 开始使用 DFU Send broadcast data。不允许 devices response。如果只更新一个 device,则不使用 broadcast。
  4. 向每个 device 发送 DFU Status,并等待包含 missing packets 的 responses。
  5. 使用 DFU Send 重新发送 missing packets。不允许 devices response。
  6. 使用 DFU End 结束 DFU process。
Data TypeDS_UNSIGNED_BYTEPDL SizeVariable(See Protocolversion)
Cmd ClassCC_GETUnitUNITS_NONE
PrefixPREFIX_NONEDefault0x00
Min0x00Max0xFF
Description"VISION DFU"

SET Command 0xA005

Controller Incoming Command:

(Port ID)(Msg. Count)(Sub-Device)
0x01-0xFF0x000x0000 (Root) or 0x0001-0x0200
(CC)(PID)(PDL)
SET_COMMANDVISION (0xA003)0x00
(PD)
Set Stream

Set Streams:

Set Stream Protocol Version 1
IndexDataTypeNameDescriptionValue Definitions
0uint8_tProtocol Version描述 Protocol Version1: Version 1
1uint8_tCommand IdentifierCommand-
2uint8_t[variable]DataData 取决于 command-
CommandIdentifierDataTypeDescriptionComment
Start0x01uint8
uint8_t[]
Packet Length in 8 Bytes
Data (First Packet)
Set Response required
Send0x02uint16_t
uint8_t[variable]
Packet Index(从 1 开始,不是 0)
Data
No response (broadcast)
End0x04--Set Response required

Controller Set Response:

(Response Type)(Msg. Count)(Sub-Device)
ACK0x00-0xFFCopy of Controller SD
(CC)(PID)(PDL)
SET_COMMAND_RESPONSEVISION (0xA003)Variable(See Protocolversion)
(PD)
Response Stream
Response Stream Protocol Version 1
IndexDataTypeNameDescriptionValue Definitions
0uint8_tProtocol Version描述 Protocol Version1: Version 1
1uint8_tCommand IdentifierCommand-
2uint8_t[variable]DataData 取决于 command-
CommandIdentifierDataTypeDescriptionValue DefinitionsComment
Start DFU0x01uint8_t
uint8_t
uint8_t
Status Codes
EraseTime in s
Wait Time in ms
Response required
Send DFU0x02-No response
End DFU0x04-uint8_tStatus CodesResponse required

Error Codes

0: OK, 1: Not Ready - Try again, 2: Processing CRC, 3: Missing Packets, 4: Flash Error, 5: Not started, 6: CRC Error, 7: Wrong Signature

GET Command 0xA005

Controller Incoming Command:

(Port ID)(Msg. Count)(Sub-Device)
0x01-0xFF0x000x0000 (Root) or 0x0001-0x0200
(CC)(PID)(PDL)
GET_COMMANDVISION (0xA003)0x00
(PD)
Get Stream

Get Streams:

Get Stream Protocol Version 1
IndexDataTypeNameDescriptionValue Definitions
0uint8_tProtocol Version描述 Protocol Version1: Version 1
1uint8_tCommand IdentifierCommand-
2uint8_t[variable]DataData 取决于 command-
CommandIdentifierDataTypeDescriptionComment
Status0x03uint16_tuint16_t: Last Packet IndexGet Response required

Controller Get Response:

(Response Type)(Msg. Count)(Sub-Device)
ACK0x00-0xFFCopy of Controller SD
(CC)(PID)(PDL)
GET_COMMAND_RESPONSEVISION (0xA003)Variable(See Protocolversion)
(PD)
Response Stream
Response Stream Protocol Version 1
IndexDataTypeNameDescriptionValue Definitions
0uint8_tProtocol Version描述 Protocol Version1: Version 1
1uint8_tCommand IdentifierCommand-
2uint8_t[variable]DataData 取决于 command-
CommandIdentifierDataTypeDescriptionValue DefinitionsComment
DFU Status0x03-uint8_t
uint8_t
uint16_t[var]
Status (Error Codes)
Missing packet Count
Missing Packet Indexes
Response required

Status Codes

0: OK, 1: Not Ready - Try again, 2: Processing CRC, 3: Missing Packets, 4: Flash Error, 5: Not started, 6: CRC Error, 7: Wrong Signature

© KKT Künzler Technologies GbR.
Developed by KKT - Künzler Technologies GbR