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

sd_softdevice_enable loop

Hello,

I have a program that do an infinite loop in sd_softdevice_enable. How can i investigate ?

Loop is from 0x00009DEA to 0x00009DF2

Target is nRF52832 AA with nRF5_SDK_13.0.0_04a0bfd / s132_nrf52_4.0.2_softdevice.hex

Parents
  • Hi,

    Are you using the exact same code for the Sparkfun board? Make sure that you have flashed the correct SoftDevice. As mentioned by Luk3, a reset from sd_softdevice_enable() is usually caused by wrong RAM start address( error-code NRF_ERROR_NO_MEM(=4) ).

    Note that a reset indicates that you are running into the error handler, where the default behavior is to do a reset. You should then debug in order to find the reason for the reset. See this post about debugging.

Reply
  • Hi,

    Are you using the exact same code for the Sparkfun board? Make sure that you have flashed the correct SoftDevice. As mentioned by Luk3, a reset from sd_softdevice_enable() is usually caused by wrong RAM start address( error-code NRF_ERROR_NO_MEM(=4) ).

    Note that a reset indicates that you are running into the error handler, where the default behavior is to do a reset. You should then debug in order to find the reason for the reset. See this post about debugging.

Children
No Data