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

NRF_ERROR_NO_MEM nrf52810, S112, SDK15

I have this error.

In a last time with same error on a nRF52832 I decided this problem with increase:

// <o> NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE - Attribute Table size in bytes. The size must be a multiple of 4. 
#ifndef NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE
//#define NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE 1408
#define NRF_SDH_BLE_GATTS_ATTR_TAB_SIZE 2000
#endif

// <o> NRF_SDH_BLE_VS_UUID_COUNT - The number of vendor-specific UUIDs. 
#ifndef NRF_SDH_BLE_VS_UUID_COUNT
#define NRF_SDH_BLE_VS_UUID_COUNT 3
#endif

On the 52832 it works. But on the 52810- project fall. 

How to fix it?

May be should increase some memory?

Another problem- I can't tune RTT viewer for nrf52810.

Parents Reply
  • And you can't get the log to work? Usually, the NRF_LOG will tell you what memory settings you should set. Do you use SDK15.0.0?

    It is the function nrf_sdh_ble_enable() in nrf_sdh_ble.c that says what RAM settings you should set. What happens when you try to monitor the log? 

    If you can't get the log to work, you can try to call ram_end_address_get() (and see what it returns). and check the *p_app_ram_start to calculate the RAM start and size.

    RAM Start = p_app_ram_start (the content, not the pointer itself)

    RAM Size = ram_end_address_get() - p_app_ram_start (again, the value, not the pointer itself).

Children
Related