ESP32-EVB Rev C - ESP-IDF SD card example does not work

Started by vinifr, July 20, 2018, 11:56:29 PM

Previous topic - Next topic



I am testing SD card example from IDF but does not work:

This is the log:
sdcard: Using SDMMC peripheral
gpio: GPIO[13]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
sdmmc_cmd: sdmmc_card_init: send_scr (2) returned 0xffffffff
sdcard: Failed to mount filesystem. If you want the card to be formatted, set format_if_mount_failed = true.


Technical support and documentation manager at Olimex


Hi, I have figured out the problem.

We just need uncomment this line in ESP-IDF example:
// To use 1-line SD mode, uncomment the following line:
    host.flags = SDMMC_HOST_FLAG_1BIT;