This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Batch DFU tool

Hello,

DFU tool (android) is cool but if you have a lot of devices to update it's long. Is there any batch tool that can update all devices that fit (MAC list or SSID filter) around ?

Parents
  • Hello,

    Unfortunately, we don't have a script for this. However, we do have a python script for doing DFU from a PC using the nRF51 dongle which is located in the master control panel directory. Maybe this is more suited for creating an automated DFU tool.

    Note that you need to use Iron python to run this:

    C:\Program Files (x86)\Nordic Semiconductor\Master Control Panel\3.10.0.14\lib\d
    fu>ipy main.py -h 
    C:\Program Files (x86)\Nordic Semiconductor\Master Emulator\2.1.13.14 
    Failed to import ecdsa, cannot do signing 
    usage: main.py [-h] --file FILE --address ADDRESS [--baud-rate BAUD_RATE]
               [--emulator-id EMULATOR_ID]
    
    Send hex file over-the-air via BLE
    
     optional arguments:
     -h, --help            show this help message and exit
     --file FILE, -f FILE  Filename of Hex file.
     --address ADDRESS, -a ADDRESS
                        Advertising address of nrf51822 device.
      --baud-rate BAUD_RATE, -b BAUD_RATE
                        Baud rate for communication with the master emulator
                        device. Default 1000000.
      --emulator-id EMULATOR_ID, -e EMULATOR_ID
                        COM port the master emulator device is connected to,
                        e.g. COM1
    
Reply
  • Hello,

    Unfortunately, we don't have a script for this. However, we do have a python script for doing DFU from a PC using the nRF51 dongle which is located in the master control panel directory. Maybe this is more suited for creating an automated DFU tool.

    Note that you need to use Iron python to run this:

    C:\Program Files (x86)\Nordic Semiconductor\Master Control Panel\3.10.0.14\lib\d
    fu>ipy main.py -h 
    C:\Program Files (x86)\Nordic Semiconductor\Master Emulator\2.1.13.14 
    Failed to import ecdsa, cannot do signing 
    usage: main.py [-h] --file FILE --address ADDRESS [--baud-rate BAUD_RATE]
               [--emulator-id EMULATOR_ID]
    
    Send hex file over-the-air via BLE
    
     optional arguments:
     -h, --help            show this help message and exit
     --file FILE, -f FILE  Filename of Hex file.
     --address ADDRESS, -a ADDRESS
                        Advertising address of nrf51822 device.
      --baud-rate BAUD_RATE, -b BAUD_RATE
                        Baud rate for communication with the master emulator
                        device. Default 1000000.
      --emulator-id EMULATOR_ID, -e EMULATOR_ID
                        COM port the master emulator device is connected to,
                        e.g. COM1
    
Children
Related