8.3.1.5 Command Line-Based Execution
The Microchip RNBD Utility tool package has a Python script attached to carry out the command line execution of the serial DFU procedure. This Python script incorporates the serial DFU feature.
Before executing the Python script from the command line, it is mandatory to install all dependent Python modules/packages. For more details, refer to the README
file available in the tool package.
Open the command prompt at the location where the Python script is located. The script expects certain arguments to be passed while invoking:
python RNBD_350_451_Serial_DFU_Tool_V1.0.2.py -c COM85 -b 115200 -s DFU -f RNBD350_1.0.0.07.OTA.bin
.
c
– COM port numberb
– Baud rates
– Feature selection (DFU)f
– Firmware file selectionFigure 8-14. Serial DFU Using RNBD DFU OTAPC Tool Command Line Execution