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

Heart Rate Service hangs while debugging with eclipse on nRF51822 dev kit

Hi,

I set up eclipse according to n-AN29 and imported several of the example projects. The blinky_example project described in the nRF51822 dev kit user's guide works perfectly (I get blinking LEDs). When I try to use the heart rate service example, it will hang while initializing the ble stack (in ble_stack_init() on line 753 in main.c)

If I step through the code using the debugger, then I eventually get to line 121 of nrf_sdm.h: SVCALL(SD_SOFTDEVICE_ENABLE, uint32_t, sd_softdevice_enable(nrf_clock_lfclksrc_t clock_source, softdevice_assertion_handler_t assertion_handler)); This seems to be the function that hangs.

I haven't changed the code from the example project at all.

Thanks in advance for any help you can give. Please let me know if you need any other info.

Related