flash card and SPI

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

flash card and SPI

987 Views
xavier12358
Contributor I

Hello

I program a MC9S08DZ60 in order to read informations from  SD card. I send it CMD0 and CMD1 commands to reset and init it, the card answers proprely. But for example when I send it a CMD17 command in order to read a single block, first the answer is correct 0x00 and then the card send me the data. But the probleme is that the start block is 0xfc whereas it should be 0xfe and then there is the data from the card. I don't know if the probleme could come from the class of my SD card?

 

Can someone who has already work on a SD card help me?

Thank you in advance. 

Labels (1)
0 Kudos
Reply
2 Replies

542 Views
xavier12358
Contributor I

Thank you for your reply.

0 Kudos
Reply

542 Views
ballen
Contributor I
0 Kudos
Reply