SDHC Command Response

Guest #2137809
I could sure use some help with the SDHC response to CMD8.
Almost like I have hit a brick wall.
I am using an 8051 and usual connection via 74HCT circuit.
My software is all in AL so not of much value to anyone else.
My problem:  It all works fine with some SDHC cards and fails with 
others.
examples:

K    <<<<<< 8GB Kingston SDHC

FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
40 00 00 00 00 95 FF 01
48 00 00 01 AA 87 FF 05 FF FF FF FF  << 0x05 reply says error with 
something
K       <<<<<< 32GB Sandisk

FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
40 00 00 00 00 95 FF 01
48 00 00 01 AA 87 FF C1 7F FF FF FF   <<< 0xC1  ??? whats up?
K       <<< 4GB Sandisk SDHC

FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
40 00 00 00 00 95 FF 01
48 00 00 01 AA 87 FF C1 7F FF FF FF   <<< also 0xC1 ???
K          <<<<<  PNY 8GB SDHC

FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF

FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
40 00 00 00 00 95 FF 01
48 00 00 01 AA 87 FF 01 00 00 01 AA  <<< !!!! perfect

Any suggestions would sure be appreciated.  If there is anything I could 
share I'd be happy to.

Roger

Reply

A question of your own? This thread is over 15 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.