chipKIT® Development Platform

Inspired by Arduino™

SD card access on ethernet shield

Created Sat, 22 Oct 2011 12:30:52 +0000 by pingi


Sat, 22 Oct 2011 12:30:52 +0000

I have the following setup: chipKIT UNO + Ethernet Shield (v6 from orig Arduino).

In case I use the following sequence of initializing the SD card access it is working fine:

card.init(SPI_HALF_SPEED, chipSelect);
  rc = root.openRoot(volume);

E.g. the example CardInfo contains this.

But if I use the following:


it hangs and never continues. E.g. I tried the example DumpFile w/o success.

Can someone give me a hint?



Sat, 22 Oct 2011 13:42:19 +0000

I am not sure about v6, but v5 shield needs reset line to be cut off removed from the 6 pin header


Sat, 22 Oct 2011 14:15:04 +0000

yes the reset line needs to be cut in both versions. This I have done and the first version of code is running but the second, more comfortable, not.



Thu, 27 Oct 2011 22:21:42 +0000

I have exactly the same problem with a Pinguino 32. I can declare my own SDClass mySD with the same problem. It is hanging in the card.init part of SD.begin.