public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Debugging uBoot with JTAG/Trace32 ?
@ 2010-12-20 15:31 vijay dixit
  2010-12-20 15:38 ` Wolfgang Denk
  2010-12-21 14:27 ` Detlev Zundel
  0 siblings, 2 replies; 3+ messages in thread
From: vijay dixit @ 2010-12-20 15:31 UTC (permalink / raw)
  To: u-boot

Hello,

         I am bit new to this field and my query here is understandably a
bit vague. I am particularly interested in how any of you, who have had
experience with uBoot and a JTAG debugger (like a Lauterbach), have gone
about tackling and resolving an issue within uBoot.

Specifically, I would really appreciate if you could describe the
*problem*encountered within uBoot, and how did the JTAG/Trace32
debugging help you
resolve the issue.

Thanks,

Vijay

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] Debugging uBoot with JTAG/Trace32 ?
  2010-12-20 15:31 [U-Boot] Debugging uBoot with JTAG/Trace32 ? vijay dixit
@ 2010-12-20 15:38 ` Wolfgang Denk
  2010-12-21 14:27 ` Detlev Zundel
  1 sibling, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2010-12-20 15:38 UTC (permalink / raw)
  To: u-boot

Dear vijay dixit,

In message <AANLkTimACLSNPsCJc7vxmpFrMfAR1VAC_ZcvGYYS_g8p@mail.gmail.com> you wrote:
>
>          I am bit new to this field and my query here is understandably a
> bit vague. I am particularly interested in how any of you, who have had
> experience with uBoot and a JTAG debugger (like a Lauterbach), have gone
> about tackling and resolving an issue within uBoot.

Using a JTAG debugger is for some of as as natural as using a cell
phone.  Many of us use BDI2000 /  BDI3000 or other devices, only few
use Lauterbach.

> Specifically, I would really appreciate if you could describe the
> *problem*encountered within uBoot, and how did the JTAG/Trace32
> debugging help you
> resolve the issue.

I've never used Trace32 before, so I cannot help you with that, sorry.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Research is what I'm doing when I don't know what I'm doing.
                                                 -- Wernher von Braun

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] Debugging uBoot with JTAG/Trace32 ?
  2010-12-20 15:31 [U-Boot] Debugging uBoot with JTAG/Trace32 ? vijay dixit
  2010-12-20 15:38 ` Wolfgang Denk
@ 2010-12-21 14:27 ` Detlev Zundel
  1 sibling, 0 replies; 3+ messages in thread
From: Detlev Zundel @ 2010-12-21 14:27 UTC (permalink / raw)
  To: u-boot

Hi Vijay,

>          I am bit new to this field and my query here is understandably a
> bit vague. I am particularly interested in how any of you, who have had
> experience with uBoot and a JTAG debugger (like a Lauterbach), have gone
> about tackling and resolving an issue within uBoot.
>
> Specifically, I would really appreciate if you could describe the
> *problem*encountered within uBoot, and how did the JTAG/Trace32
> debugging help you
> resolve the issue.

Having a BDI at my disposal, I tackle most of U-Boot related problems
with it.  But of course a JTAG debugger is indispensible when doing a
fresh board port for a "traditionally booting"[1] system.  Usually for
such a cycle the JTAG NOR flash capability is used to program the
development U-Boot and debug it.  This continues until U-Boot is able to
flash itself.  From then on it depends on personal taste whether to use
it to debug easier (e.g. driver) problems.

Cheers
  Detlev

[1] Out of reset the CPU starts executing instructions from NOR flash

-- 
Die Mengenlehre in der Schule ist daran gescheitert, dass man sie mit ihrem
Vokabular verwechselt hat.
                                     -- Norbert Treitz
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-12-21 14:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-20 15:31 [U-Boot] Debugging uBoot with JTAG/Trace32 ? vijay dixit
2010-12-20 15:38 ` Wolfgang Denk
2010-12-21 14:27 ` Detlev Zundel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox