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

ERROR 4 [NRF_ERROR_NO_MEM]

hello, 

i am using nrf52840 in our customised board and i am getting this error while debugging the application 

4<debug> nrf_sdh_ble: RAM starts at 0x20004230
<error> app: ERROR 4 [NRF_ERROR_NO_MEM] at G:\NRF_CODE_to prajual\nrf52840_15.2_deca\nRF5_SDK_15.2.0_9412b96\examples\my_projects\NRF_COASTERADDED\main.c:428
PC at: 0x0002A1AD
<error> app: End of error report

but i have initialised all the required parameters for lbs in sdk_config and i also changed the ram starting address and size with the help of this  NRF_LOG_DEFAULT_LEVEL 4 NRF_SDH_BLE_LOG_LEVEL 4 but nothing worked can anyone tell me how can i resolve this issue

static void lbs_c_init(void)
{
    ret_code_t       err_code;
    ble_lbs_c_init_t lbs_c_init_obj;

    lbs_c_init_obj.evt_handler = lbs_c_evt_handler;

    err_code = ble_lbs_c_init(&m_ble_lbs_c, &lbs_c_init_obj);
    printf("%d",err_code);
   APP_ERROR_CHECK(err_code);
}

thanks and regards

manikandan v

Related