Hi All,
I am working on a TM4C129x custom board. We have ported TI-RTOS 2.14 onto the board. FatFs support was needed and has been enabled. RTC is enabled and tested. Shows the correct date/time.
One of requirements of the project is logging data onto SD card. One file is created for each day in the format YYYYMMDD.log e.g 20160808.log (file created on 8th August 2016).
Another requirement is deleting files that are 200 days old.
i am using the f_readdir to traverse the directory and get the file information in struct FILINFO defined in ff.h. The file information should contain the file name, date and time when it was modified.
But on testing found that date of file created/modified remained a constant 0xECO1 after testing on different dates and different times.
When I open the SD card on a windows PC, I only see filenames and no date/time is displayed.
Does the FATfs support storing metadata information about file creation/modification?
TIA
Narendra