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

How to change the top address of the app

SDK: 15.3.0
Example: ble_app_multirole_lesc
Device: EYSHJNZWZ (nRF52832)

I recognize by default that the top address of the app is 0x26000.
I want to change the top address of the app to 0x30000.
Therefore, I changed to the following setting (only "FLASH_START" was changed).

FLASH_PH_START = 0x0
FLASH_PH_SIZE = 0x80000
RAM_PH_START = 0x20000000
RAM_PH_SIZE = 0x10000
FLASH_START = 0x30000
FLASH_SIZE = 0xA0000
RAM_START = 0x20005000
RAM_SIZE = 0x20000

With this setting, I confirmed that the start address of the application was changed to 0x30000.
I also confirmed that the program counter would be 0x30000.
However, the app stops on the way.

Please tell us about the cause of this.

Parents Reply
  • I want to do DFU without using BootLoader.
    I want Application-A to have the ability to rewrite Application-B.
    Therefore, I want to manage the area separately for Application-A and Application-B.

    I know that BootLoader can have DFU functionality.
    However, I do not want to do DFU with BootLoader for various reasons.
    Therefore, I am considering a method of doing DFU without using BootLoader.
    As a way of doing that, I am thinking of dividing the area into Application-A and Application-B.

Children
Related