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

Failure to upgrade Bootloader

Hi Nordic,

    I use NRF51802 SDK 11.0.

    Now we encounter the problem of insufficient product code space, so we want to expand the CODE area by modifying the value of DFU_APP_DATA_RESERVED.

    Since our products have been produced, we must upgrade BOOT to achieve it. The code space reserved for the production product is 16K. Now we need to change it to 8K.

    But if you use a new boot (DFU_APP_DATA_RESERVED = 8) to upgrade, the system fails to start after the upgrade is completed. If you use boot (DFU_APP_DATA_RESERVED = 16) to upgrade, the upgrade will succeed.

    So can't the value of DFU_APP_DATA_RESERVED be changed when boot upgrades?

    We look forward to your reply! Thanks!

Parents Reply Children
  • Hello,

    I am having some problems creating a DFU image that works with the old bootloader from SDK11. What version of nrfutil do you use?

    Do you see where the application is stuck when you try to upgrade the device? Do you get any log messages? Does the application try to start, or is it stuck in the bootloader?

    BR,

    Edvin

  • Hi Edvin,

    The version of nrfutil is 0.3.0.0.

    My test found that the new BOOT did not start after the upgrade.It's stuck here.So the application code was not executed.So I hope you can repeat this problem as soon as possible.

  • Hello,

    Ok. so you have done 3 steps by now (probably).

    You started with an old application and bootloader, right? And you wanted to update the bootloader, softdevice and application, is that correct?

    Can you copy and paste all the nrfutil commands that you used to generate these DFU images?

    So did you manage to update the bootloader + SD? Or only one of these? Were this created in one DFU image, or two separate?

    Did you also update the application? Or have you not come to that yet?

    Best regards,

    Edvin

  • Hi Edvin,

    I tested using SDK11.0 and nrf51822DK development boards to verify that this problem also exists.

    Maybe you can reproduce the problem in my way. This will help you to see the problem clearly.

    Boot: nRF5_SDK_11.0.0_89a8197\examples\dfu\bootloader\pca10028\dual_bank_ble_s130\arm5_no_packs

    App:

    nRF5_SDK_11.0.0_89a8197\examples\ble_peripheral\ble_app_hrs\pca10028\s130_with_dfu\arm5_no_packs

    Upgrading different boots by changing the value of DFU_APP_DATA_RESERVED repeats this problem.

    Thanks again!

  • Hello,

    I am having problems doing any DFU at all in this SDK, because I can't get the old nrfutil up and running. It seems like some of the dependencies are deprecated. You don't happen to have an nrfutil.exe file for nrfutil 0.3.0.0 that you can send? I can't get the python scripts running.

    How did you create the DFU packets? Can you please paste the nrfutil commands?

    Best regards,

    Edvin

Related