Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Flash File System

2005-12-25 by Tom Walsh

mucko wrote:

>Hi!
>
>For my designed hardware i want to make some storage
>through an SPI bus to an external flash chip.For this
>purpose is there any file system that can be used for
>data storage?
>
>  
>
Yes, I am doing this with an SD card on the SPI bus.  The sources are 
available for a FAT16 filesystem is at:

http://www.openhardware.net/?title=RDCF2%20DOS%20FAT%20Filesystem%20for%20LPC2138&dir=rdcf2&file=rdcf2lpc2138.html

It is integrated a total solution using the newlib filestreams (fopen(), 
fread(), etc).  But, you still use the core of the FAT  driver and make 
direct calls into the driver to do your file I/O.  It is more convenient 
for me to have the newlib interface as I need newlib in my project.


Regards,

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.