Distributing an application to perform DFU over USB using nrfutil

Our devices are updateable over a usb serial connection.

So far I have been using the "nrfutil dfu usb-serial" command.  

I have created an application that checks current firmware version, then does the update if necessary.  I had embedded the nrfutil app, but am finding on macos that this is very problematic - I can't sandbox it, or create a hardened runtime for it as it essential needs recompiling.

I can't be the first to do this. Is there a recommended approach?

Parents Reply
  • SDK 17.0.2
    NRF52840

    I don't really understand what you mean in your first sentence.

    I have a bootloader on the device that enables me to boot it into dfu mode.  My question is basically about how I can distribute a transfer tool to transfer the dfu package over serial connection via USB.  I want to avoid doing it over the air because of cost of bluetooth certification that we otherwise don't need.

    It works fine using nrfutil on my local machine.  I am looking for a way to distribute an application on mac and windows that does the dfu over the usb serial port connection.

Children
Related