SDHC card initialization and write operation

Status
Not open for further replies.

am85

Member level 2
Joined
May 30, 2011
Messages
46
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,288
Location
Germany
Activity points
1,661
Hi all,
I have been able to initialize and write to an SD card in SPI mode, but when I am trying to use the same VHDL code to write to a 32 GB SDHC card it doesn't work. My initialization is as follows:
1) CMD0 , CS = 0
2) CMD55
3) CMD41

then I start reading or writing. What is different when it is an SDHC card. Also in addressing for the SD card I use the Physical sector no x 512, how is the addressing done for an SDHC card?

Thanks a lot.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…