How to change the application start address in NCS?

Hi Nordic community,

How do I change the start address of an NRF54L15 application in NCS Zephyr?

I need an address other than the default 0.

I have tried adding 

CONFIG_FLASH_LOAD_OFFSET in the config and made relevant changes in the dts partition, but ended up with no change in the address.
Will I be able to start the code directly at a specific address (E.g., 0x00002000) on every reboot?
If not, what could be the best way to run an application at a specific address on reboot?
Any help is much appreciated.
Parents
  • Hello,

    Execution always starts from the reset handler pointed to by the reset vector at address 0x4 after a reset. So if you want to boot an application at a different address, you must have a bootloader at address 0x0 that can branch to your application. Maybe you could say a bit more about what you are trying to achieve with this?

    Best regards,

    Vidar

Reply
  • Hello,

    Execution always starts from the reset handler pointed to by the reset vector at address 0x4 after a reset. So if you want to boot an application at a different address, you must have a bootloader at address 0x0 that can branch to your application. Maybe you could say a bit more about what you are trying to achieve with this?

    Best regards,

    Vidar

Children
Related