error_code = nrf_sdh_ble_enable(&ram_start); APP_ERROR_CHECK(err_code);
recived error code 4
I am using nrf52840 for my application and use ble_app_template_pca10056_s140 for my project
and receives error code 4 for nrf_sdh_ble_enable
error_code = nrf_sdh_ble_enable(&ram_start); APP_ERROR_CHECK(err_code);
recived error code 4
I am using nrf52840 for my application and use ble_app_template_pca10056_s140 for my project
and receives error code 4 for nrf_sdh_ble_enable
00> <error> app: ERROR 8 [NRF_ERROR_INVALID_STATE] at /home/jay/work/nRF5_SDK_17.1.0_ddde560/examples/ble_peripheral/ble_app_template/main.c:105
00>
00> PC at: 0x0002B9DD
00>
00> <error> app: End of error report
00> <error> app: ERROR 4 [NRF_ERROR_NO_MEM] at /home/jay/work/nRF5_SDK_17.1.0_ddde560/examples/ble_peripheral/ble_app_template/main.c:118
00>
00> PC at: 0x0002BA1F
00>
00> <error> app: End of error report
00> <info> app_timer: RTC: initialized.
00>
00> <debug> nrf_sdh: State request: 0x00000000
00>
00> <debug> nrf_sdh: Notify observer 0x0003EB94 => ready
00>
00> <debug> nrf_sdh: State change: 0x00000000
00>
00> <debug> nrf_sdh: State change: 0x00000001
00>
00> <warning> nrf_sdh_ble: Insufficient RAM allocated for the SoftDevice.
00>
00> <warning> nrf_sdh_ble: Change the RAM start location from 0x20002C60 to 0x20003F08.
00>
00> <warning> nrf_sdh_ble: Maximum RAM size for application is 0x3C0F8.
00>
00> <error> nrf_sdh_ble: sd_ble_enable() returned NRF_ERROR_NO_MEM.
Hi
I have changed the RAM_START to 0x20003F08
and both issue have been resolved
Thanks for help!!!
I believe I'm struggling with the exact same issue, how did you get the full log? I only receive the same logging as your previous message.