The connections are as follows:
CS –> IO2
DI(MOSI)–>IO13
VSS1–> GND
VDD–>3.3v
SCLK–>IO14
Vss2–>GND
DO(MISO)–>IO12
Then i uploaded the CardInfo example from SD library. But for some reasons the esp cannot detect it. The MMC works fine on my pc. I dont know what am doing wrong. Is it the file system or the type of card (do I just have to use SD).