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

52832 NRF_ERROR_NO_MEM

sd_ble_enable() returned NRF_ERROR_NO_MEM.

when I change this:

NRF_SDH_BLE_GATT_MAX_MTU_SIZE    23       to  247
NRF_SDH_BLE_GAP_DATA_LENGTH        27       to  251
here are turn up  this problems:

00> <warning> nrf_sdh_ble: Insufficient RAM allocated for the SoftDevice.
00>
00> <warning> nrf_sdh_ble: Change the RAM start location from 0x20002270 to 0x20002AD8.
00>
00> <warning> nrf_sdh_ble: Maximum RAM size for application is 0xD528.
00>
00> <error> nrf_sdh_ble: sd_ble_enable() returned NRF_ERROR_NO_MEM.
00>
00> <error> app: ERROR 0x00000004 [NRF_ERROR_NO_MEM] at ../../../main.c:478
00>
00> PC at: 0x0002FEB9
00>
00> <error> app: End of error report

and then I do this :

in my ld file:

MEMORY
{
FLASH (rx) : ORIGIN = 0x26000, LENGTH = 0x5a000
RAM (rwx) : ORIGIN = 0x20002270, LENGTH = 0xdd90
}

to this 

MEMORY
{
FLASH (rx) : ORIGIN = 0x26000, LENGTH = 0x5a000
RAM (rwx) : ORIGIN = 0x20002ad8, LENGTH = 0xd528
}

then the nothing to change .the same error log turn up.

who can help me ? thx all! 

Parents Reply Children
Related