RE: Debugging U-Boot standalone apps on Tegra 2 board
From: Tom Warren <hidden>
Date: 2012-08-23 17:47:58
The main Harmony PC board (1162) connects via ribbon cable to a debug board (1137) w/20-pin JTAG, RS-232 serial port, etc. if I remember correctly (haven't touched my Harmony in a long time). Once you have the debug board, any JTAG dongle will connect - we use the Flyswatter from TinCanTools, and/or the parallel-port JTAG adapters, as well as the Lauterbach. As Stephen says - whoever gave you the Harmony originally should be able to help you get the debug board to go with it. HTH, Tom
-----Original Message----- From: Stephen Warren [mailto:swarren-3lzwWm7+Weoh9ZMKESR00Q@public.gmane.org] Sent: Thursday, August 23, 2012 10:41 AM To: Nuno Santos; Tom Warren; Allen Martin Cc: linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org Subject: Re: Debugging U-Boot standalone apps on Tegra 2 board On 08/23/2012 10:38 AM, Nuno Santos wrote:quoted
Hi I'm currently running U-Boot on the Tegra2 Harmony board and I'd appreciate some help on how to debug U-Boot standalone applications. I'm currently stuck with some nasty bugs and without a debugger it will be extremely painful to fix them. I read that using a JTAG device seems to be the best option. According to the technical specs of the Harmony board, JTAG is supported and looking at the board, there's apparently a debug port (J10). However, this port looks too tiny to be a regular JTAG interface. Do you have any idea if a JTAG debugger is indeed supported? If so, could you please recommend me one that is compatible with this board? Otherwise, are you aware of an alternative approach for debugging the system? I really appreciate your help on this. Thanks in advance.I've CC'd a couple of people more involved in U-Boot and JTAG debugging. For Harmony, I believe you need an external debug board to expose the JTAG connector in a standard form-factor. I don't know if these are available; it's probably best to ask whoever you got your Harmony from.