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!
What bootloader project do you use? serial or BLE? And dual bank or single bank?
I ask because I would like to test, and see what sort of error causes the issue.
Thank you very much for your reply!
I used dual_bank_ble_s130.In addition, I hope you can help us solve this problem as soon as possible. Our product problem is waiting for upgrading. Thanks again!
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?
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.
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?
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.
Upgrading different boots by changing the value of DFU_APP_DATA_RESERVED repeats this problem.
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?