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

Updating bootloader+application failed through dfu

Hi all, I'm working on SDK11.0.0 with softdevice S130 v2.0.0 and I need to update bootloader+application at the same time in single zip for these I created zip file by using the command

image description

and it created successfully when I try to update these zip using nRF Toolbox it updates bootloader succesfully but it fails to update application and nRF Toolbox stops as shown below, board get disconnected and advertising with previous application

image description

can any one help me to slove these issue

thanks in advance

Parents Reply Children
  • Hi Bjorn, I also tried to upload SD+Bootloader+Application zip and it updates successfully some thing same as nRF Toolbox above screen shot after updated it advertsing with new bootloader and new application is not updated and previous application is also not advertsing it advertising new bootloader. when I extract zip file it have application.dat and bin, sd_bl.dat and bin files So I thought it updated softdevice and bootloader only. But I saw one post as BL+App+Bootloader zip updates working link text
    In these they using secure bootloader and S132 v3.0.0 that means it only works in SDK12 it not works for SD11

  • Are you using the standard bootloader from SDK v11? If yes, then the image you have created will not work since you are signing the image with a key. Signed firmware images are not supported in SDK v11.

  • I'm using signing bootloader in SDK v11. And in android from nRF Toolbox v1.18.4 it updates all combinations sucessfully that means bootloader,application,sd,sd+booloader,bootloader+application and sd+bootloader+application. But in ios I'm using nRF Toolbox v4.1.1 I think it is the latest one it updates bootloader,application,sd,sd+bootloader,sd+bootloader+application successfully but when I try bootloader+application it not updating application its updates only bootloader

  • @rajkumar: I just tested performing a DFU with a ble_app_hrs + bootloader image, using nRF Toolbox v4.1.1, and I was able to update both the bootloader and the application. The screenshot you have attached shows the first update (1/2), which updates the bootloader. After the bootloader has been updated, the app will disconnect and then re-start the DFU process to update the application. What happens after the first update is finished when you try to perform the DFU?

  • @Bjørn Spockeli: when I tested with nRF Toolbox v4.1.1 it successfully completing the first update that means bootloader and disconnected but not re-connected to the board and stops at the screen which I mentioned in screen shot when scan with anothes phone board is advertsiing with previous application. If the zip contains sd+bl+app it re-connected and updates application also.

Related