Beware that this post is related to an SDK in maintenance mode
More Info: Consider nRF Connect SDK for new designs
This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Insufficient RAM allocated for the SoftDevice in nrf_sdh_ble_enable

Hi,

I've defined:

#define NRF_SDH_BLE_GATT_MAX_MTU_SIZE 120 (in sdk_config.h)

I get "Insufficient RAM allocated for the SoftDevice" in nrf_sdh_ble_enable

nrf_sdh_ble_enable parameter *p_app_ram_start == 0

I'm using the last SDK version (15.0) on nRF52840

Please advise.

Thanks!,

Daniel

Parents Reply
  • Martin,

    Do you refer to the following lines in the flash_placement.xml file?:

    <MemorySegment name="RAM" start="$(RAM_PH_START)" size="$(RAM_PH_SIZE)">
    <ProgramSection load="no" name=".reserved_ram" start="$(RAM_PH_START)" size="$(RAM_START)-$(RAM_PH_START)" />
    <ProgramSection alignment="0x100" load="No" name=".vectors_ram" start="$(RAM_START)" address_symbol="__app_ram_start__"/>

    If so, I still don't understand how to change it. If not, can you kindly elaborate where I need to change.

    Thanks,

    Daniel

Children
No Data
Related