chipKIT® Development Platform

Inspired by Arduino™

Sparkfun microSD Shield with ChipKIT uc32, Which library?

Created Thu, 13 Jun 2013 21:42:10 +0000 by OldfordCJ


OldfordCJ

Thu, 13 Jun 2013 21:42:10 +0000

Hi, I have the ChipKIT uc32 microcontroller board and the Sparkfun microSD Shield. I am using the mpide-0023-windows-20120903.zip downloaded from github and the embedded SD library. Is this the correct SD library to use for this configuration or is there an updated library? I know with the Arduino Uno and the Arduino ide 1.0, I needed a newer SD library.

I have the microSD card mostly working. I am transfering files (USB) to this system and they get stored on the flash card. I am using the "ls' command to send the directory listing back (USB) to a PC. The problem is the date/time stamp is not correct. I am having trouble figuring out how to update the timestamp on the files stored on the SD flash card. I will send the correct date (via USB) to use for the timestamp info. I was trying to use the SD timestamp function.

Is there a way I can set the UC32'c date before I create the file oris there a way to modify the files timestamp after they are created? Or maybe I need a newer SD library?

Thanks in advance, Curt