Re: SD card initialisation



On Mon, 1 Dec 2008 17:45:59 +0900, "Murray R. Van Luyn"
<NOSPAM@NOSPAM> wrote:

Thanks Peter.

It seems that I'm going to get a 0x01 response no matter how many times I
issue CMD0.

Also, it seems that I'm going to get an invalid response (0xFF) no matter
how many times I then issue CMD55.

Vexing!

Regards,
Murray R. Van Luyn.

"Peter Jakacki" <peterjakacki@xxxxxxxxx> wrote in message
news:dWMYk.2320$Et1.1805@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Murray R. Van Luyn wrote:
Hi,

I'm trying to initialise a 2GB Transcend SD card with an AT89C51AC2.

I send CMD0 and get a 0x01 response. It's initialising...

Then I send 10 CMD55 messages and get no valid response (0xFF) each time.
I don't know why I don't get a 0x01 response here until the card has
finished initialising?

Sound familiar to anyone?

You send CMD0 and that's fine but you need to send ACMD41 which is
CMD55+CMD41 combo. I don't put a limit on the number of times I do this
but depend upon a timeout instead. It depends upon the card.

*Peter*


Typically, you issue a CMD0 20 or 30 times to reset the card (I'm not
worrying about MMC cards here). Then you can follow w/ either a CMD8,
which distinguishes between SD +/- V2 cards, followed by the
CMD55/ACMD41 pair.

Question I have for you is. do you see the exact same behavior whether
a card is inserted or not? I have seen what looks like go_idle_state
(CMD0) succeed) followed by fails on CMD55, which turned out to be a
physical problem w/ the SD socket - broken switch or a piece of junk
wedged near the bottom.

Make sure the card is being electrically recognized before you start
worrying over the CMD returns.

Best, Tom
.



Relevant Pages

  • Re: SD card initialisation
    ... It seems that I'm going to get a 0x01 response no matter how many times I ... I'm trying to initialise a 2GB Transcend SD card with an AT89C51AC2. ... I send CMD0 and get a 0x01 response. ...
    (comp.arch.embedded)
  • Re: SD card initialisation
    ... I'm trying to initialise a 2GB Transcend SD card with an AT89C51AC2. ... Then I send 10 CMD55 messages and get no valid response each time. ... I don't know why I don't get a 0x01 response here until the card has finished initialising? ... You send CMD0 and that's fine but you need to send ACMD41 which is CMD55+CMD41 combo. ...
    (comp.arch.embedded)
  • Re: Meat Eating and Cancers, Heart Disease and Other Diseases
    ... Ibraheem's guideline helps till our card after we entail ... in response to it. ...
    (sci.crypt)
  • Re: Not to whine, but [more details on NIC problem]
    ... William's response to my e-mail. ... show up when I installed the SMP version of the 2.6 kernel with a SuSE ... It is indeed a 3com card. ... The computer can see the network through the card, ...
    (Fedora)
  • Re: 1NT responses
    ... inquire (I only play on the internet, on Yahoo) whether it's transfers ... a 2D/2H/2S response to a 1NT opener means a signoff, ... but I don't know roman key card blackwood... ...
    (rec.games.bridge)

Loading