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

SVCALL resets nRF51

Device: NRF51-DK

I'm using GDB+OpenOCD to step thru code and it appears that the nrf51 resets itself after calling:

SVCALL(SD_BLE_GAP_ADV_START, uint32_t, sd_ble_gap_adv_start(ble_gap_adv_params_t const *p_adv_params));

in file: ble_gap.h

I used nrfjprog to program the soft device and code.

I'm using the example code:

sdk/examples/ble_peripheral/ble_app_uart

Any ideas why ?

thanks,

Parents Reply Children
No Data
Related