This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to transfer files using pen drive in LPC2387

Hi.

I want to transfer files using pen drive to LPC2387 board and vice versa.
I don't know how to do it.
Is there any documents from which I can learn something about this application or link for its sample code provide by keil as I am new in ARM family.

In my work I want to attach pen drive direct to the board and board is not connected to PC.
If any one has any idea regarding this let me know.

Thanks
dhaval

Parents
  • Anyways I knew for this my board would work as host and usb stick as client..right?

    Yep.

    You'll need to buy or write the OHCI host controller driver; then you'll need to buy or write the USB mass storage device driver; and then you'll need to buy or write the FAT32 file system driver; and finally you'll need to write the application code that navigates through the folders and reads from the files.

    You can find the USB specs at http://www.usb.org. Google FAT32 specification to find that one.

    I wrote all three on my own for a TI DSP with an ISP1161 host controller, with minimal embedded software development experience, and it took me about 8 months. We're now using an LPC2468 and it took me about 2.5 months to port the code and write the OHCI host controller. I figured it out by reading the specs and browsing the Linux source code.

Reply
  • Anyways I knew for this my board would work as host and usb stick as client..right?

    Yep.

    You'll need to buy or write the OHCI host controller driver; then you'll need to buy or write the USB mass storage device driver; and then you'll need to buy or write the FAT32 file system driver; and finally you'll need to write the application code that navigates through the folders and reads from the files.

    You can find the USB specs at http://www.usb.org. Google FAT32 specification to find that one.

    I wrote all three on my own for a TI DSP with an ISP1161 host controller, with minimal embedded software development experience, and it took me about 8 months. We're now using an LPC2468 and it took me about 2.5 months to port the code and write the OHCI host controller. I figured it out by reading the specs and browsing the Linux source code.

Children