This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Problem Initializing With Sd Card

Hi,

I am trying to interface with a micro SD card of 1GB, I am using a microSD adapter connected to the board SPI port.
I've read the documents and I am trying with SDCard.c program.
The problem is that I am getting a wrong R1 response to CMD0 command from SD card from SD card.

Can someone tell me what is wrong with the code in the document?

The received byte 0x3F should be 0x01. I don't realize where is the error, any help??!

  • What "SDCard.c program" is that?

    Just a filename totally out of context is no help at all - an internet search shows nearly a hundred files called "sdcard.c" - which one are you talking about?!

    Where did you get it? Have you asked them for support?

    "Can someone tell me what is wrong with the code in the document?"

    Not until you provide sufficient information to precisely identify the specific document and where to find it!