Time Stamp - Sd Card

17 Feb 2010

I am not sure if I am doing something wrong or it is a bug but I notices that the files I write to the SD card with the SDFileSystem library do not have any date/time information (created, modified, etc).

Is there something I need to do to make this happen?

Also,  I am correct in saying that file names must be 8.3 format?

17 Feb 2010

Couple more questions/comments:

I scanned through the headers for the FATFileSystem and noticed that you are usings CHan's Fat File System module.   There is a function called

get_fattime() in his library where the user is supposed to return a DWORD with the bits set in a certain way to implment the timestamping.

Can you check this function to see if it is properly implemented?   I would do it but it seems like you guys only have a precompiled version of the library available.

Also, in Chan's ffconf.h,  there is a symbol called _USE_LFN.   I assume you compiled this with a value of zero?   It would be nice if you could post full source code to the FATFileSystem so I could modify it without having to start from scratch with a port.

Thanks!

 

 

 

18 Feb 2010

Three more comments/requests:

It would be nice if the timestamp could be obtained from the RTC.

Add support for multi-level directories.

Redo readdir to return all the directory entry data, not just the filename.

Paul

02 Nov 2010

is there any support for date time stamp for SD file system ?

all my generated files have no entries in windows explorer.

 

Cheers

Ceri