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

Problems with the SDK 6 Single Bank bootloader for nrf51822

I am using nrf51822 with sdk 6. I was using double bank ble dfu for the firmware upgrade. But now I have to switch to single bank dfu since my code size has exceeded the maximum limit. I tried using the example given in this link Single bank dfu. I having some problem with this example. When I try to upgrade the bootloader using nrftool box it gives error "REMOTE DATA SIZE EXCEEDS LIMIT". I think this is because the single bank size is much bigger than the double bank dfu, as a result the IROM settings also different. I don't know how did this thing got more codesize. Second thing that I noticed is when I try to upgrade the bootloader itself it gives the error "REMOTE DFU NOT SUPPORTED". So I don't want to continue with the given example. How can I convert dual bank to single bank dfu for sdk 6. Which all files should I modify ?

Parents
  • Thank you for the help. The issue is solved. I changed the optimization level to 'Level 3' and I changed the BOOTLOADER_REGION_START to 0x0003c00. As well as I changed IROM settings also. Now it works fine. But when I try to upload bootloader from single bank dfu it gives error as I mentioned before. Does it supports bootloader and softdevice upgradation?

Reply
  • Thank you for the help. The issue is solved. I changed the optimization level to 'Level 3' and I changed the BOOTLOADER_REGION_START to 0x0003c00. As well as I changed IROM settings also. Now it works fine. But when I try to upload bootloader from single bank dfu it gives error as I mentioned before. Does it supports bootloader and softdevice upgradation?

Children
No Data
Related