Forums

FatFs with USB

Started by Nishant Agrawal March 8, 2010
Hi people,

Has anyone tried FatFs for USB memory sticks? At the moment I am looking
into FatFs for SD cards but I will also have to create Fat files into the
USB memory as well. I haven't looked into USB at the moment. I ask this
question because if it is possible then I would modularize my FatFs and SPI
interface to also include USB driver.

--
With Regards,
Nishant Agrawal

An Engineer's Guide to the LPC2100 Series

Hi Nishant,

We can implement the FatFs for USB memory sticks.I too have did a
project on that and i have used it for LPC2388 how about your controller is?

Regards,

Sathis Kumar Venugopal
On Mon, Mar 8, 2010 at 9:33 PM, Nishant Agrawal wrote:

> Hi people,
>
> Has anyone tried FatFs for USB memory sticks? At the moment I am looking
> into FatFs for SD cards but I will also have to create Fat files into the
> USB memory as well. I haven't looked into USB at the moment. I ask this
> question because if it is possible then I would modularize my FatFs and SPI
> interface to also include USB driver.
>
> --
> With Regards,
> Nishant Agrawal
>
>
----Original Message----
From: l...
[mailto:l...] On Behalf Of Nishant
Agrawal Sent: 08 March 2010 16:04 To:
l... Subject: [lpc2000] FatFs with USB

> Hi people,
>
> Has anyone tried FatFs for USB memory sticks? At the
> moment I am looking into FatFs for SD cards but I will
> also have to create Fat files into the USB memory as
> well. I haven't looked into USB at the moment. I ask this
> question because if it is possible then I would
> modularize my FatFs and SPI interface to also include USB
> driver.

I've used FatFs with memory sticks, but you need a USB host
implementation to make it work. This is a lot harder than just reading a
SD card using SPI.

--
Tim Mitchell

--- In l..., "Tim Mitchell" wrote:
>
> ----Original Message----
> From: l...
> [mailto:l...] On Behalf Of Nishant
> Agrawal Sent: 08 March 2010 16:04 To:
> l... Subject: [lpc2000] FatFs with USB
>
> > Hi people,
> >
> > Has anyone tried FatFs for USB memory sticks? At the
> > moment I am looking into FatFs for SD cards but I will
> > also have to create Fat files into the USB memory as
> > well. I haven't looked into USB at the moment. I ask this
> > question because if it is possible then I would
> > modularize my FatFs and SPI interface to also include USB
> > driver.
>
> I've used FatFs with memory sticks, but you need a USB host
> implementation to make it work. This is a lot harder than just reading a
> SD card using SPI.
>
> --
> Tim Mitchell
>

Since you need a chip with USB host, why not just go all the way and use a device that supports Linux or uClinux? Then you don't have to implement much of anything. Code is already written.

www.tincantools.com Hammer, for example. Gumstix for another.

Richard

Hi people,

Satish, I am using LPC2362. Thanks for letting me know that it can be done.
Now I will design my codes to suit both SD and USB storage,

Thanks Tim for letting me know that it wont be easy. I do understand that
USB is quite complex to handle.

And Richard thanks for the advice. I will certainly look into it.

On Mon, Mar 8, 2010 at 11:00 PM, rtstofer wrote:

> --- In l... , "Tim Mitchell"
> wrote:
> >
> > ----Original Message----
> > From: l...
> > [mailto:l... ] On Behalf
> Of Nishant
> > Agrawal Sent: 08 March 2010 16:04 To:
> > l... Subject: [lpc2000]
> FatFs with USB
> >
> > > Hi people,
> > >
> > > Has anyone tried FatFs for USB memory sticks? At the
> > > moment I am looking into FatFs for SD cards but I will
> > > also have to create Fat files into the USB memory as
> > > well. I haven't looked into USB at the moment. I ask this
> > > question because if it is possible then I would
> > > modularize my FatFs and SPI interface to also include USB
> > > driver.
> >
> > I've used FatFs with memory sticks, but you need a USB host
> > implementation to make it work. This is a lot harder than just reading a
> > SD card using SPI.
> >
> > --
> > Tim Mitchell
> > Since you need a chip with USB host, why not just go all the way and use a
> device that supports Linux or uClinux? Then you don't have to implement much
> of anything. Code is already written.
>
> www.tincantools.com Hammer, for example. Gumstix for another.
>
> Richard
>
>
>

--
With Regards,
Nishant Agrawal