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

debugging softdevice applications with gdb

Hi Nordic,

Running a gdb session on nRF51, it is difficult to debug the code beyond the SoftDevice initialization. Then, I have to step through with (gdb)ni, but this is not convenient, and on top of that, system events don't seem to fire up.

I know this question has been raised many times, and I was working my way around it each time, but today, I am faced with stack overflow issues, and not being able to dump the RAM at specific breakpoints is a major pain.

Plus, it makes me look very bad, as my colleague, who is developing the master-side on iOS has no such kind of problem :)

I am aware that gdb is not officially supported by Nordic, so if there is a solution on Keil, just let me know.

Cheers,

appli_20151130.elf

Related