DFU cycle testing

Hi ! 

I have 5 different bootloaders for 5 pieces of hardware that I would like to cycle test OTA DFU with BLE. 
I have some questions

  • Why does nrfutil dfu ble require a COM port? the DFU IOS app does not, seems strange, and also fails because I don't have a COM port connected. 
  • What's the shortest path to script a BLE DFU from either
    • Mac M2
    • RPI 5
    • Windows 10 machine

The COM port thing is holding me up in mac/windows. 
The RPI5 lack of modern python support + non x86_64 is making this seemingly simple task in to a can of worms  

Parents
  • Hello,

    I am not sure if I fully understand your query. nrfutil does not require a COM port while performing BLE DFU. Please refer to the section Performing DFU.

    The command:
    nrfutil dfu ble -pkg app_dfu_package.zip -ic NRF52 -p COM3 -n "MyDevice" -f

    In this command, the COM port mentioned is not for the DFU target. Instead, it refers to the COM port of the BLE adapter, while the DFU target is "MyDevice."

    Which SDK version are you using? Are you working with the nRF5 SDK?

    Kind regards,
    Abhijith

Reply
  • Hello,

    I am not sure if I fully understand your query. nrfutil does not require a COM port while performing BLE DFU. Please refer to the section Performing DFU.

    The command:
    nrfutil dfu ble -pkg app_dfu_package.zip -ic NRF52 -p COM3 -n "MyDevice" -f

    In this command, the COM port mentioned is not for the DFU target. Instead, it refers to the COM port of the BLE adapter, while the DFU target is "MyDevice."

    Which SDK version are you using? Are you working with the nRF5 SDK?

    Kind regards,
    Abhijith

Children
Related