Open marwenclock opened 2 years ago
I have this Audio board, connected to the WROOM-32. I'm compiling with platformio and this dependency stack:
|-- ESP32-audioI2S-master @ 2.0.0+sha.50b80e2
| |-- FFat @ 2.0.0
| | |-- FS @ 2.0.0
| |-- FS @ 2.0.0
| |-- SD @ 2.0.0
| | |-- FS @ 2.0.0
| | |-- SPI @ 2.0.0
| |-- SD_MMC @ 2.0.0
| | |-- FS @ 2.0.0
| |-- SPI @ 2.0.0
| |-- SPIFFS @ 2.0.0
| | |-- FS @ 2.0.0
| |-- WiFi @ 2.0.0
| |-- WiFiClientSecure @ 2.0.0
| | |-- WiFi @ 2.0.0
|-- Adafruit GFX Library @ 1.11.5
| |-- Adafruit BusIO @ 1.14.1
| | |-- Wire @ 2.0.0
| | |-- SPI @ 2.0.0
| |-- Wire @ 2.0.0
| |-- SPI @ 2.0.0
|-- Adafruit SSD1306 @ 2.5.7
| |-- Adafruit GFX Library @ 1.11.5
| | |-- Adafruit BusIO @ 1.14.1
| | | |-- Wire @ 2.0.0
| | | |-- SPI @ 2.0.0
| | |-- Wire @ 2.0.0
| | |-- SPI @ 2.0.0
| |-- Adafruit BusIO @ 1.14.1
| | |-- Wire @ 2.0.0
| | |-- SPI @ 2.0.0
| |-- Wire @ 2.0.0
| |-- SPI @ 2.0.0
|-- FS @ 2.0.0
|-- SD @ 2.0.0
| |-- FS @ 2.0.0
| |-- SPI @ 2.0.0
|-- SPI @ 2.0.0
The code compiles correctly and flashes to the board (without the audio board connected!). Then I attach the audio board with a confirmed-good SD card, I get SD ERR on the lcd, and I find the following error in the Serial monitor:
rst:0x1 (POWERON_RESET),boot:0x1f (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1184
load:0x40078000,len:13104
load:0x40080400,len:3036
entry 0x400805e4
serial initialized
[ 4402][E][sd_diskio.cpp:802] sdcard_mount(): f_mount failed: (3) The physical drive cannot work
I have followed the instructions in the espressif GitHub issue 5967 with no change.
Do you have ideas about what I should try next? thank you.
I just uploaded the code using all the steps and did everything correctly. but when I look at the esp32 it says SD ERR. the sd card is installed and it has music on it. Why isnt it working?