Pages: [1]   Go Down
Author Topic: simple fixed fat library  (Read 1092 times)
0 Members and 1 Guest are viewing this topic.
ottawa, canada
Offline Offline
God Member
*****
Karma: 6
Posts: 990
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'm working on an sd card with a system that only supports C rather than C++.  I can usually wade through a library and convert but the fat/mmc stuff is a bit daunting.

I do have bare-bones mmc working based on the original jesper hansen c code http://osfcproject.googlecode.com/svn-history/r13/trunk/OSFC/Software/doc/mmc__if_8c-source.html  but I would like to move up a bit from there.

I seem to recall a very basic FAT library that was limited to 16 single character filenames - does anyone recognize that?
Logged

Global Moderator
Netherlands
Offline Offline
Shannon Member
*****
Karma: 211
Posts: 13531
In theory there is no difference between theory and practice, however in practice there are many...
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

8 chars for name a dot and 3 chars for extension
autoexec.bat just fitted
.
Logged

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)

ottawa, canada
Offline Offline
God Member
*****
Karma: 6
Posts: 990
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

this was a more limited setup that allowed you to have 16 files named "0" thru "F".
Logged

Oregon, USA
Offline Offline
Edison Member
*
Karma: 65
Posts: 2125
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Are you familiar with the elm-chan Ansi C FatFS? http://elm-chan.org/fsw/ff/00index_e.html
Check out his PetitFatFS, too. It runs on ATTinys.
Logged

"It seems to run on some form of electricity"

Pages: [1]   Go Up
Jump to: