RBotFirmware icon indicating copy to clipboard operation
RBotFirmware copied to clipboard

SD Card not Show

Open Bgrtksz opened this issue 1 year ago • 3 comments

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? Ekran Alıntısı

Bgrtksz avatar Jun 09 '24 18:06 Bgrtksz

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? Ekran Alıntısı

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)

Bgrtksz avatar Jun 09 '24 19:06 Bgrtksz

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

noedger avatar Jun 10 '24 06:06 noedger

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

Bgrtksz avatar Jun 16 '24 14:06 Bgrtksz