On Tuesday 08 February 2005 11:11 am, Randy.Dunlap wrote:
> David Brownell wrote:
> > Do you actually have a debug port driver for Linux? And some
> > hardware that it can talk to?
> >
> > I started looking at that issue a while back:
>
> I started looking into one last week.
Great, I'll be glad to let you handle this then!
> > - What model to use for it? OK, "console" for output is
> > at least a (unidirectional) start; how about remote GDB?
>
> Remote kgdb is what makes sense to me, just another kind
> of serial device.
At least for folk that use KGDB, or are coming from a Windows
background where that's what these devices are expected to do;
yes, that option should exist.
> > - The EHCI driver currently doesn't know how to share
> > access to the debug port. ("mode 2" or whatever.)
>
> It will have to be taught.
There will need to be a working debug port driver for it
to coexist with, first ... ;)
> > - OK, I can roll my own debug device using a net2280
> > and the g_serial driver. Not everyone has those...
> >
> > More hardware seems to come without serial ports lately, so
> > it starts to look like Linux could benefit from a solution
> > there. (Actually several, but the EHCI debug port option
> > "ought to be" relatively accessible.)
>
> Agreed.
> The only USB debug device that I have been able to find is
> this one:
> http://store.yahoo.com/plxtech/net20dg.html
> I've ordered one and will be beginning on supporting it RSN.
I didn't even know those products were available from Yahoo!
Good to know. Presumably you'll teach usb-serial to talk to
that device from Linux. Likewise I see:
http://store.yahoo.com/plxtech/net2280evb.html
for the net2280; just $34 more. I think the net2280-based
solution that I sketched (tweak drivers/usb/gadget/serial.c)
should probably work too ... it's always handy to have several
interopable solutions, and I think it'd be good if more Linux
folk were a bit familiar with the "other half" of USB.
- Dave
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel