Here is a link to C source files for programming a USB HOST.
Kaos Kidd
Posts: 614
Here is a link to C source files for programming a USB HOST:·· http://svn.navi.cx/misc/trunk/tusb/
My understanding of C is somewhat limited, but the full HOST for USB 2.0 is coded in these files.
I will be trying to get through all of this, working on a single USB HOST-> CLIENT endpoint connection for the bulk storage class.
(HD,ZIP,CD-ROM,ZIP,FLASH... anything that has storage and supports the 1.0/2.0 USB spec)
From this USB HOST code, all that is needed is a FAT12/32 driver, which rokicki has nearly completed, in this thread:
http://forums.parallax.com/showthread.php?p=588024
I believe could all be wrapped up into 1 object, USBFAT.
I keep on trying to expand things... and things are expanding, just expanding beyond my current reach!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Just tossing my two bits worth into the bit bucket
KK
·
My understanding of C is somewhat limited, but the full HOST for USB 2.0 is coded in these files.
I will be trying to get through all of this, working on a single USB HOST-> CLIENT endpoint connection for the bulk storage class.
(HD,ZIP,CD-ROM,ZIP,FLASH... anything that has storage and supports the 1.0/2.0 USB spec)
From this USB HOST code, all that is needed is a FAT12/32 driver, which rokicki has nearly completed, in this thread:
http://forums.parallax.com/showthread.php?p=588024
I believe could all be wrapped up into 1 object, USBFAT.
I keep on trying to expand things... and things are expanding, just expanding beyond my current reach!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Just tossing my two bits worth into the bit bucket
KK
·
Comments
The source also seems way too simple for a USB 2.0 compliant host.· It doesn't look to have a big buffer and doesn't seem to directly interface with any pins.· It seems to only utilize that chip's onboard hardware.
I am looking at the source at: http://svn.navi.cx/misc/trunk/tusb/src/usb_driver.c·.
I am also looking for USB Host capabilities through software.· But it seems that it is extremely difficult to do so.· I have seen software implementations for a usb endpoint (client) for micros, but none for host at this time.· I am still looking.
Harrison
I found the following links, maybe they will be helpful:
·http://www.beyondlogic.org/usbnutshell/usb1.htm
·ftp://download.intel.com/technology/usb/UHCI11D.pdf
·http://www.usbman.com/developer.htm
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Just tossing my two bits worth into the bit bucket
KK
Post Edited (Kaos Kidd) : 5/26/2006 4:37:11 PM GMT