This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

getting file info in keil with FATFS

Hi All,

I am writing a application for Tiva C series MCU where I need to write/read the file to/from SD card.

If I read the directory by using FATFS library by calling fread as below iFResult = f_readdir(&directory, &File_Info);

here all the file information will be stored in File_Info structure. If I see the file name member in structure it is having as "FLOWER~1.JPG" instead of "flowers_Original.jpg".

Does anyone know why it is overwriting the file name and also I need to access the file by using "FLOWER~1.JPG" name only.

Any help is appreciated.

Thanks
srini