views:

127

answers:

2

I'm using the ARM7TDMI-S (NXP processor) and I need a file system capable of reading/writing to an SD card. There are so many available, what have people used and been happy with? One that requires the least amount of setup is best - so the less I have to do to get it started (i.e. write device drivers to NXP's hardware) the better.

I am currently using CMX's RTOS as the OS for this project.

+1  A: 

FAT is popular precisely because it's so simple. The main problems with FAT are performance (because of its simplicity, it's not very fast) and its limited size (2GB for FAT16, though 2TB for FAT32)

Dean Harding
As an added bonus, SD cards come preformatted to FAT or FAT32 depending on size.
Mark Ransom
Another problem with FAT is that it's rather fragile. Then again, because of its simplicity, it's also generally easy to recover data from a mucked up volume.
Michael Burr
+2  A: 

I suggest that you use either EFSL or Chan's FAT File System Module. I have used both on MMC/SC cards without problems. The choice between them may come down to the license terms and pre-existing ports to your target. Martin Thomas's ARM Projects site has examples for both libraries.

Clifford