[DFU] How to create dfu using a standalone command

Hi,

i am developing under NCS 3.2.1.

I would like to if there exist a stand-alone command for creating DFU (nrfutil sub-command or similar) instead of https://github.com/nrfconnect/sdk-nrf/blob/v3.2.1/scripts/bootloader/generate_zip.py.

Thank you,

Alessandro

Parents
  • That is a python script, which you can trivially turn into an .exe executable with pyinstaller.

  • That answer is not helpful. I too am trying to get to a standalone DFU installer, or a C file I can add to a PC application to allow an end user to do firmware updates as needed. The instructions for nrfutil are convoluted and do not work, even just to generate a zipfile let alone to program it. This is a deep rabbit hole so far. I need to be able to provide the user a single file, either a .hex file or the .zip that is ostensibly generated by nRFUtil, and a simple way to send that to the device (nRF52832 or nRF52840), preferably via USB. Surely this is not an unusual request, and Nordic's developers should be able to provide a simple and useful answer.

Reply
  • That answer is not helpful. I too am trying to get to a standalone DFU installer, or a C file I can add to a PC application to allow an end user to do firmware updates as needed. The instructions for nrfutil are convoluted and do not work, even just to generate a zipfile let alone to program it. This is a deep rabbit hole so far. I need to be able to provide the user a single file, either a .hex file or the .zip that is ostensibly generated by nRFUtil, and a simple way to send that to the device (nRF52832 or nRF52840), preferably via USB. Surely this is not an unusual request, and Nordic's developers should be able to provide a simple and useful answer.

Children
No Data
Related