flash card and SPI

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

flash card and SPI

985件の閲覧回数
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. 

ラベル(1)
0 件の賞賛
返信
2 返答(返信)

540件の閲覧回数
xavier12358
Contributor I

Thank you for your reply.

0 件の賞賛
返信

540件の閲覧回数
ballen
Contributor I
0 件の賞賛
返信