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

Failed in initializing the SoftDevice handler module

I'm using PCA100001 board with pure-gcc Makefile and s110_nrf51822_5.2.1_softdevice. And I'm writing simple code customizing s110 samples like below:


static void ble_stack_init(void)
{
    // Initialize the SoftDevice handler module.
    SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, false);
}

int main(void)
{
    // Initialize.
    leds_init();
    ble_stack_init();
    // Rest of code does not execute...
    ...
}


Flash command and its results seems correct, but the process is failed in initializing the SoftDevice handler module. I'd appreciate it if you could give me some advice.

$ make clean $ make $ make flash-softdevice $ make flash

Thanks in advance.

Related