Hi ,
I am working on interfacing the SPI (GPIO) interface with the SD card.I was able to get the responses of all the commands (CID,CSD,SCR,).
I tried to do a block read (the data token also has obtained) for the first 8 blocks and I could get the following data from the first block and 0’s in all the next blocks.I know I am going wrong with my concepts .
Can you please help me.
000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004bc1f59e00033d061cfcd9f90007531e000000000000000000000000000000000000000000000000055aa
Is it the correct data.The block0 should contain the MBR.I tried to do the hexdump using winhex of the data from the card and I could not match the data read from the winhex and my application.
Can any one help me out.
Regards,
Sunil