Home arrow Support arrow Forums

Luminary Micro Forums

<< Start < Prev 1 2 Next > End >>

e_zhui

Fresh Boarder
Click here to see the profile of this user

2008/09/20 20:12

How to read U-disk through the USB host...

Where can I start?

And what is the speed of reading files from U-disk?

Regards,

login or register to reply

LMI Joe

Expert Boarder
Click here to see the profile of this user

2008/09/21 18:43

Re:How to read U-disk through the USB host...

Take a look at the usb_host_msc example for the EK-LM3S3748 evaluation board. This example lets you browse the file system of a USB mass storage device.

login or register to reply

e_zhui

Fresh Boarder
Click here to see the profile of this user

2008/09/22 06:40

Re:How to read U-disk through the USB host...

that's cool...

but do I need to write a FAT file system? I didn't see any file system there

login or register to reply

LMI Joe

Expert Boarder
Click here to see the profile of this user

2008/09/22 09:54

Re:How to read U-disk through the USB host...

The example makes use of fatfs, an open source file system. You can find fatfs in the DriverLib tree under the third_party directory.

Take a look at the example source file usb_host_msc.c and search for the string "f_" and you will find the places where the fatfs API is called. All of the fatfs functions begin with "f_".

Another example that uses fatfs is qs-scope. This example application stores scope data on the USB memory stick.

login or register to reply

e_zhui

Fresh Boarder
Click here to see the profile of this user

2008/09/26 05:01

Re:How to read U-disk through the USB host...

Thanks a lot...

login or register to reply

e_zhui

Fresh Boarder
Click here to see the profile of this user

2008/09/26 05:09

Re:How to read U-disk through the USB host...

Another question is can I use a usb hub to extend the port to support more usb devices? Does the lib support external usb hub protocol?

And any tested speed informatoin?

Thanks...

login or register to reply
<< Start < Prev 1 2 Next > End >>