SDC_UseHardSPI = TRUE
Change that to FALSE to test if it is a SPI problem. If it work then you can probably guess the problem is outside of the PIC, connections, bad SD card...