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 and OTAPC 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_DFU_OTAPC_V1.0.0.py -c COM12 -b 115200 -s OTAPC -f RNBD451_1.0.0.10.OTA.bin.

The user can initiate the execution by passing the following arguments:
  • c – COM port number
  • b – Baud rate
  • s – Feature selection (DFU or OTAPC)
  • f – Firmware file selection
    Figure 8-14. OTAPC using RNBD DFU OTAPC Tool Command Line Execution