Re: Debugging NRF51822 (OpenOCD + GDB)

Boie, Andrew P

OK, I finally was able to catch the fault while I had a serial console connected
and here’s what I saw:

***** HARD FAULT *****
Executing thread ID (thread): 0x20001908
Faulting instruction address: 0xbc76

What do I do with that info? Is there a way to determine what code
corresponds to that address?
Yes, the addr2line tool will show you this, if you run it on the zephyr.elf binary.


Join to automatically receive all group messages.