5.7.3.1.5 OTAPC DFU Image Distribution
Format: DFUD <hex16>, <hex content>
Use the DFUD
command for new image distribution. The payload length must be no larger than the max fragmented image size that the RNBD451 responded with in the DFUU
command. When the DFUD
command is called, no other DFU
command is acceptable until completion of the update. This means DFUD
can be successively called in several times and cannot be terminated before sending all of the image payload.
During the firmware distribution, if the timeout exceeds the maximum allowed timeout, the RNBD451 enters the Command mode.
Note: The hex content is the payload of the image; it is not hex presented in ASCII.
Example: | DFUD,0100, <hex> | // Update fragmented of FW image for length 0x100 |
Response: | AOK | // Device received without error |
Err | // State error, payload size error or command parameter error | |
%DFU_TIMEOUT% | // The device responds with timeout status if the subsequent distribution command has not given an accepted timeout period |