View previous topic :: View next topic |
Author |
Message |
CF!
Joined: 17 Mar 2004 Posts: 1
|
Writing into a compactflash card |
Posted: Wed Mar 17, 2004 8:34 am |
|
|
I am trying to write into a compactflash card using a 16f877, but have not been successful, can somebody tell me how can i write a C source code to read the buffer size in the compactflash card and how to fill up the buffer before it sends the data into the compactflash memory.
Many thanks |
|
|
SteveS
Joined: 27 Oct 2003 Posts: 126
|
writing to compact flash |
Posted: Wed Mar 17, 2004 9:38 am |
|
|
Check out:
http://www.walrus.com/~raphael/html/mp3.html
His project only needs reads, but it looks like he has pretty complete code (in CCS) to access a CF using FAT. Don't know if you need PC compatibility, but if not, his lower level stuff provide a good start.
I haven't tried the code or looked at it in detail.
- SteveS |
|
|
wedilo
Joined: 16 Sep 2003 Posts: 71 Location: Moers, Germany
|
|
|
ljbeng
Joined: 10 Feb 2004 Posts: 205
|
|
Posted: Thu Mar 25, 2004 9:11 am |
|
|
If you know C and are willing to get a new compiler, www.tern.com has boards with compact flash and software examples ready to use. |
|
|
|