public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] USB slave device on ecos
@ 2003-04-21 10:15 Charles-Henri Balet
  2003-04-21 14:31 ` Gary D. Thomas
  2003-04-22 10:25 ` Bart Veer
  0 siblings, 2 replies; 3+ messages in thread
From: Charles-Henri Balet @ 2003-04-21 10:15 UTC (permalink / raw)
  To: ecos-discuss

Hello,

I want to use on my EDB7312 of cirrus the USB port on ecos, the usb chip is
the Philips
PDIUSBD12, any has used it ? if not how can I modify an existing driver for
this chip ?

many thanks

balet charles-henri



-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] USB slave device on ecos
  2003-04-21 10:15 [ECOS] USB slave device on ecos Charles-Henri Balet
@ 2003-04-21 14:31 ` Gary D. Thomas
  2003-04-22 10:25 ` Bart Veer
  1 sibling, 0 replies; 3+ messages in thread
From: Gary D. Thomas @ 2003-04-21 14:31 UTC (permalink / raw)
  To: Charles-Henri Balet; +Cc: eCos Discussion

On Mon, 2003-04-21 at 04:18, Charles-Henri Balet wrote:
> Hello,
> 
> I want to use on my EDB7312 of cirrus the USB port on ecos, the usb chip is
> the Philips
> PDIUSBD12, any has used it ? if not how can I modify an existing driver for
> this chip ?

You'll have to write the hardware drivers for this board.
There is extensive documentation on the USB package and some
examples, so this is just a matter of the details of your
target platform.  

Note: eCos only supports USB slave endpoints at this time.

-- 
.--------------------------------------------------------.
|       Mind: Embedded Linux and eCos Development        |
|--------------------------------------------------------|
| Gary Thomas              email:  gary.thomas@mind.be   |
| Mind ( http://mind.be )  tel:    +1 (970) 229-1963     |
| gpg: http://www.chez-thomas.org/gary/gpg_key.asc       |
'--------------------------------------------------------'


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] USB slave device on ecos
  2003-04-21 10:15 [ECOS] USB slave device on ecos Charles-Henri Balet
  2003-04-21 14:31 ` Gary D. Thomas
@ 2003-04-22 10:25 ` Bart Veer
  1 sibling, 0 replies; 3+ messages in thread
From: Bart Veer @ 2003-04-22 10:25 UTC (permalink / raw)
  To: charles-henri; +Cc: ecos-discuss

>>>>> "Charles-Henri" == Charles-Henri Balet <charles-henri@bluewin.ch> writes:

    Charles-Henri> Hello,
    Charles-Henri> I want to use on my EDB7312 of cirrus the USB port
    Charles-Henri> on ecos, the usb chip is the Philips PDIUSBD12, any
    Charles-Henri> has used it ? if not how can I modify an existing
    Charles-Henri> driver for this chip ?

I am not aware of an existing eCos USB driver for the PDIUSBD12.
Writing USB drivers is non-trivial, so if you have not done USB work
before I suggest some background reading first. Hyde's "USB Design by
Example" is an easy read, and I have also heard good things about
Axelson's "USB Complete". You will also need the standard documents
from www.usb.org - go to the Developers section, Documents, and
download the 2.0 or 1.1 specs.

For information about the eCos USB support see
http://sources.redhat.com/ecos/docs-latest/ref/io-usb-slave.html
and
http://sources.redhat.com/ecos/docs-latest/ref/usbs-writing.html

There should be example code available from Philips, which will prove
very useful. I believe the Philips part is rather more reliable than
the devices used for the existing eCos drivers - the SA1110 USB
support in particular was only borderline functional, at best. Hence
writing a suitable driver should be easier, but still not trivial.

It is likely that you will need access to a USB protocol analyser at
some stage during the development. Without such hardware there is no
easy way of seeing exactly what bytes are going over the wires, making
debugging much more difficult. The analysers produced by CATC are
good, albeit expensive.

Bart

-- 
Bart Veer                       eCos Configuration Architect
http://www.ecoscentric.com/     The eCos and RedBoot experts

-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-04-22 10:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-21 10:15 [ECOS] USB slave device on ecos Charles-Henri Balet
2003-04-21 14:31 ` Gary D. Thomas
2003-04-22 10:25 ` Bart Veer

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 read-only IMAP folder(s) and NNTP newsgroup(s).