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

Attaching gdb to running nRF51822

I have an nRF51822 board that is running fine for a while. At some point, it runs into an error and calls ble_debug_assert_handler() and goes into an infinite loop. At that point, I would like to hook it up to a JLink and start gdb to find what the error is and where it occurs. My question: Would someone help showing how I can attach gdb to a running nRF51822 please?

Note: I do not want to attach the JLink to the board and running gdb from the start (before an error occurs), because I need to have the board unattached to move it around to generate the errors.

Thanks!

Parents Reply Children
No Data
Related