luc-github / ESP3D

FW for ESP8266/ESP8285/ESP32 used with 3D printer
GNU General Public License v3.0
1.78k stars 465 forks source link

Won't detect SD card #807

Closed jwinfieldnz closed 2 years ago

jwinfieldnz commented 2 years ago

SD card is not detected

The ESP32CAM SD card doesn't seem to be detected too often. I have used a few cards from 8 to 32GB FAT and exFAT format but doesn't seem to detect the card at all. Maybe I have the SD card settings wrong, It does work on some occasions.

Arduino debug provides

E (84334) sdmmc_sd: sdmmc_check_scr: send_scr returned 0xffffffff
E (84334) vfs_fat_sdmmc: sdmmc_card_init failed (0xffffffff).
M21

Maybe a faulty card reader?

image

image

-Marlin

github-actions[bot] commented 2 years ago

Thank your for submiting, please be sure you followed template or your issue may be dismissed. if you deleted the template it is here

luc-github commented 2 years ago

yes looks hardware/driver issue, can you share your configuration.h Did you do any change in FW? what version of esp32 core do you use in arduino?

jwinfieldnz commented 2 years ago

Sorry. You can close this. I just tried a camera sketch and fails with that also.

luc-github commented 2 years ago

yes looks hardware/driver issue, can you share your cofiguration.h Did you do any change in FW? what version of esp32 core do you use in arduino?

luc-github commented 2 years ago

try older core/ latest esp32 core git., there was some issue with sdmmc driver on some version

liqijian101 commented 2 years ago

My esp32s3 has the same problem. Some cards can not be detected, and another 16g card is identified as 2G.

Can you recommend a suitable version

luc-github commented 2 years ago

normaly latest git should be ok as well as 2.0.4 as well as version currently used in esp3d V3 platformio

be sure also your card is formated using https://www.sdcard.org/downloads/formatter/

on my esp32cam the 16GB is well detected : image

luc-github commented 2 years ago

I close issue then

github-actions[bot] commented 2 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.