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
hi Per Westermark,
Thanks for the earliest reply.
I Enabled the feature i defined _USE_LFN to 1 and also added the unicode.c to my project but I am getting the following error.
Trial_Link_CSU.axf: error: L6047U: The size of this image (46140 bytes) exceeds the maximum allowed for this version of the linker
thanks, srini
So you're either going to have to get a Keil version which does allow larger images, or get a different toolchain which does allow larger images - aren't you?
www.keil.com/.../limits.asp