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

sd_ble_uuid_vs_add get error NRF_ERROR_NO_MEM from softdevice s132 v5.0.0

Hi everyone,

I am using nRF52832 kit (PC10040), eclipse and softdevice S132 V5.0.0 for developing a BLE service. I follow the service tutorial and I refer to the code from Github which uses softdevice S132 V2.0.0. I also refer to examples in the SDK v14.0.0 which content softdevice S132 V5.0.0 for initializing the softdevice. However, when I test my code, the function sd_ble_uuid_vs_add always return NRF_ERROR_NO_MEM error!!! I have search on the Internet, and I have fix the linker script as below

MEMORY
{
  FLASH (rx) : ORIGIN = 0x23000, LENGTH = 0x5d000
  RAM (rwx) :  ORIGIN = 0x200025f8, LENGTH = 0xda08
}

Could you please help me to fix the error? Thanks.

Parents
  • So are you using SDK 14 or SDK 11?

    If you are using SDK 14 you should turn on the LOG module (you can do it in sdk_config.h) and then you should get some debug messages printed out to your Serial or RTT terminal telling you how to configure the memory settings. In the latest SDKs you will have to change the RAM settings every time you add or remove services.

Reply
  • So are you using SDK 14 or SDK 11?

    If you are using SDK 14 you should turn on the LOG module (you can do it in sdk_config.h) and then you should get some debug messages printed out to your Serial or RTT terminal telling you how to configure the memory settings. In the latest SDKs you will have to change the RAM settings every time you add or remove services.

Children
Related