Forum Discussion
Altera_Forum
Honored Contributor
10 years agoThe code checks the second bit of the auxiliary status register - the 'card detect' bit (you can check this in the IP core's VHDL file) - and returns true if there is a card inserted. You can check this in the debugger. From what I've read here, certain types of SD card don't work with this IP core though (more recent generations, ie SDHC type), so you might want to try a different card or IP core.
-N