2010-04-25 18:58:28 JTAG App Debugging
Daniel Tripp (UNITED STATES)
Message: 88880
Is it possible to debug uCLinux apps with a JTAG controller once the kernel has already booted? I've tried, but connecting via gdb-proxy halts the kernel & shell once I connect, and I can't seem to find a way to load an application for debugging.
QuoteReplyEditDelete
2010-04-25 19:06:12 Re: JTAG App Debugging
Mike Frysinger (UNITED STATES)
Message: 88881
yes and no. you're going to spend so much time dealing with system events (exceptions/interrupts) that you wont get much time in the application itself. use gdbserver for userspace debug.
QuoteReplyEditDelete
2010-04-26 00:18:18 Re: JTAG App Debugging
Robin Getz (UNITED STATES)
Message: 88883
Daniel:
You can't use JTAG to debug things - but you can use JTAG as a communications channel, an use gdbserver like normal.
-Robin
QuoteReplyEditDelete
2010-04-26 11:45:45 Re: JTAG App Debugging
Daniel Tripp (UNITED STATES)
Message: 88909
Are there any pointers for doing that? I can't seem to find anything for setting up JTAG as a communication channel for gdbserver at docs.blackfin.uclinux.org/doku.php?id=debuggers&s[]=gdbserver, and I can't seem to find anything else at blackfin.uclinux.org/gf/project/jtag.
QuoteReplyEditDelete
2010-04-26 17:09:29 Re: JTAG App Debugging
Mike Frysinger (UNITED STATES)
Message: 88918
please review the documentation:
https://docs.blackfin.uclinux.org/doku.php?id=linux-kernel:drivers:jtag-console