-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Card Mount Failed due to ESP_ERR_TIMEOUT #1
Comments
I found a solution - updating platformio.ini to use version 2.0.5 of framework-arduinoespressif32 (latest at the time that I write this). I then get this output: SD_MMC Card Type: SD_MMCHC |
Looks like you've found a workaround. Please close this issue if the issue has been resolved. |
Maybe not completely solved. I am using a rebuild of the Factory project with Arduino 1.8.19 and arduino-ESP32 2.0.5, although I had the same issue with the Factory firmware received on the board. I am observing that some brands of micro SD cards work and others do not. Based on my testing, it does not seem to be related to the card size or how it was formatted (all are formatted FAT32 at the default block size). Of the various cards I have on hand, Samsung, Centon and Amplim all work, while Kingston and Patriot do not. |
To solve issue Xinyuan-LilyGO#1
@bratoff I think you need to open a new issue. This line was for individual cards working or not due to the programming environment. |
If I use the Arduino IDE (v2.0.1) with arduino-esp32 2.0.5
https://github.com/espressif/arduino-esp32
I can add the SD_MMC.setPins line and run the SSDMMC_Test and read from some microSD cards with no problem.
However using PlatformIO, building and installing the Factory project results in the Card Mount Failed error.
E (4001) sdmmc_req: sdmmc_host_wait_for_event returned 0x107
E (4001) sdmmc_sd: sdmmc_check_scr: send_scr returned 0x107
E (4002) vfs_fat_sdmmc: sdmmc_card_init failed (0x107).
[ 4231][E][SD_MMC.cpp:138] begin(): Failed to initialize the card (0x107). Make sure SD card lines have pull-up resistors in place.
Card Mount Failed
scan start
scan done
5 networks found
etc.
I see that 0x107 is ESP_ERR_TIMEOUT
The text was updated successfully, but these errors were encountered: