* from gdb on a Mac to BDM on a 68332?
@ 2002-09-17 12:14 David Knuth
2002-09-17 12:28 ` Joel Sherrill
2002-09-17 12:46 ` William A. Gatliff
0 siblings, 2 replies; 3+ messages in thread
From: David Knuth @ 2002-09-17 12:14 UTC (permalink / raw)
To: crossgcc, gdb
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.
David
========================================================
David Knuth dknuth@intellibot.cc (804) 543-2703
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: from gdb on a Mac to BDM on a 68332?
2002-09-17 12:14 from gdb on a Mac to BDM on a 68332? David Knuth
@ 2002-09-17 12:28 ` Joel Sherrill
2002-09-17 12:46 ` William A. Gatliff
1 sibling, 0 replies; 3+ messages in thread
From: Joel Sherrill @ 2002-09-17 12:28 UTC (permalink / raw)
To: David Knuth; +Cc: crossgcc, gdb
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?
There is this which might work for you:
http://www.bdmtools.com/bdm-usb.htm
But they don't list Mac support.
Just off the top of my head, I would have tought that a parallel port
BDM combined with a USB parallel port adapter would come close to
doing the trick. Then I read this URL
http://www.ramelectronics.net/html/usb_printer_cable.htm
which states "USB to parallel port converters are for
printers only! All-in-one units (printer/fax/scanner) or scanners, zip
drives, etc. will not work with any USB to parallel port converter
currently
available."
Hopefully that's a marketing claim but my VERY quick search didn't come
up with
UCB to parallel adapter that claimed support for anything except
printers.
If you solved that minor <sarcastic grin> problem, you should be able to
trick any parallel port device into working.
> I suspect there will be a long road ahead before my goal is realized.
> Thanks for any input to get me going.
>
> David
>
> ========================================================
> David Knuth dknuth@intellibot.cc (804) 543-2703
>
> ------
> Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
--
Joel Sherrill, Ph.D. Director of Research & Development
joel@OARcorp.com On-Line Applications Research
Ask me about RTEMS: a free RTOS Huntsville AL 35805
Support Available (256) 722-9985
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: from gdb on a Mac to BDM on a 68332?
2002-09-17 12:14 from gdb on a Mac to BDM on a 68332? David Knuth
2002-09-17 12:28 ` Joel Sherrill
@ 2002-09-17 12:46 ` William A. Gatliff
1 sibling, 0 replies; 3+ messages in thread
From: William A. Gatliff @ 2002-09-17 12:46 UTC (permalink / raw)
To: David Knuth; +Cc: crossgcc, gdb
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-09-17 19:46 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-09-17 12:14 from gdb on a Mac to BDM on a 68332? David Knuth
2002-09-17 12:28 ` Joel Sherrill
2002-09-17 12:46 ` William A. Gatliff
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox