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

hrs_rscs_relay sd_ble_gap_adv_data_set error code 00000010

Hello,

I'm trying to use ble_app_hrs_rscs_relay_pca10056_s140 on a nRF52840 Preview DK using example from SDK 13.0.0_04a0bfd.

When I copy the precompiled .hex file in the file explorer, everything is fine.

I have an issue when I try to build then run the project myself with Segger Embedded Studio v3.26

The Build part works fine. But I have an error in the debug part.

In the advertising_init function, I get an error with code 00000010 when the function ble_advertising_init is called.

ble_advertising_init.PNG

ble_advdata_set.PNG

I haven't changed anything in the code so far.

Do you have any advice?


EDIT :

Call to sd_ble_gap_adv_set() in debugger: sd_ble_gap_adv_data_set.PNG

Section Placement Macro : FLASH_START=0x24000 SRAM_START=0x20002c50

Thank you


FINAL : I was not using the right sofdevice. s140 v 5.0.0-3alpha is not compatible with SDK 13 at the moment. Works now with :

FLASH_START=0x22000 SRAM_START=0x20002c50

Related