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

sd_softdevice_enable() under gdb causing reboots

Hi,

I'm developing on a custom nrf51822-based board, and using the s110 softdevice, version 7.0.0. With JLinkGDBServer and the toolchain's gdb, I can debug softdevice-less applications normally.

Problems arise when I build my apps on top of s110. Running from flash is ok, but during GDB sessions, my device seems to be reset soon after the call to sd_softdevice_enable(), and my gdb breaks again on the main(). No such reset can be observed when running from flash.

In the s110 documentation, I can read, that after a successful call, "A portion of RAM will be unavailable". Can this issue be related to RAM mapping overlap, and is there a way to avoid this ?

Thanks,

Related