Using nRF52840 with nRFUtil command line to dfu firmware to a nrf52832

I currently use nrfConnect on android to download firmware to nrf52832s.  I am just getting started with nRFUtil and the dongle.  

If I understand correctly, I should be able to use nrfutil on the  command line to download the same firmware using  nRF52840.

nrfutil.exe -pkg Mypackage.zip -ic NRF52  -a D27F2A70D5BE -f

Questions:

1) How do I get over the unknown usb device error when I plug in the dongle.  

2) Do I use the -p command with the dongle?

Thank you.





  • Hi,

    1) How do I get over the unknown usb device error when I plug in the dongle.  

    This depends on which firmware is running on the Dongle. The USB port of the dongle is directly connected to the USB interface of the nRF52840 chip, so is your OS does not recognize the device, it will be listed as "Unknown USB device". Many of the firmwares we provide for the dongle will use USB CDC ADC (Virtual COM port), which is supported by most OSes natively. If you can provide more details on what is programmed on the dongle, exactly where you are seeing this error, and which OS you are using, I may be able to help you further.

    2) Do I use the -p command with the dongle?

    Yes, you should use the -p argument and select the COM port of the Dongle. If the dongle is not listed as a COM port, you may need to press the reset button (sideways on the dongle) to enter the bootloader (see Programming). Given that you have the -f argument in your command, nrfutil should program the Dongle with the required connectivity firmware. If you need to enter the bootloader the first time you program the dongle, the COM port may change after programming the connectivity firmware, so make sure you check if the Dongle is listed with a different COM port number in your device manager.

    Best regards,
    Jørgen

  • Thank you.  Please close.  I got the doggle to work .  I believe it was installing the Programmer in nRFConnect Desktop did  it.

Related