am85
Member level 2
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.
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.