flash card and SPI

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

flash card and SPI

880 次查看
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 回复数

435 次查看
xavier12358
Contributor I

Thank you for your reply.

0 项奖励
回复

435 次查看
ballen
Contributor I
0 项奖励
回复