SD card woes with 16MB ESP32-WROOM-32E
Posted: Fri Oct 01, 2021 12:00 am
Hello all,
working on a custom PCB here.
I have a version of the PCB with ESP32-WROOM-32D (4MB) which works just fine.
There is an SD card connected via SPI on pis 18,19,23 with CS=5.
Now, I have almost the same board but with ESP32-WROOM-32E (16MB).
But the SD card will not mount:
I know internal flash is also hooked up via SPI. But I'm not sure it's even related.
I have tried slowing down the SD card frequency to 1MHz to no avail.
Is this likely to be a hardware problem? Or software?
Many thanks for any pointers.
working on a custom PCB here.
I have a version of the PCB with ESP32-WROOM-32D (4MB) which works just fine.
There is an SD card connected via SPI on pis 18,19,23 with CS=5.
Now, I have almost the same board but with ESP32-WROOM-32E (16MB).
But the SD card will not mount:
Code: Select all
14:55:29.850 > [V][Setup.h:77] setup(): Attempting to mount SD card.
14:55:30.164 > [W][sd_diskio.cpp:101] sdWait(): Wait Failed
14:55:30.164 > [E][sd_diskio.cpp:123] sdSelectCard(): Select Failed
14:55:30.164 > [W][sd_diskio.cpp:505] ff_sd_initialize(): GO_IDLE_STATE failed
14:55:30.164 > [E][sd_diskio.cpp:775] sdcard_mount(): f_mount failed: (3) The physical drive cannot work
14:55:30.462 > [W][sd_diskio.cpp:101] sdWait(): Wait Failed
14:55:30.463 > [E][sd_diskio.cpp:123] sdSelectCard(): Select Failed
I know internal flash is also hooked up via SPI. But I'm not sure it's even related.
I have tried slowing down the SD card frequency to 1MHz to no avail.
Is this likely to be a hardware problem? Or software?
Many thanks for any pointers.