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

can I update bootlader over the air

I'm using nrf51822, sd 10 and bootlader from sdk10. I can perform DFU to my application by loading the zip file with nRF master control.

Now I performed some customizations on the bootloader. I'm looking for a way to update the bootlader itself over the air because the product is already in the market.

with nRF master control, I created the zip file for the bootlader, I selected bootlader in the specify Upload Mode Mask then I loader the bootlader but it's the application which is flashed !!!!

here the application hex and the bootloader hex and the bootloader zip file. I'm using sdk10, SD 8.0

any help please.

Parents
  • The bootloader image is 16kB(16384bytes), but the the space allocated to the bootloader is 0x3FC00 - 0x3C000 = 0x3C00 (15360bytes). This is because you have set the BANK_APP_VALID flag in the bootloader settings at 0x3FC00 resulting in that flash page getting included in the hex file. You can only set the BANK_APP_VALID when youre programming the bootloader with a programmer the first time. When you're performing a OTA DFU, the bootloader settings must not be set, because this will make the firmware image to big!

Reply
  • The bootloader image is 16kB(16384bytes), but the the space allocated to the bootloader is 0x3FC00 - 0x3C000 = 0x3C00 (15360bytes). This is because you have set the BANK_APP_VALID flag in the bootloader settings at 0x3FC00 resulting in that flash page getting included in the hex file. You can only set the BANK_APP_VALID when youre programming the bootloader with a programmer the first time. When you're performing a OTA DFU, the bootloader settings must not be set, because this will make the firmware image to big!

Children
No Data
Related