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

NRF_ERROR_NO_MEM after changing CENTRAL_LINK_COUNT

Dear Devzone,

I am working in the dynamic multiprotocol template project and want to add a BLE central connection. When I change the NRF_SDH_BLE_CENTRAL_LINK_COUNT & NRF_SDH_BLE_TOTAL_LINK_COUNT in sdk_config.h I get an error message about not enough memory.

<warning> nrf_sdh_ble: RAM starts at 0x20002748, can be adjusted to 0x200030C8.
<warning> nrf_sdh_ble: RAM size can be adjusted to 0x3CF38.
<error> nrf_sdh_ble: sd_ble_enable() returned NRF_ERROR_NO_MEM.
<error> app: ERROR 4 [NRF_ERROR_NO_MEM] at 
<error> app: ERROR 4 [NRF_ERROR_NO_MEM] at C:\Github\STIWHN\nRF5_SDK_for_Thread\projects\multiprotocol\experimental\HetNet_openThread\main.c:853

I figured out how to change the RAM locations and size in SES using the common configuration. At the 'section placement macros' I change the values to what is proposed by the application.

But when I run the application then it still does not start and only gives me the error :

<error> app: ERROR 4 [NRF_ERROR_NO_MEM] at C:\Github\STIWHN\nRF5_SDK_for_Thread\projects\multiprotocol\experimental\HetNet_openThread\main.c:685

I do not get a proposed alteration for the RAM start or size. Once I change the NRF_SDH_BLE_CENTRAL_LINK_COUNT back to zero my project runs.

I tried using different counts from 1 to ... 8

Anyone had this before or has some idea how I could fix this ?

Thanks in advance

Parents Reply Children
Related