Hi
Or use https://github.com/uTasker/uTasker-Kinetis
More powerful interface than FatFs, integrated into USB-MSD, works with memory sticks and directly accessible by FTP or web browser.
https://www.youtube.com/watch?v=VJ7YveF4_8g
Documented: http://www.utasker.com/docs/uTasker/uTasker_utFAT.PDF
Out-of-the-box for FRDM-K64F: http://www.utasker.com/kinetis/FRDM-K64F.html
All operation (FAT, K64, Interrupts, DMA, SDHC, SD card) simulated in Visual Studio for ease of developing debugging, learning.
Supported as free open source or professional version.
Regards
Mark
Complete Kinetis solutions for professional needs, training and support:http://www.utasker.com/kinetis.html
uTasker: supporting >1'000 registered Kinetis users get products faster and cheaper to market