chipKIT® Development Platform

Inspired by Arduino™

Issue writing SD Card

Created Sat, 12 Jan 2013 18:51:28 +0000 by PICedh


PICedh

Sat, 12 Jan 2013 18:51:28 +0000

Hello,

I use UNO32 and SD lib to write on a SD card formatted with FAT

After the file opening, the file is well created on the SD card but the write blocks

If I transfer the SD card on my PC, I see the empty file just created and it can update it with notepad

What is strange is that if I put back the SD card into my shield with the file updated by windows, it works !

It seems that the creation of the fiel by the SD lib is not correct and thefile need to be first updated by windows in order to allow the SD lib to write

Any idea of the root cause ?

Thanks


PICedh

Mon, 14 Jan 2013 17:19:52 +0000

I have downloaded the last release of MPIDE 20120903 and it works now ! I think there are some bugs in the old release MPIDE 20111221