This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

DFU Update: "Upload Failed: Unknown Command" & Signature-less Bootloader

I am trying to package a firmware update and flash it over BLE DFU and I keep getting the following error on the nRF Toolbox app:

"Upload Failed: Unknown Command"

I cannot figure out why this is happening and I can't find anyone else having this error on here.  Here are the commands I used to create the initial bootloader and settings (flashed over J-Link).

Generating the Settings hex:

Merging the settings hex with the bootloader hex:

After flashing the softdevice and the bootloader, here is what I used to generate the package file:

Other information:

  • Device: nRF52832
  • SDK: 14.2.0
  • Board: Custom

I cannot understand why this isn't working.  It all looks fine to me.  The bootloader build completed without any problems.  Any help would be greatly appreciated.

Parents
  • Hi,

    Can you upload a log of the DFU upgrade process to give a bit more understanding of what is going on? You can also try upgrading using the nRF Connect app for mobile or desktop. It might also be useful to see the log from the nRF side, which you can get by using the debug version of the bootloader (with RTT logging).

Reply
  • Hi,

    Can you upload a log of the DFU upgrade process to give a bit more understanding of what is going on? You can also try upgrading using the nRF Connect app for mobile or desktop. It might also be useful to see the log from the nRF side, which you can get by using the debug version of the bootloader (with RTT logging).

Children
  • Here's the log from the RTT viewer:

    And here's the log from nRF Connect:

    Thanks for your help.

  • I just flashed the same bootloader but unsecured and in debug mode.  I tried using DFU to send one of the example .zip packages and it worked fine.  So it doesn't seem like the problem is in the bootloader, but in my application package.  I'm not sure what it is though.  If I flash the firmware and bootloader directly, everything works fine.  Then if I package the exact same application and try to flash over DFU, that's when I get this Unknown Command error.  Do you see something wrong with the settings I am using with nrfutil to package my application?