I have written a code for the init. of SD & SDHC card. The code is pretty much copied from the SD Library of Arduino. I am checking the code on Arduino but my target board is different. So, Can't use SD Library itself.

I have almost everything same but it didn't work with standard SD (256 MB). However it works with SDHC (8GB), it shows the following output:Output of SDHC ( 8 GB):