flash address change when add CONFIG_BOOTLOADER_MCUBOOT=y

Hi,
I referred to the zephyr/samples/drivers/soc_flash_nrf/ code, and when I added CONFIG_BOOTLOADER_MCUBOOT=y, the flash storage started from address 0xfc000. Why did this address change?
storage_partition: partition@f8000 {
label = "storage";
reg = <0x000f8000 0x00008000>;
};
Also, am I able to change the storage_partition flash address? If yes, how can I change it?
Every time I try to change the storage_partition address, it still starts at 0xfc000.
Parents Reply
  • Hi,

    There will be a partition for persistent storage in flash as well (such as settings which you can use for other things, and which is also used by the BT stack for bondign information). You can go to the build directory and type "ninja partition_manager_report" to see a representation of the parition layout tenerated by the partition manager (it is also possible in the nRF Connec for VS Code GUI if you select the build folder under application sand us eMemory report, but it does not currently show the partitions with SDK 2.7.0). See the Parition manager documentation for more details.

Children
Related