Closed KuntalDa closed 11 months ago
user / hardware problem
I'm having the same problem. The sdcard functions properly when running SDMMC_test sketch in the Arduino IDE.
I'm using the AI-Thinker board. Tested on 3 boards.
Used: E:\arduino-1.8.19\portable\packages\esp32\hardware\esp32\2.0.14\libraries\WiFi
Not used: E:\arduino-1.8.19\libraries\WiFi
Using library ESPmDNS at version 2.0.0 in folder: E:\arduino-1.8.19\portable\packages\esp32\hardware\esp32\2.0.14\libraries\ESPmDNS
Using library Preferences at version 2.0.0 in folder: E:\arduino-1.8.19\portable\packages\esp32\hardware\esp32\2.0.14\libraries\Preferences
Using library SD_MMC at version 2.0.0 in folder: E:\arduino-1.8.19\portable\packages\esp32\hardware\esp32\2.0.14\libraries\SD_MMC
Using library FS at version 2.0.0 in folder: E:\arduino-1.8.19\portable\packages\esp32\hardware\esp32\2.0.14\libraries\FS
Using library LittleFS at version 2.0.0 in folder: E:\arduino-1.8.19\portable\packages\esp32\hardware\esp32\2.0.14\libraries\LittleFS
Using library Update at version 2.0.0 in folder: E:\arduino-1.8.19\portable\packages\esp32\hardware\esp32\2.0.14\libraries\Update
Using library WiFi at version 2.0.0 in folder: E:\arduino-1.8.19\portable\packages\esp32\hardware\esp32\2.0.14\libraries\WiFi
Using library HTTPClient at version 2.0.0 in folder: E:\arduino-1.8.19\portable\packages\esp32\hardware\esp32\2.0.14\libraries\HTTPClient
Using library WiFiClientSecure at version 2.0.0 in folder: E:\arduino-1.8.19\portable\packages\esp32\hardware\esp32\2.0.14\libraries\WiFiClientSecure
Using library Wire at version 2.0.0 in folder: E:\arduino-1.8.19\portable\packages\esp32\hardware\esp32\2.0.14\libraries\Wire
22:45:12.251 -> rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
22:45:12.251 -> configsip: 0, SPIWP:0xee
22:45:12.251 -> clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
22:45:12.251 -> mode:DIO, clock div:1
22:45:12.251 -> load:0x3fff0030,len:1344
22:45:12.251 -> load:0x40078000,len:13964
22:45:12.251 -> load:0x40080400,len:3600
22:45:12.251 -> entry 0x400805f0
22:45:12.769 -> [ 4][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz
22:45:13.198 -> [ 451][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled
22:45:13.246 ->
22:45:13.246 ->
22:45:13.246 -> [00:00:00.482 logSetup] Setup RAM based log, size 7168, starting from 0
22:45:13.246 ->
22:45:13.246 ->
22:45:13.246 -> [00:00:00.482 logSetup] =============== ESP-CAM_MJPEG 9.4 ===============
22:45:13.246 -> [00:00:00.492 printResetReason] Power on reset
22:45:13.246 -> [00:00:00.493 printWakeupReason] Wakeup by reset
22:45:13.294 -> [00:00:00.521 ERROR @ utilsFS.cpp:65] SD card mount failed
22:45:13.294 -> [00:00:00.521 loadConfig] Load config
22:45:13.294 -> [00:00:00.521 ERROR @ prefs.cpp:142] Failed to load file /data/configs.txt
22:45:13.294 -> [00:00:00.533 WARN retrieveConfigVal] Key hostName not set
22:45:13.294 -> [00:00:00.533 WARN retrieveConfigVal] Key AP_SSID not set
22:45:13.484 -> [00:00:00.741 prepCam] Camera init OK for model OV2640 on board CAMERA_MODEL_AI_THINKER
22:45:13.484 -> [00:00:00.741 WARN retrieveConfigVal] Key framesize not set
22:45:13.768 -> [00:00:01.004 setWifiSTA] Wifi Station IP from DHCP
22:45:13.768 -> [00:00:01.019 onWiFiEvent] Wifi AP stopped: ESP-CAM_MJPEG_6C50F81CB2B0
22:45:13.768 -> [00:00:01.023 WARN startWifi] SSID not available, use AP
22:45:13.768 -> [00:00:01.024 onWiFiEvent] Wifi AP SSID: ESP-CAM_MJPEG_6C50F81CB2B0 started, use 'http://192.168.4.1' to connect
22:45:16.781 -> [00:00:04.050 startPing] Started ping monitoring - On
22:45:16.828 -> [00:00:04.055 startWebServer] Starting web server on port: 80
22:45:16.828 -> [00:00:04.056 startWebServer] Remote server certificates not checked
22:45:16.828 -> [00:00:04.056 ERROR @ ESP32-CAM_MJPEG2SD.ino:134] Startup Failure: Check SD card inserted
22:45:16.828 -> [00:00:04.066 loop] =============== Total tasks: 13 ===============
ESP-ROM:esp32s3-20210327 [00:04:09.214 ERROR @ utilsFS.cpp:63] SD card mount failed [00:04:09.214 loadConfig] Load config [00:04:09.214 ERROR @ prefs.cpp:135] Failed to load file /data/configs.txt [00:04:09.214 WARN retrieveConfigVal] Key hostName not set [00:04:09.215 WARN ret[00:04:09.622 setupMdnsHost] mDNS service: http://ESP-CAM_MJPEG_F.local [00:04:13.033 startPing] Started ping monitoring - On [00:04:13.035 startWebServer] Starting web server on port: 80 [00:04:13.035 ERROR @ ESP32-CAM_MJPEG2SD.ino:138] Startup Failure: Check SD card inserted [00:04:13.104 onWiFiEvent] WiFi AP client connection [00:04:18.033 resetWatchDog] WatchDog started using task: ping