Jump to content

[Energia Library] Petit FatFS SD Card Library

Recommended Posts



This is a port of ChaN Petit FatFS SD library targeted to low RAM microcontrollers and offers a minimal FAT implementation, with limited write support. For more details see http://elm-chan.org/fsw/ff/00index_p.html


A lot of credits goes to the main contributors to this topic http://forum.43oh.com/topic/1427-petitefs-fatfs-sdcard-usci-code/



Because this library makes use of the SPI library included in Energia it works for both MSP430 and Stellaris launchpads.


With MSP430 I noticed some interference with Serial.print so before every call to the fat library I had to add a small delay. On Stellaris board these are not necessary.



Unzip and copy in Energia\hardware\msp430\libraries or Energia\hardware\lm4f\libraries .


The file attached to this post is the first version. Please use the variant from 43oh forum: http://forum.43oh.com/topic/3209-energia-library-petit-fatfs-sd-card-library/#entry27705


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...