This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Relocating Bootloader by DFU

Hi, I have flashed boot loader to 0x7A000 (Size 24kb) and Softdevice to NRF52 DK ,then flashed application using nRF connect . Am also able to update application after adding buttonlesse BLE DFU services in Application. Now I want to relocate Bootloader address whose size has increased to 28KB to 0x79000. Is it possible to update via BLE DFU ? as per the below link we need erase flash complete and flash new binaries

infocenter.nordicsemi.com/index.jsp

Is the above link still valid for SDK 11.0?

Parents
  • Hi Srikar,

    it is not possible to change the bootloader address written to UICR.BOOTLOADERADDR from running code.

    The only way to relocate the bootloader is to erase the device and then flash the bootloader as mentioned in the link you provided.

    Note that UICR.BOOTLOADERADDR can only be written if you use nrfjprog.exe as the tool for flash programming. Always erase the device before programming the bootloader, so that the value can be set correctly.

    -Bjørn

Reply
  • Hi Srikar,

    it is not possible to change the bootloader address written to UICR.BOOTLOADERADDR from running code.

    The only way to relocate the bootloader is to erase the device and then flash the bootloader as mentioned in the link you provided.

    Note that UICR.BOOTLOADERADDR can only be written if you use nrfjprog.exe as the tool for flash programming. Always erase the device before programming the bootloader, so that the value can be set correctly.

    -Bjørn

Children
Related