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 Tom Walsh

Carsten Gr\ufffdn wrote:

>Hi Jarda,
>
>yes, I also thought about that idea, only problem is that the card 
>needs to be prepared on a PC, but I might be able to live with 
>that....Guess it's a kind of "poor mans filesystem" :-)
>
>I have found some information regarding direct disk access, and it 
>should be perfectly possible from WinXP/2K...but the "one fixed file 
>method" you describe might turn out to be easier overall....
>
>  
>
His idea is not too bad.  blank an SD card with quick format,  that will 
erase the FAT table.  Then create a file the size of your buffer.  In 
your embedded system, read the partition table, MSDOS boot block and 
root directory to locate your file start cluster.  Then deblock from 
there from cluster to sector.  Be carefull of fragmentation, Microsoft 
loves to fragment files!

Of course, then you have the idiot (that's the guy that refuses to 
RTFM)  out in the field that wants to add / delete files on the SD card...

TomW

-- 
Tom Walsh - WN3L - Embedded Systems Consultant
http://openhardware.net, http://cyberiansoftware.com
"Windows? No thanks, I have work to do..."
----------------------------------------------------

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.