On Mon, Oct 11, 2010 at 12:36 AM, Michael Hope <michael.h...@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_debugging_fuer_embedded_linux.pdf

-- 
Øyvind Harboe
US toll free 1-866-980-3434 / International +47 51 63 25 00
http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer

_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to