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,