Click here to Skip to main content
15,893,337 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
i am writing the code for FAT32 file system,which will read and write data to the SD card on STM32F407 microcontroller. Can anyone suggest me which file name support is required for FAT32 specification. i have a example code , in which LFN(long file name), SFN(short file name) and non-LFN, these 3 types of file implementation is present. Which one i will use for FAT32 and which one is more suitable.
Posted

1 solution

It's LFN, as you can see from http://en.wikipedia.org/wiki/FAT32#Long_file_names[^].

Even though SFNs are supported for compatibility, I don't see any reason to use anything else but LFN. By apparent reasons, using both LFNs and SFNs can be very confusing.

—SA
 
Share this answer
 
Comments
Member 9978154 10-Jul-13 5:13am    
thanx for sharing your information. Do you have any code which only uses LFN(long file name),bcoz in my code there is a mixture of both SFN and LFN. Thats why i want only LFN code for FAT32. If you have please send me the link.
Sergey Alexandrovich Kryukov 10-Jul-13 10:22am    
You are welcome.
Well, I forgot SFN code long time ago. What link? To what? I have no idea. I don't develop file systems. And for applications, you just use files. There is no anything special in the code.
—SA
Member 9978154 10-Jul-13 8:07am    
can you please share only the FAT32 code,if you have the code please share the link
Member 9978154 11-Jul-13 3:12am    
its ok,i will manage myself. lets see what happens
Sergey Alexandrovich Kryukov 11-Jul-13 9:45am    
Very good. If you have further concerns, we will gladly try to help you.
Good luck, call again.
—SA

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900