* JTAG debug mechanism
@ 2004-08-13 5:44 Li Yang-r58472
2004-08-13 6:26 ` Dan Malek
2004-08-13 8:22 ` Song Sam
0 siblings, 2 replies; 6+ messages in thread
From: Li Yang-r58472 @ 2004-08-13 5:44 UTC (permalink / raw)
To: linuxppc-embedded
Hi,
I know this question is off topic, but I can't find a better place to ask. I will be grateful if anyone can give me a hint or direct me to a reference.
As we know PowerPC use JTAG to debug CPU, which implements a Boundary-Scan mechanism. It can manipulate any input/output signals of the CPU by a serial shift/scan process. But my question is how it can read/write the core registers and system memory as implemented by most JTAG emulators.
Thanks,
Leo
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: JTAG debug mechanism
2004-08-13 5:44 JTAG debug mechanism Li Yang-r58472
@ 2004-08-13 6:26 ` Dan Malek
2004-08-13 8:22 ` Song Sam
1 sibling, 0 replies; 6+ messages in thread
From: Dan Malek @ 2004-08-13 6:26 UTC (permalink / raw)
To: Li Yang-r58472; +Cc: linuxppc-embedded
On Aug 13, 2004, at 1:44 AM, Li Yang-r58472 wrote:
> .... But my question is how it can read/write the core registers and
> system memory as implemented by most JTAG emulators.
By using the Freescale COP implementation over the JTAG pins.
All debuggers do this. Most of us don't care about such details,
we just buy the tools, plug them in and use them.
-- Dan
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: JTAG debug mechanism
2004-08-13 5:44 JTAG debug mechanism Li Yang-r58472
2004-08-13 6:26 ` Dan Malek
@ 2004-08-13 8:22 ` Song Sam
2004-08-13 14:55 ` Mark Chambers
1 sibling, 1 reply; 6+ messages in thread
From: Song Sam @ 2004-08-13 8:22 UTC (permalink / raw)
To: Li Yang-r58472; +Cc: linuxppc-embedded
Li Yang-r58472 <LeoLi@freescale.com> wrote:
> As we know PowerPC use JTAG to debug CPU, which
But 8xx use BDM to debug CPU.So I wonder in which
situation or chips should we use BDM and JATG and
WHY??? For a embedded developer,he could more concern
about this point than JATG implementation process,I
guess.:-)
> implements a Boundary-Scan mechanism. It can manipulate any
> input/output signals of the CPU by a serial shift/scan process. But my
> question is how it can read/write the core registers and system memory
> as implemented by most JTAG emulators.
Any input is warmly welcome!
Best regards,
Sam
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: JTAG debug mechanism
2004-08-13 8:22 ` Song Sam
@ 2004-08-13 14:55 ` Mark Chambers
2004-08-13 17:18 ` Wolfgang Denk
2004-08-14 7:53 ` Song Sam
0 siblings, 2 replies; 6+ messages in thread
From: Mark Chambers @ 2004-08-13 14:55 UTC (permalink / raw)
To: Song Sam, Li Yang-r58472; +Cc: linuxppc-embedded
>
> But 8xx use BDM to debug CPU.So I wonder in which
> situation or chips should we use BDM and JATG and
> WHY??? For a embedded developer,he could more concern
> about this point than JATG implementation process,I
> guess.:-)
>
As I think you know, JTAG and Boundary Scan are industry standards intended
primarily for
board manufacturing purposes. Boundary Scan allows you access to the pins
on BGAs and other impossible-
to-reach pins on dense boards. The Motorola CPUs simply borrow these same
pins for debug purposes, but
the internal debug logic is not directly related to JTAG.
Motorola does not release all the information about the debug interface on
all their processors. However, the
BDM interface is well documented, and there is an open source project called
bdm4gdb.sourceforge.net, which
has the raw material for you to learn all you could want to know about bdm.
Good luck,
Mark Chambers
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: JTAG debug mechanism
2004-08-13 14:55 ` Mark Chambers
@ 2004-08-13 17:18 ` Wolfgang Denk
2004-08-14 7:53 ` Song Sam
1 sibling, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2004-08-13 17:18 UTC (permalink / raw)
To: Mark Chambers; +Cc: linuxppc-embedded
In message <004301c48145$a072a150$0301a8c0@chuck2> you wrote:
>
> Motorola does not release all the information about the debug interface on
> all their processors. However, the
Well, they do (or it would be impossible to build devices like the
BDI2000), but only under NDA.
> BDM interface is well documented, and there is an open source project called
> bdm4gdb.sourceforge.net, which
...and this NDA also prevents us from implementing COP support for
BDM4GDB [at least when basing the software on GDB which requires it
to be GPLed] :-(
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
Heavier than air flying machines are impossible.
-- Lord Kelvin, President, Royal Society, c. 1895
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: JTAG debug mechanism
2004-08-13 14:55 ` Mark Chambers
2004-08-13 17:18 ` Wolfgang Denk
@ 2004-08-14 7:53 ` Song Sam
1 sibling, 0 replies; 6+ messages in thread
From: Song Sam @ 2004-08-14 7:53 UTC (permalink / raw)
To: Mark Chambers; +Cc: linuxppc-embedded
Mark Chambers <markc@mail.com> wrote£º
> Motorola does not release all the information about the debug
> interface on all their processors. However, the BDM interface
> is well documented, and there is an open source project called
> bdm4gdb.sourceforge.net, which has the raw material for you to learn
> all you could want to know about bdm.
Thanks for giving this info.I enjoy it. :-)
Sam
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2004-08-14 7:53 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-13 5:44 JTAG debug mechanism Li Yang-r58472
2004-08-13 6:26 ` Dan Malek
2004-08-13 8:22 ` Song Sam
2004-08-13 14:55 ` Mark Chambers
2004-08-13 17:18 ` Wolfgang Denk
2004-08-14 7:53 ` Song Sam
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).