SD Card not Show
Hello,
I am doing this project, but it does not use the SD card I used. The web interface shows the memory size as 1Mb. I did not make a different pin connection. I did not change the code.
My pin connection is like this;
“fileManager”: {
“spiffsEnabled”: 1,
“spiffsFormatIfCorrupt”: 1,
“sdEnabled”: 1,
“sdMOSI”: “18”,
“sdMISO”: “19”,
“sdCLK”: “5”,
“sdCS”: “21”
},
Can you help me solve the problem?
Hello, I am doing this project, but it does not use the SD card I used. The web interface shows the memory size as 1Mb. I did not make a different pin connection. I did not change the code. My pin connection is like this; “fileManager”: { “spiffsEnabled”: 1, “spiffsFormatIfCorrupt”: 1, “sdEnabled”: 1, “sdMOSI”: “18”, “sdMISO”: “19”, “sdCLK”: “5”, “sdCS”: “21” }, Can you help me solve the problem?
I found some information about the error.
In the serial monitor ;
I: FileManager: setup SPIFFS partition size total 1013036, used 0
E (245) sdmmc_io: sdmmc_io_reset: unexpected return: 0x103
W: FileManager: installation failed to initialize SD (error ESP_ERR_INVALID_STATE)
Hi What size SD Card are you using. I know I battled the same way. The adalogger is verry specific in the cards used. I found a older 2 Gb card worked for me. If you did not change pins or code then just play arround with different cards.
Regards Deon
I solved the problem, the error code was as follows. "sdmmc_sd: sdmmc_check_scr: send_scr returned 0x107"
When I changed the "SDMMC_FREQ_DEFAULT=20000" value in sdmmc_types.h to "SDMMC_FREQ_DEFAULT=5000" it worked.
SD card format must be "FAT". I also solved the problem with reference here.
https://github.com/espressif/esp-idf/issues/2478