PDA

View Full Version : maximum file name size in characters on sd card



mubase
07-26-2016, 10:25 PM
Hi guys. We have loads of Teensy audio boards and 3.2 boards for a project. We were just wondering if there is a size limit to the names of the wav files on the sd card. For instance, if I have a file called 123456789.wav, is that too big? Is there a limit to the number of characters you can use in your .wav file names?
Any help appreciated,
thanks,
Steve. x

PaulStoffregen
07-26-2016, 10:35 PM
The Arduino SD library only supports DOS 8.3 filenames. If you keep your names to 8 or fewer chars and only use uppercase, things are much easier.

mubase
07-29-2016, 10:57 AM
OK Thanks again for your help Paul. :)
Also I just got the Demosauce sketch for the 2.2 TFT LCD working. :cool: Very nice!! As good as any Amiga Demo I ever saw.

letNic
02-07-2018, 04:57 AM
The Arduino SD library only supports DOS 8.3 filenames. If you keep your names to 8 or fewer chars and only use uppercase, things are much easier.

Does that include suffix? For example is it:
“FILENAME” (8 chars) + “.TXT” (4 chars)
or
“NAME” (4 chars) + “.TXT” (4 chars)

Thanks :)

tonton81
02-07-2018, 05:33 AM
“filename.txt” 8.3)

forum seems to like uncapitalizing...

defragster
02-07-2018, 05:35 AM
It is 8 and 3 - the '.' dot is implied and not stored.