-->
Page 1 of 2

SD card works, micro SD card doesn't

PostPosted: Mon Jun 22, 2020 9:10 am
by viktak
Dear all!

I am building a data logger device and so far I can successfully read/write data on an SD card using an SD card breakout board like on this pic:
IMG_20200622_170103.jpg


However, when I try a micro SD card (with an adapter) the whole thing stops working, it can't even initialize the card. The adapter and the micro SD card is like this:
IMG_20200622_170123.jpg


I am using the latest version of the Arduino framework in PlatformIo, and GPIO15 for CS, if it makes any difference...

I have tried several other adapters and micro SD cards (which all work in other devices) but I get the same result: SD cards work, micro SD cards don't.

Any particular reason for this? Any idea what could be the problem?

Thank you for any pointers in advance!

v

Re: SD card works, micro SD card doesn't

PostPosted: Mon Jun 22, 2020 2:04 pm
by picstart
The SD card and the micro SD card aren't the same. All the SD adapter for the Micro SD card is doing is connecting the pins. The cards have different protocols and the software interface has to talk to the card the card in its protocol for it to work.

Re: SD card works, micro SD card doesn't

PostPosted: Mon Jun 22, 2020 4:44 pm
by Bonzo
I have a micro SD card working here: viewtopic.php?f=11&t=19802&p=87620#p87620 but I am not using a breakout board.
Image

Re: SD card works, micro SD card doesn't

PostPosted: Tue Jun 23, 2020 4:31 am
by viktak
picstart wrote:The SD card and the micro SD card aren't the same. All the SD adapter for the Micro SD card is doing is connecting the pins. The cards have different protocols and the software interface has to talk to the card the card in its protocol for it to work.


Hmmm, are you sure about this? Since last night I tried to use a micro SD card directly (i.e. without the adapter), and the same code works just fine. So my problem is now mute as I want to use a micro SD in the final device anyway, but it would be interesting to know why they behave like this.