I have a problem for which I can't find the solution in previous topics.
I'm using a microcontroller to read data from a Kodak 2GB Micro SD Card. I want to write a minimal driver in SPI mode, no need to do writing or formatting operations, just read some files.
I can see those signals on a 4 channel scope: CS, MOSI, MISO, CLK.
I do the following:
I send 100 bytes at 100KHz, with MOSI and CS high.
I send CMD 1, no argument, response type R1 returns 0x1, correct.
I send CMD 8, arg=0x1AA, response type R7 returns 0x1+ arg 0x1AA, correct.
At this point every command returns 0x5 at the 4th byte of the command. In other words, before the 6 bytes command is completely issued.
Any explanation for that?