• Support
  • Cannot flash firmware in DFU mode

I have two boards for which I cannot flash the firmware.
I believe that I have a hard time putting them in DFU mode. I cannot tell if the board is in DFU Mode or not and it would be great to have a visual indicator to know.

I have created the proper connection string pointing the correct com port and issue the command to upload the firmware but keep on getting Error: NMP timeout

PC@DESKTOP-HG29JE3 MINGW64 /c/nfed/nrf/applications/serial_lte_modem/build/zephyr ((v1.3.2))
$ newtmgr -c port11 image upload app_update.bin
0 B / 169.02 KiB 0.00%Error: NMP timeout

What else can I do to flash the firmware? What am I doing wrong?

    I believe that I have a hard time putting them in DFU mode. I cannot tell if the board is in DFU Mode or not and it would be great to have a visual indicator to know.

    You should hold the mode button and tap the reset button. Once the blue LED turns on you’re in DFU mode.

    When I try to upload the firmware I always come short by a few bytes.. ( it seems that there is a coutdown timer in seconds that seems to expire before the upload is finished.. ).

    Here is an example of the error:
    PC@DESKTOP-HG29JE3 MINGW64 ~/ncs/v1.5.0/nrf/applications/serial_lte_modem/build/zephyr ((v1.5.0))
    $ newtmgr -c port4 image upload app_update.bin
    175.27 KiB / 175.83 KiB 99.68% 16.49 KiB/sError: 3
    PC@DESKTOP-HG29JE3 MINGW64 ~/ncs/v1.5.0/nrf/applications/serial_lte_modem/build/zephyr ((v1.5.0))
    $ newtmgr -c port4 image upload app_update.bin
    171.99 KiB / 175.83 KiB 97.81% 16.49 KiB/sError: 3

    It always reaches +96%. Is there anything that can be done to solve this?

    Is there a newer version of the tool chain manager that I should use?

    I still cannot upload the firmware with version 1.5.0..

      upswing which hardware version of the board are you using? Are you using/enabling littlefs?

      I’m also assuming you do not have the serial console open while using newtmgr?

      @upswing if you’re using a v1 board you’ll need to update the bootloader. You can either program it yourself or you can always send it my way and I can update it. $7 round trip shipping is cheaper than a programmer and Tag Connect!

        jaredwolff $7 round trip shipping is cheaper than a programmer and Tag Connect!

        Wheres the fun in that? ST release a new Cellular Discovery board, they are moving to TC2050-NL for external debug.

        upswing PC@DESKTOP-HG29JE3 MINGW64 /c/nfed/nrf/applications/serial_lte_modem/build/zephyr ((v1.3.2))

        Are you using WSL2 and accessing the mount from Windows 10?

        Terms and Conditions | Privacy Policy