Linux usb_utils provides middle-level routines to handle OHCI. But I recommend
you to start with this NXP example, because it also supplies full low-level
routines, directly access to the LPC2468 OHCI controller.
USBHostLite from NXP
http://www.standardics.nxp.com/support/software/usb.host.msc/
USBHostLite for LPC23xx/LPC24xx, VBeta 1.0 (Feb 11, 2008)
http://www.standardics.nxp.com/support/documents/microcontrollers/zip/usb.host.lite.zip
This example includes FAT16 file system support.
To extend it to FAT32, you may be interested in this file system
implementation.
FatFs by elm-chan
http://elm-chan.org/fsw/ff/00index_e.html
Tsuneo
--- In l..., "Caustic Soda" wrote:
>
> I have an assignment in which I have to port USB code for the LPC2468
> Host. I have decided to go opensource. I have taken the code for USB
> from the Linux Opensource Libraries namely usb_utils. I have the code.
> Now how do I proceed. My main application is to take data from another
> application residing on the IC memory and store this data to a pendrive
> with FAT16 or FAT32 filesystem. I am totally new in this area; I am a
> student. I have only worked with ATMega32 and Intel 8x51 line of
> controllers before. Please provide me with pointers and howto's.
Please
> give me general approach on how to tackle this problem and what problem
> areas I should look out for.
>
>