Home - WMXZ-EU/uSDFS GitHub Wiki

uSDFS

The uSDFS (microSD File System) is a port of ELM CHaN's FATFS to Teensy.

The port is based in addition to FATFS ff12b on

  • K64 SDHC driver by Petr Gargulak (NXP Employee)

https://community.nxp.com/servlet/JiveServlet/download/339474-1-263510/SDHC_K60_Baremetal.ZIP https://community.nxp.com/thread/99202

  • Teensy SPI port to FATFS by Karl Lundt

http://www.seanet.com/~karllunt/bareteensy31libs.html

and the

  • Arduino SdSpi Library by William Greiman

https://github.com/greiman/SdFat

To read about some discussion on SdFat and FATFS concerning speed etc go to http://forum.arduino.cc/index.php?topic=281907.0

this discussion refers to Bill Greiman's own SdFat and a port of FATFS to Arduino by Jean-Michel Gallego https://github.com/gallegojm/Arduino-FatFs

Meanwhile there has been some work done by both Bill and ChaN, but as the approaches differ, so will the performance.

I have selected FATFS for the port as it has already implemented the exFAT file system, that most uSD > 32 GB are using.

Usage

To include the uSDFS file system use

#include "uSDFS.h"

Configration

See Configuration page on how to configure uSDFS