Go Down

Topic: MKR SD Card not working? Uno is fine (Read 509 times) previous topic - next topic

GuyPickering

I have now tried two MKR SD shields on two MKR1000 boards and none of them will initialize the SD card that works fine on an Uno+Ethernet. Using the CardInfo sample with various versions of the SD library fail to work on the MKR SD shield. Uno works fine. The card is 8Gb SanDisk SDHC with FAT32.

I tried using the SDFat library directly and added diagnostic prints and it seems like some of the commands (CMD0, CMD8) work, but even CMD41 (to determine SDHC) returns different results on the MKR1000/SD (bad) vs. the Uno+Ethernet shield (good). The readCID fails - it just keeps getting 0xFF data back from the card.

I am using IDE 1.8.1.

Has anyone been able to get an MKR1000+SD workinging using the current library and IDE?

Thanks,

Guy

wolf7

Hi there,
I just came across the same issue. It works nicely with an other microSD break out board, but not with the MKR SD Proto Shield (TSX00004). I've checked all the pin connections between the MKR1000 board and the card slot of the MKR SD Proto Shield and it seems, that the GND pins are not connected.  :o
wolf7

wolf7

I was right.  :smiley-cool:

I've connected the 3rd contact from the left, when you look in the insertion direction, to the ground, which is at the card slot housing for example. Now it works.
See the picture:

wolf7


Mriaza


Go Up