Yahoo Groups archive

Lpc2000

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

Message

Re: [lpc2000] Re: Cheap SD Flash File System

2005-11-13 by Tom Walsh

rtstofer wrote:

>I'm considering buying the FLASH File driver even though the CF code 
>is an upgrade to the basic price.  I'm also considering leaving 
>things as they are.  I can read FAT32 and the write requirement may 
>not be worth the effort.  It works quite well as it is and until I 
>have FAT32, CF, MP3 and RTOS running I don't know how much memory 
>will be left to implement a complete file system.  But several 
>thousand lines of additional code will probably push the limit of 
>the LPC2106.
>
>  
>
I can read & write files larger than 32Meg.  What took me a while to 
figure out was why my converted RDCF2 code was not utilizing the whole 
drive.  I would come up with 30720 bytes free (60 sectors unused), even 
though my code said otherwise.


=============== begin ===============
[tom@jtag ~]$ ls -lh /mnt/removeable/ ; df --block-size=1 /mnt/removeable/
total 120M
-rwxr--r--  1 tom tom 8.0M Nov 13 04:16 cheezbit.txt*
-rwxr--r--  1 tom tom  30K Nov 13 04:16 fails.txt*
-rwxr--r--  1 tom tom 3.9K Nov  6 00:00 lseek_r.c*
-rwxr--r--  1 tom tom  74K Jan  1  1980 main2138.lst*
-rwxr--r--  1 tom tom  40M Nov 13 04:15 whippie.txt*
-rwxr--r--  1 tom tom  32M Nov 13 04:16 whompie.txt*
-rwxr--r--  1 tom tom  40M Nov 13 04:14 whoopie.txt*
Filesystem           1B-blocks      Used Available Use% Mounted on
/dev/sdc1            125632512 125632512         0 100% /mnt/removeable
=============== snip ================


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.