5.7.1.1.4 DFU Image Distribution (DFUD…)
Format: DFUD <hex16>, <hex content>
Use the DFUD
command for new image distribution. The payload length must not be 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 the completion of the update; it 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 into the Command mode.
Example: | DFUD,0100, <hex> | // Update fragmented of firmware image for length of 0x100 |
Response: | AOK | // Device received without error |
Err | // State error, payload size error or command parameter error | |
%DFU_TIMEOUT% | // The device responded with timeout status if the subsequent distribution command has not given an accepted timeout period |