FAT16 routines with secure digital card layer

Warning message

The Propeller Object Exchange system is decommissioned and replaced with a GitHub repository to house the same existing and future Propeller objects. As of 12/5/2019, this site is read-only. You can continue to browse and download objects from here for a limited time; however, please begin using the Parallax Propeller repository for future reference.
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1
Request group membership
By: created: 2013-03-27 | updated: 2013-03-27

This contains the full set of code you need to read and write files to secure digital cards in a way that is compatible with your PC.

The primary source is at http://fsrw.sf.net/.
A FAT16/FAT32 filesystem layer is provided (no subdirectories or long file names right now).
Several different versions of secure digital block-level I/O are provided.
Read speed should be about 900KBytes/second and write speed should be around 1.8 MBytes/second (or faster or slower depending on the card).
In these routines emphasis has been on keeping the code as short as possible.
Original File Upload
Package icon fsrw26.zip71.19 KB


The documentation for this module recommends 20K pull-ups for the control lines. This works great as long as the card is not removed. When the card is reinserted I get a dip on the supply voltage that corrupts the propeller chip. The SD card specs recommend adding a 10uF and 0.1uF capacitor near the +V terminal on the card socket. I added the 10uF and that fixed my problem. Mike