0xD901 - Commit Firmware from File
The host uses this command to commit a file previously uploaded using Command 0xD801 - Load (Firmware File) into the device’s permanent memory after the device has authenticated the file.
Sequence of events:
Device notifies host and resets
If the commit operation was successful, the device sends Firmware Update Successful - Notification 0x0905 to the host. If the commit operation was not successful, the device sends Firmware Update Failed - Notification 0x0906 to the host. In both cases, the device automatically resets.
Request Data for Command 0xD901 - Commit Firmware from File
Beginning of any wrappers, at minimum including Request Message
—
—
—
—
—
D901
—
Command 0xD901 - Commit Firmware from File
—
—
—
81
01
Progress Indicator. Reserved for future use. Populate with 0x03.
B
R
82
01
Operation Options. Reserved for future use. Populate with 0x00.
B
R
85
02
Image Type
0x0000 = Boot Loader 1 image
0x0001 = Main App image
0x0002 = WiFi Module image
0x0003 = BLE Module image
B
R
86
20
Hash Checksum
This is a SHA-256 hash of the entire Firmware File Type object being uploaded.
B
R
End of any wrappers, at minimum including Request Message
Response Data for Command 0xD901 - Commit Firmware from File
Beginning of any wrappers, at minimum including Response Message
—
—
—
—
—
D901
—
Commit Firmware from File - Command 0xD901
—
—
—
No parameters
End of any wrappers, at minimum including Response Message
If the request started successfully, the Request Status in the message wrapper is: OK, Started / Running, All good / requested operation was successful.
Request Example - Command 0xD901
Response Example - Command 0xD901
Notification Example - Command 0xD901
Last updated

