Skip to content
WMXZ-EU edited this page Jul 1, 2019 · 3 revisions

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

Clone this wiki locally