This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

APP stucks with S120 v2.0.0

Hello,

I'm using a custom board (nRF51822 QFACA chip), with the optional 32KHz crystal.

When, I use the SDK 5.1.0 and the S120, my code works perfectly. But when I try to start my new updated code for the SDK 8.1.0 (S120 v2.0.0), the code stops at this instruction line of "softdevice_handler.c":

err_code = sd_softdevice_enable(clock_source, softdevice_assertion_handler);

This line of code is called when I call softdevice_handler_init() of my ble_stack_init:

SOFTDEVICE_HANDLER_INIT(NRF_CLOCK_LFCLKSRC_RC_250_PPM_8000MS_CALIBRATION, NULL);

Do you have any idea of what wrong with my code?

Thanks

Parents
  • have you recompiled everything for the new softdevice against the correct headers?

    Check the IROM and IRAM settings correct for the new softdevice although I'd think they'd be right if you're getting into your code at all.

    Are you ending up in the softdevice assertino handler?

    Either way the chip doesn't stop, it's somewhere, hit break and find out where it is.

Reply
  • have you recompiled everything for the new softdevice against the correct headers?

    Check the IROM and IRAM settings correct for the new softdevice although I'd think they'd be right if you're getting into your code at all.

    Are you ending up in the softdevice assertino handler?

    Either way the chip doesn't stop, it's somewhere, hit break and find out where it is.

Children
No Data
Related