SD Card Filename Issue

Hi There

Sorry if you guys are getting sick of me but i'm under a time limit and not just because i'm running out of hair to pull out! So, in the middle of doing experiments and suddenly my accelerometer code doesn't work. After 2 hours of scouring through the code and trying to remeber what changes i made late last night, i found the culprit was the filename of the SD file. The code is Jeff Rowbergs code but modified by adding in the lines to open a file on an SD card from the ReadWrite example.(see atachment). I have found that certain filenames work, like Test1, Test2, LS500, but not longer ones. So my question is simple. What are the rules for filenames on SD cards, e.g. length, uppercase, special characters etc. Thanks

Using a genuine UNO R3 and a genuine SD card reader from an arduino kit

8.3

Pretty sure that's documented.

Hi there

Found the 8 character limit, and after typing "SD card arduino 8.3" in that you can only use a 3 character extension. However it was more the special characters and any other peculiarities that i was interested in. Thanks

Ross46:
. . .
However it was more the special characters and any other peculiarities that i was interested in. . . .

The golden rule is don't use anything except upper case letters and numbers. If you insist on experimenting with exotic characters, you do so at your own risk. If you look here, you'll find a list of acceptable FAT filename characters. It would, however, be an act of faith to believe the author of Arduino version complied in all respects with this specification.

Event if you find some strange characters that appear to work, bear in mind that you may have problems if you attempt to read the SD card, written to on an Arduino, in another device.

Brilliant. thankyou for your help