On Mon, Oct 11, 2010 at 12:36 AM, Michael Hope michael.hope@linaro.org wrote:
Hi Øyvind. You might want to ask the OpenOCD list about this. I've used the DCC as an end user before for sending printf() style messages and RPC over and it's quite good for that.
I did, no response. (I'm also one of the main OpenOCD maintainers :-)
I'm not sure how your proposal would work though. My understanding is that the DCC is only accessible over JTAG and, if you already have a JTAG connection, then you might as well use that to debug.
OpenOCD / JTAG is not great for application debugging.
What I envisage is to use gdbserver for application debugging and JTAG for kernel debugging. gdbserver would talk over JTAG DCC serial port and kernel debugging would happen via normal JTAG debugging.
In "normal" JTAG debugging mode the CPU is halted.
Here are some commercial implementations of kernel + application debugging:
www.arium.com/pdf/CompleteLinuxDebugging.pdf
(This one is in German, but with a bit of googling, you'll find an English one of the same PDF).
http://www.lauterbach.com/publications/integriertes_run_und_stop_mode_debugg...