EXT0005: Firmware Update
Цей контент ще не доступний вашою мовою.
- Extension dependencies:
EXT000F - Document status: Approved (2020-02-01)
This extension describes the firmware update process.
Commands
Section titled “Commands”0009 Get FW File Version
Section titled “0009 Get FW File Version”Read firmware file version on device.
Request:
<TID> 3900 0002 0009Response:
<TID> 3900 0006 0009 <FWVER>| Field | Length | Description |
|---|---|---|
FWVER | 4 bytes | FW file version (MSB 2 bytes = version type) |
Errors:
| Code | Description |
|---|---|
0010 | ROM read error |
0011 | FW file not found |
000A Delete FW File
Section titled “000A Delete FW File”Delete firmware file. Execute before writing new file. Asynchronous process.
Request:
<TID> 3900 0002 000AResponse:
<TID> 3900 <LEN> 000A <PROCID> [<BUSYTIME>]Process Errors:
| Code | Description |
|---|---|
0010 | ROM error |
0011 | ROM resource expired |
000B Send FW File
Section titled “000B Send FW File”Write firmware file to device.
Request:
<TID> 3900 <LEN> 000B <OFFSET> <TOTLEN> <BLOCKDATA>Response:
<TID> 3900 0002 000B| Field | Length | Description |
|---|---|---|
OFFSET | 4 bytes | Byte offset in FW file |
TOTLEN | 4 bytes | Total FW file length |
BLOCKDATA | variable | Data block |
Errors:
| Code | Description |
|---|---|
0010 | Out of bounds (TOTLEN) |
0011 | OFFSET/BLOCKDATA mismatch |
0012 | ROM write error or data exists |
000C Start FW Update
Section titled “000C Start FW Update”Start firmware update. Application should disconnect after response.
Request/Response:
<TID> 3900 0002 000CErrors:
| Code | Description |
|---|---|
0010 | ROM read error |
0011 | FW file not found |
0012 | FW file CRC error |