From: "William A. Gatliff" <bgat@billgatliff.com>
To: David Knuth <dknuth@intellibot.cc>
Cc: crossgcc@sources.redhat.com, gdb@sources.redhat.com
Subject: Re: from gdb on a Mac to BDM on a 68332?
Date: Tue, 17 Sep 2002 12:46:00 -0000 [thread overview]
Message-ID: <20020917144605.A4852@saturn.billgatliff.com> (raw)
In-Reply-To: <A66AE34E-CA71-11D6-86E2-003065E3B32E@intellibot.cc>; from dknuth@intellibot.cc on Tue, Sep 17, 2002 at 03:14:12PM -0400
David:
On Tue, Sep 17, 2002 at 03:14:12PM -0400, David Knuth wrote:
> Hi,
>
> I've built a gcc cross-compiler on Darwin (Mac OS X) and am now looking
> for a way to do cross-debugging from gdb to a 68332 target via BDM.
> There are a number of hurdles here.
>
> 1) Has anyone done this from Mac OS X?
> 2) How do I configure gdb to use a USB port (late Mac's have only USB
> and FireWire ports)?
> 3) Will I likely have to develop my own USB drivers (IOKit?)?
> 4) Do I have to build a custom USB <-> BDM device? Are there any
> commercial ones available?
> 5) Should I instead use a USB <-> RS232 converter and then something
> from RS-232 <-> BDM? What?
>
> I suspect there will be a long road ahead before my goal is realized.
> Thanks for any input to get me going.
I use an Abatron BDIgdb. It's an ethernet-to-BDM (or
ethernet-to-JTAG, depending on which one you get) adapter that speaks
gdb's native remote serial protocol. It's easy to set up, just plug
it into your ethernet, twiddle a few configuration settings to tell it
about your CPU32 bus speed and so forth, then start talking to it with
gdb's "target remote" command. It uses a vanilla gdb, not a patched
one.
I've abused the CPU32 version pretty hard, and it's always come back
for more. It's pretty robust. It even has a hook to tie into the RSP
console out ("O") command.
It's a bit pricey, at about $2k USD, but you don't have to burn up
much time trying to get something else to work before it's a much more
cost-effective and productive solution.
No, I don't work for Abatron. I just like their stuff. :^)
b.g.
--
Real embedded GNU and embedded Linux training is available.
See http://billgatliff.com for details.
prev parent reply other threads:[~2002-09-17 19:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-17 12:14 David Knuth
2002-09-17 12:28 ` Joel Sherrill
2002-09-17 12:46 ` William A. Gatliff [this message]
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=20020917144605.A4852@saturn.billgatliff.com \
--to=bgat@billgatliff.com \
--cc=crossgcc@sources.redhat.com \
--cc=dknuth@intellibot.cc \
--cc=gdb@sources.redhat.com \
/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