Memory range of application area seems incorrect in sdk example

Hi,

I am looking at this page for nRF25832 https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_bootloader.html

and I notice that the Application area (incl. free space) is 0x00026000 - 0x00078000 (328 kB = 0x52000). However, looking at SDK 17.1.0 for ble_app_beacon_pca10040_s132 it can be observed that the FLASH_SIZE = 0x5A000. This is also true for some of the other SDK examples that I checked.

Why are the SDK examples having an excess of (0x5A000 - 0x52000 = 0x8000) 32kB? Is this a bug in all SDK examples or the documentation?

Kindly help me understand this better.

Thanks

  • Hi,

    The memory layout in the table you refer to is for when you have a bootloader on your device. With a bootloader the memory range 0x78000-0x80000 will be reserved for the bootloader, MBR and bootloader settings. If you are not using a bootloader, which is the case in ble_app_beacon, then all of this space will be available to the application instead. So then the application area will be 0x26000-x80000, which equals a flash size of  0x5A000.

    Best regards,

    Marte

Related