Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Re: MMC/SD support on LPC2000

2006-01-17 by Sean

IIRC Tom Walsh has a FAT implementation working with source code for free 
on the LPC series.  You could pretty easily modify it to NOT update the 
date/time in the fat table whenever you write to the file, meaning that you 
won't kill the area where teh FAT table is if you update it 
frequently.  Then you can easily setup a ring buffer in a file on the 
device, and it should be pretty easy to access and still give you the 
flexibility of having a recognized filesystem on a PC.  If not Tom, then 
there are a few other implementations available that will work fine for 
your simple application.

-- Sean

At 04:27 PM 1/17/2006, you wrote:
>Sean,
>the reason (for me) would be that it would be simpler on the LPC
>board, no need for FAT etc (I'm actually also looking into prllc's FAT
>implementation with SD support at $139,- which I think is very
>reasonable). Also I'm a little worried that the card will be "killed"
>by problems with write-endurance (if using FAT, the FAT tables are
>written very often), and if used as a circular buffer, each sector
>will be written (relatively) seldom.
>
>Regards,
>Carsten
>
>
>--- In lpc2000@yahoogroups.com, Sean <embeddedrelated@w...> wrote:
> >
> >
> > This may be a stupid question, why not just use a file system?  I
>believe
> > that there is some code available for FAT file system access on
>SD/MMC for
> > LPC series, wouldn't that make things a lot easier?  This way you
>can use
> > any existing application without any special need for programming or
> > unix-style commands.
> >
> > -- Sean
> >
>
>
>
>
>
>----------
>YAHOO! GROUPS LINKS
>
>    *  Visit your group "<http://groups.yahoo.com/group/lpc2000>lpc2000" 
> on the web.
>    *
>    *  To unsubscribe from this group, send an email to:
>    * 
> <mailto:lpc2000-unsubscribe@yahoogroups.com?subject=Unsubscribe>lpc2000-unsubscribe@yahoogroups.com 
>
>    *
>    *  Your use of Yahoo! Groups is subject to the 
> <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
>
>
>----------

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.