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

How to configure bootloader in order to update also softdevice via BLE and UART?

Hello,

I'm developing a solution based on nrf52832 that must be maintained for many years. I want to update my application but also softdevice.

I managed to implement an hybrid bootloader (BLE + UART) and it works flawlessly while updating my application. I wonder how to update also the softdevice.

Do I need to change the linker flash areas to ensure a bigger softdevice would fit in future? My actual linker configuration for bootloader and application is the following:

  • BOOTLOADER

    FLASH (rx) : ORIGIN = 0x76000, LENGTH = 0x8000
    RAM (rwx) : ORIGIN = 0x200057b8, LENGTH = 0xa848
    mbr_params_page (r) : ORIGIN = 0x0007E000, LENGTH = 0x1000
    bootloader_settings_page (r) : ORIGIN = 0x0007F000, LENGTH = 0x1000

  • APPLICATION 

    FLASH (rx) : ORIGIN = 0x26000, LENGTH = 0x50000
    RAM (rwx) : ORIGIN = 0x20004000, LENGTH = 0xc000

I've tried to move the flash origin of my applicative to something like 0x29000 with length = 0x4D000 but when i flash all the hex files (application + softdevice + bootloader + configuration generated with nrfutil), the bootloader doesn't work.

Parents Reply Children
No Data
Related