From: Wolfgang Denk <wd@denx.de>
To: "Kerl, John" <John.Kerl@Avnet.com>
Cc: "'Geir Frode Raanes'" <geirfrs@invalid.ed.ntnu.no>,
linuxppc-embedded@lists.linuxppc.org
Subject: Re: custom mpc8240 student project (long)
Date: Fri, 22 Feb 2002 21:51:09 +0100 [thread overview]
Message-ID: <20020222205114.62E6D109E3@denx.denx.de> (raw)
In-Reply-To: Your message of "Fri, 22 Feb 2002 11:33:04 MST." <C08678384BE7D311B4D70004ACA371050B7632EA@amer22.avnet.com>
In message <C08678384BE7D311B4D70004ACA371050B7632EA@amer22.avnet.com>
John Kerl wrote:
>
> What happens, in the software-only solution, is that those four
> pins are connected to a ribbon cable which plugs into the PC's
> parallel port. Inside the software on the PC, you just set/clear
> bits, reading and writing a few bits in the byte-wide LPT/parport
> interface. No auxiliary microcontroller is required (although I
Right, and this is how simple / cheap BDM and JTAG debugger
("parallel port adapters") work. See for instance the BDM4GDB project
on Sourceforge.
> I don't know what you mean by "trap" logic. I know that JTAG
> itself is an open standard, in the sense that you can get books
> on it, and if you want the official protocol document, you can
> get that from the IEEE at a nominal fee. I don't think that the
> JTAG standard can be considered closed.
JTAG defines just HOW to exchange information over this interface,
but you need additional information to actually be able to assemble
or understand the information you send or receive.
> As for the PPC debug logic (the kind of stuff a probe plugs
> into), my experience is that that is documented in the Motorola
> 8xx manuals. (On the other hand, I've never attempted to control
> the debug header in software, so I don't know if the manuals are
> complete. Perhaps someone can correct me on this.)
*xx is completely different. It uses a BDM interface, and this is
indeed well documented - which made it possible to come up with a
free GDB extension and a semi-free (if you build it yourself; but
it's still < $50 for the ready-to-run box) BDM4GDB design.
> IMHO, I don't think it's the *information* that's so much being
> held closed. From my experience, I don't see JTAG being in an
> NDA state. The JTAG protocol is conceptually simple; BSDL files
> are published; we've written bit-bang software to flash our
> boards and it does work (of course the code is time-consuming to
> write, and slow to run).
If you try to control a CPU (say, a MPC82xx) over the JTAG (or COP)
debug port, you need additional information; the JTAG specification
is not enough.
Motorola will provide this information, but only under NDA. They
claim that one can learn intimate details about the inner design of
their CPUs from that document, so they need to keep it closed to
protect their intellectual property. (Their worrds, not mine!)
That's the reason why BDM4GDB supports only BDM. The BDM4GDB would
also work with a JTAG interface - in fact even the connector is
already there. We would like to provide a JTAG extension for BDM4GDB,
but since it's based on GDB it will be Open Source, and this does not
mix with Moto's NDA.
End of the story. I tried many times, through different channels, but
Moto will not give in.
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
A direct quote from the Boss: "We passed over a lot of good people to
get the ones we hired."
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2002-02-22 20:51 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-02-22 18:33 custom mpc8240 student project (long) Kerl, John
2002-02-22 20:51 ` Wolfgang Denk [this message]
-- strict thread matches above, loose matches on Subject: below --
2002-02-22 1:11 Dustin Byford
2002-02-22 1:07 Dustin Byford
2002-02-21 20:12 Kerl, John
2002-02-21 20:32 ` Jim Thompson
2002-02-21 22:40 ` Ron Bianco
2002-02-22 9:32 ` Geir Frode Raanes
2002-02-22 13:09 ` Jerry Van Baren
2002-02-23 19:16 ` Dan Malek
2002-02-25 12:18 ` Geir Frode Raanes
2002-02-27 11:46 ` Christian Pellegrin
[not found] <7E8519F1A7C0D211B0D200A0C93AA60F08447D20@ntmail.iskratel.si>
2002-02-18 21:17 ` Dustin Byford
2002-02-18 21:44 ` Wolfgang Denk
[not found] ` <auto-000008693306@zipmail.com>
2002-02-18 22:32 ` Wolfgang Denk
2002-02-19 11:40 ` Jerry Van Baren
2002-02-19 16:53 ` Bob Piatek
2002-02-20 2:32 ` Greg Griffes
2002-02-18 10:33 Dustin Byford
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20020222205114.62E6D109E3@denx.denx.de \
--to=wd@denx.de \
--cc=John.Kerl@Avnet.com \
--cc=geirfrs@invalid.ed.ntnu.no \
--cc=linuxppc-embedded@lists.linuxppc.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).