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

How to increase bootloader size in SDK 15.3?

I tried to increase the bootloader size by reducing IROM start address and increasing size but I always get the same error:

.\_build\nrf52832_xxaa_s132.axf: Error: L6407E: Sections of aggregate size 0x131c bytes could not fit into .ANY selector(s).

I set start to 0x5E000 and size to 0x20000.  Is this the correct way to increase size?  I want to combine BLE and UART into a single bootloader because sometimes I want to use one or the other but not both at the same time.  Does anyone know If this design is possible?  I can't get past compilation to test because of this size problem.

Parents Reply
  • I am making a bootloader that supports both BLE and UART so I added all the UART code to the BLE project which causes the size problem.  I increased the RAM size and the linker error goes away.  BLE mode works but UART gives this error which I am trying to debug:

    pc_ble_driver_py.exceptions.NordicSemiException: Extended Error 0x0C: The hash of the received firmware image does not match the hash in the init packet.

Children
Related