SD Card (using FAT) file names randomly changing to uppercase with '~1'
Posted: Tue Apr 01, 2025 4:19 am
Hello,
I'm currently using an ESP32-S3 to read/write files to an SD card using the FAT file system. I've noticed an issue where most of the file, folders names occasionally get converted to uppercase and appended with "~1".
For example:
- The original file name is "checkpoint-0001".
- After some time, it changes to "CHECKP~1".
My file names are typically between 5 to 32 characters long, and I don't believe the system have trouble handling long file names. The issue seems to occur randomly and are very hard to reproduce.
Does anyone have an idea why this is happening?
Or any direction for debugging would be greatly appreciated.
Thanks in advance!
I'm currently using an ESP32-S3 to read/write files to an SD card using the FAT file system. I've noticed an issue where most of the file, folders names occasionally get converted to uppercase and appended with "~1".
For example:
- The original file name is "checkpoint-0001".
- After some time, it changes to "CHECKP~1".
My file names are typically between 5 to 32 characters long, and I don't believe the system have trouble handling long file names. The issue seems to occur randomly and are very hard to reproduce.
Does anyone have an idea why this is happening?
Or any direction for debugging would be greatly appreciated.
Thanks in advance!