GDB Stub/ debugging without JTAG via UART
Posted: Mon Jun 22, 2020 6:20 am
Hi Guys,
we have a custom hardware design, unfortunately we have no chance using a JTAG debugger because we need those pins for other things like Sd Card interface and other peripherials. No chance to strip this down.
So the one and only possibility is using the UART interface /the one which is the terminal interface).
When a crash happens we have always a hard time to debug, we work with back trace or we are enabling the the gdb stub handler, which automatically starts the gdb after a crash. The documentation for using the gdb in this case is very poor (maybe I miss something), also the possibilities in interacting are limited without JTAG.
a. Is there a better implementation of a GDB stub available which allows better debugging via UART Terminal interface?
b. Is there a documentation available? (what does the gdb stub really support without JTAG which is usefull, small examples would be nice. Knowing that e.g. breakpoints are not possible)
c. Is it possible to use the GDB from e.g. Eclipse to work with the ESP gdb stub without JTAG? (instead of the painfull console environment?)
Thanks in advance
Juergen
we have a custom hardware design, unfortunately we have no chance using a JTAG debugger because we need those pins for other things like Sd Card interface and other peripherials. No chance to strip this down.
So the one and only possibility is using the UART interface /the one which is the terminal interface).
When a crash happens we have always a hard time to debug, we work with back trace or we are enabling the the gdb stub handler, which automatically starts the gdb after a crash. The documentation for using the gdb in this case is very poor (maybe I miss something), also the possibilities in interacting are limited without JTAG.
a. Is there a better implementation of a GDB stub available which allows better debugging via UART Terminal interface?
b. Is there a documentation available? (what does the gdb stub really support without JTAG which is usefull, small examples would be nice. Knowing that e.g. breakpoints are not possible)
c. Is it possible to use the GDB from e.g. Eclipse to work with the ESP gdb stub without JTAG? (instead of the painfull console environment?)
Thanks in advance
Juergen