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

Compiling ble_app_hrs ram_start =0; Fatal Error ; SDK 15

Hello

I compiled the example ble_app_hrs (ble_app_hrs_pca10056_s140)  from SDK 15.0 in IAR 8.11.1

I used softdevice included in the SDK15. (s140_nrf52840_5.0.0-1.alpha_softdevice.hex)

In the terminal appear :

<error> nrf_sdh_ble: sd_ble_cfg_set() returned Unknown error code when attempting to set BLE_CONN_CFG_GAP.
<error> nrf_sdh_ble: sd_ble_cfg_set() returned Unknown error code when attempting to set BLE_GAP_CFG_ROLE_COUNT.
<error> nrf_sdh_ble: sd_ble_cfg_set() returned Unknown error code when attempting to set BLE_CONN_CFG_GATT.
<error> nrf_sdh_ble: sd_ble_cfg_set() returned Unknown error code when attempting to set BLE_COMMON_CFG_VS_UUID.
<error> nrf_sdh_ble: sd_ble_cfg_set() returned Unknown error code when attempting to set BLE_GATTS_CFG_ATTR_TAB_SIZE.
<error> nrf_sdh_ble: sd_ble_cfg_set() returned Unknown error code when attempting to set BLE_GATTS_CFG_SERVICE_CHANGED.
<error> nrf_sdh_ble: sd_ble_enable() returned NRF_ERROR_INVALID_ADDR.
<error> app: Fatal error
<warning> app: System reset

// Configure the BLE stack using the default settings.
// Fetch the start address of the application RAM.
uint32_t ram_start =0;
err_code = nrf_sdh_ble_default_cfg_set(APP_BLE_CONN_CFG_TAG, &ram_start);
APP_ERROR_CHECK(err_code);

could you help to set ram_start?

and which parameter I have to set in the Vector table, and memory region?

I hope I added all the information...

the size of the program Hex is 118 KB (120.883 bytes)

thanks

Ricardo

Parents Reply Children
No Data
Related