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

Application hangs on SVC_HANDLER after ble_stack_init

Hi, I am using nrf51822 pca10004 with SDK110 v8 , I got a problem that the code hangs in sd_softdevice_enable and stuck in SVC_Handler.

Thanks, Nagaraj

Parents
  • I am also stuck in the same state as Nagaraj. I am trying to run example ble_periheral/experimental_ble_app_blinky in my custom board. The control goes to undefined PC locations after calling sd_softdevice_enable()

    • Using 12.3.0 SDK

    • using nRF51822QFAA H0

    • GCC/Eclipsce with memory map contained in .ld file is MEMORY { FLASH (rx) : ORIGIN = 0x0001B000, LENGTH = 0x25000 RAM (rwx) : ORIGIN = 0x200013c8, LENGTH = 0x2c38 }

    • No external 32Khz XTAL, just using internal RC osc with following config before calling SOFTDEVICE_HANDLER_INIT

    nrf_clock_lf_cfg_t clock_lf_cfg =
    {.source = NRF_CLOCK_LF_SRC_RC,
    .rc_ctiv = 4,
    .rc_temp_ctiv = 1 } ;

    • my stack looks like this main() -> ble_stack_init() -> softdevice_handler_init() -> sd_softdevice_enable() -> 0xfffffffe
Reply
  • I am also stuck in the same state as Nagaraj. I am trying to run example ble_periheral/experimental_ble_app_blinky in my custom board. The control goes to undefined PC locations after calling sd_softdevice_enable()

    • Using 12.3.0 SDK

    • using nRF51822QFAA H0

    • GCC/Eclipsce with memory map contained in .ld file is MEMORY { FLASH (rx) : ORIGIN = 0x0001B000, LENGTH = 0x25000 RAM (rwx) : ORIGIN = 0x200013c8, LENGTH = 0x2c38 }

    • No external 32Khz XTAL, just using internal RC osc with following config before calling SOFTDEVICE_HANDLER_INIT

    nrf_clock_lf_cfg_t clock_lf_cfg =
    {.source = NRF_CLOCK_LF_SRC_RC,
    .rc_ctiv = 4,
    .rc_temp_ctiv = 1 } ;

    • my stack looks like this main() -> ble_stack_init() -> softdevice_handler_init() -> sd_softdevice_enable() -> 0xfffffffe
Children
No Data
Related