2013-07-07 11:44 PM
I have interface SDHC card with SPI protocol.
If I initialize the card while debugging it worked right. But if initialize it without it then card don't get initialized.What could be the problem, like some timing issues. I also added 10ms delay b/w spi initialization & card initialization but didn't work.Its timeout when I send CMD55_APP_CMD & ACMD41_SEND_OP_COND command2013-07-10 02:59 AM
Any help on this.
2013-07-10 03:23 AM
Hard to give a useful hint, without your hardware.
I would add debug output, redirected to a uart, to find the difference. You could record the return values of the failing function calls, and compare with that seen during debugging.What could be the problem, like some timing issues.I suspect a timing problem, too. Have you tried lower bit rates ? Have you compared your implementation with other, working examples ?
2013-07-10 03:42 AM
Did you follow these steps?
Chan's web site is usually very reliable.