--- In "Mark Carlson" <> wrote:
>
> On 5/11/06, psych2009 <> wrote:
> > After browsing these boards I believe that I have gotten the USB ports
> > working on my board, TS-7260. However I am not sure how to comunicate
> > with the ports using C, if anyone could provide some help and example
> > code to aid me in this I would appreciate it.
>
> You'll have to be more specific as to what devices you are going to be
> connecting to the USB host controller.
>
> For info on how to use the userspace USB library "libusb" you can
> check it out here:
> http://libusb.sourceforge.net/doc/index.html
>
> I have used the FT2232 from these guys http://www.ftdichip.com/
> before, and someone created a library, libftdi, that uses libusb. You
> could look at the source for libftdi to figure out how to use libusb
> as well.
>
> If you are going to be doing just basic usb->serial stuff, you could
> try using the usbserial kernel module. I use that with a touchscreen
> LCD, ezLCD004, in a project I'm working on right now.
>
> USB is a tricky beast to get a hold of. IIRC the USB spec is >800
> pages, so you can see it's not trivial like some of the other serial
> protocols.
>
> -Mark
>
I am going to be connecting a USB-RS232 adapter to the board. Though
I am not sure how to open the port in C or how to comunicate with the
board.
------------------------ Yahoo! Groups Sponsor --------------------~-->
Home is just a click away. Make Yahoo! your home page now.
http://us.click.yahoo.com/DHchtC/3FxNAA/yQLSAA/CFFolB/TM
--------------------------------------------------------------------~->
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|