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

how can I change flash address in the code using nrf connect sdk for nrf5340

Hi ,

Technical Environment details:

  • nRF Connect SDK
  • segger Embedded Studio
  • nRF5340 DK board

1. I have enabled immutable bootloader and MCUboot bootloader.

2. Compiled fade_led sample code for nRF5340 DK board and some of the files generated during compiled time in the build directory.

3. I have observed pm_config.h file in build directory which is having partition manager configure information like as bootloader start address, end address and size of bootloader, application start , end addresses and application size .

I don't understand , If I want to change the start address and end address, size of the image in the partition manager . how can I do it.

Thanks & Regards,

Srinivas Rao.

Parents
  • Hi, Srinivas!

    As you mention the partition manager configures the start address and size of RAM and flash partitions of multi image builds. You can configure the partitions using pm.yml files, as explained in the documentation. The documentation also contains some example configurations. What do you want do change?

    Best regards,
    Carl Richard

  • Hi Carl,

    Thanks for your reply.

    MCUboot bootloader:

    I am able to see pm.yml file in the below folder for MCUboot. but I am not able to see the start address of the MCUboot, End address of the MCUboot and size of the MCUboot in the configuration file.

    v1.5.0\bootloader\mcuboot\boot\zephyr\pm.yml

    Immutable bootloader:
    I am able to see pm.yml file in the below folder for immutable bootloader. but I am not able to see the start address of the immutable bootloader, End address of the immutable bootloader and size of the immutable bootloader in the configuration file.

    v1.5.0\nrf\samples\bootloader\pm.yml

    Regards,

    Srinivas.

Reply
  • Hi Carl,

    Thanks for your reply.

    MCUboot bootloader:

    I am able to see pm.yml file in the below folder for MCUboot. but I am not able to see the start address of the MCUboot, End address of the MCUboot and size of the MCUboot in the configuration file.

    v1.5.0\bootloader\mcuboot\boot\zephyr\pm.yml

    Immutable bootloader:
    I am able to see pm.yml file in the below folder for immutable bootloader. but I am not able to see the start address of the immutable bootloader, End address of the immutable bootloader and size of the immutable bootloader in the configuration file.

    v1.5.0\nrf\samples\bootloader\pm.yml

    Regards,

    Srinivas.

Children
Related