cancel
Showing results for 
Search instead for 
Did you mean: 

FATFS using long file names

LBarn.1
Associate II

Is anyone out there using STM32FCube w/ fatfs with LFN (long file names) ? My project works, but I can only get a small file name to work. I have tried all of the settings in FFCONF.h and added ccsbcs.c file.

5 REPLIES 5

Last time I check Cube it had bundled a quite stale version of FatFs, 3 years old. When I can I use the newer version with HAL directly as the one provided corrupts large volumes.

Issues with creating, opening or directories?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
PMath.4
Senior III

Like Clive I use a fully updated FATFS and long file name definitely works perfectly. The only thing missing in the latest version is support for relative pathnames with an exFAT format disk but I've engineered a way round this by tracking the working directory external to FATFS.

LBarn.1
Associate II
  • Ok, what is the latest version and where can I get it?

R0.14

http://elm-chan.org/fsw/ff/00index_e.html

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
LBarn.1
Associate II

Thanks for your help. I had a few changes to make and finally got a successful compile. Still having some issues. What changes to ffconf.h need to be made for long file names and multiple directories?