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

Nrf52832 ble dfu not working

Hi,

I am trying to do dfu in nrf52832..i made a zip file containing (app+bl and sd).the size of zip packet is 530 kb but the application space in nrf52 is only 328 kb..while performing dfu it shows insufficient resources..what should i do?

The steps i performed is

1.first flash secure bootloader in nrf52

2.make zip file by combining bootloder settings,app and softdevice

Parents Reply Children
  • Thomasthomas said:
    Don't we have to upload bootloader settings to our board.?

     No, the bootloader settings are used only when you program the application via a programmer. When you perform a DFU the bootloader will generate it's own bootloader settings. What you need to do when you want to perform a DFU is to generate an application image, which is generated using the private key. If the new application is using the same softdevice, you don't need to  include the softdevice hex. You only need something like:

    nrfutil pkg generate --application app.hex --application-version 2 --hw-version 52 --sd-req 0xCA --key-file private.pem dfu_image.zip

    has provided a useful guide with the steps. There is also an official guide on how to perform a DFU here.

    Best regards,

    Edvin

Related