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?