Skip to content

Failed to mount SD card: ESP_ERR_TIMEOUT #100

Description

@leighghunt

Failed to mount SD card: ESP_ERR_TIMEOUT as of d86d1e5

--- esp-idf-monitor 1.9.0 on /dev/ttyACM0 115200
--- Warning: ELF file '/home/leigh/dev/venari/timelapse/esp32/waveshare/build/waveshare.elf' does not exist
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H
I (25) boot: compile time Jul 21 2026 23:07:53
I (25) boot: Mulmain()
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x18 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2820,len:0x14f0
load:0x403c8700,len:0xda0
load:0x403cb700,len:0x2f54
entry 0x403c8908
I (24) boot: ESP-IDF v6.0.2 2nd stage bootloader
I (25) boot: compile time Jul 21 2026 23:07:53
I (25) boot: Multicore bootloader
I (25) boot: chip revision: v0.2
I (28) boot: efuse block revision: v1.3
I (31) boot.esp32s3: Boot SPI Speed : 80MHz
I (35) boot.esp32s3: SPI Mode       : DIO
I (39) boot.esp32s3: SPI Flash Size : 2MB
I (43) boot: Enabling RNG early entropy source...
I (47) boot: Partition Table:
I (50) boot: ## Label            Usage          Type ST Offset   Length
I (56) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (63) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (69) boot:  2 factory          factory app      00 00 00010000 00100000
I (76) boot: End of partition table
I (79) esp_image: segment 0: paddr=00010020 vaddr=3c040020 size=11e54h ( 73300) map
I (100) esp_image: segment 1: paddr=00021e7c vaddr=3fc91800 size=05710h ( 22288) load
I (105) esp_image: segment 2: paddr=00027594 vaddr=40374000 size=08a84h ( 35460) load
I (113) esp_image: segment 3: paddr=00030020 vaddr=42000020 size=31590h (202128) map
I (151) esp_image: segment 4: paddr=000615b8 vaddr=4037ca84 size=04d14h ( 19732) load
I (155) esp_image: segment 5: paddr=000662d4 vaddr=50000000 size=00024h (    36) load
I (162) boot: Loaded app from partition at offset 0x10000
I (162) boot: Disabling RNG early entropy source...
I (176) esp_psram: Found 2MB PSRAM device
I (176) esp_psram: Speed: 40MHz
I (176) cpu_start: Multicore app
I (595) esp_psram: SPI SRAM memory test OK
I (603) cpu_start: GPIO 44 and 43 are used as console UART I/O pins
I (604) cpu_start: Pro cpu start user code
I (604) cpu_start: cpu freq: 160000000 Hz
I (606) app_init: Application information:
I (610) app_init: Project name:     waveshare
I (614) app_init: App version:      d86d1e5
I (618) app_init: Compile time:     Jul 21 2026 23:07:46
I (623) app_init: ELF file SHA256:  a7f0e32ac...
I (627) app_init: ESP-IDF:          v6.0.2
I (631) efuse_init: Min chip rev:     v0.0
I (635) efuse_init: Max chip rev:     v0.99 
I (639) efuse_init: Chip rev:         v0.2
I (643) heap_init: Initializing. RAM available for dynamic allocation:
I (649) heap_init: At 3FC98280 len 00051490 (325 KiB): RAM
I (654) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (659) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (664) heap_init: At 600FE000 len 00001FE8 (7 KiB): RTCRAM
I (670) esp_psram: Adding pool of 2048K of PSRAM memory to heap allocator
I (677) spi_flash: detected chip: winbond
I (680) spi_flash: flash io: dio
W (683) spi_flash: Detected size(16384k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (695) sleep_gpio: Configure to isolate all GPIO pins in sleep state
I (701) sleep_gpio: Enable automatic switching of GPIO sleep configuration
I (708) main_task: Started on CPU0
I (718) esp_psram: Reserving pool of 32K of internal memory for DMA/internal allocations
I (718) main_task: Calling app_main()
I (718) s3 ll_cam: DMA Channel=0
I (728) cam_hal: cam init ok
I (728) sccb-ng: pin_sda 15 pin_scl 16
I (728) sccb-ng: sccb_i2c_port=1
I (748) ov3660: Mismatch PID=0x5640
I (748) camera: Camera PID=0x5640 VER=0x00 MIDL=0x00 MIDH=0x00
I (748) camera: Detected OV5640 camera
I (748) camera: Detected camera at address=0x3c
I (1428) cam_hal: PSRAM DMA mode disabled
I (1428) s3 ll_cam: node_size: 3840, nodes_per_line: 1, lines_per_node: 6
I (1428) s3 ll_cam: dma_half_buffer_min:  3840, dma_half_buffer: 15360, lines_per_half_buffer: 24, dma_buffer_size: 30720
I (1428) cam_hal: buffer_size: 30720, half_buffer_size: 15360, node_buffer_size: 3840, node_cnt: 8, total_cnt: 10
I (1438) cam_hal: Allocating 153600 Byte frame buffer in PSRAM
I (1448) cam_hal: cam config ok
I (1468) ov5640: Set PLL: bypass: 0, multiplier: 8, sys_div: 1, pre_div: 1, root_2x: 0, pclk_root_div: 1, pclk_manual: 1, pclk_div: 4
I (1468) ov5640: Calculated XVCLK: 20000000 Hz, REFIN: 20000000 Hz, VCO: 160000000 Hz, PLL_CLK: 64000000 Hz, SYSCLK: 16000000 Hz, PCLK: 8000000 Hz
E (1518) sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107
E (1518) vfs_fat_sdmmc: sdmmc_card_init failed (0x107).
E (1518) vfs_fat_sdmmc: esp_vfs_fat_sdmmc_sdcard_init failed (0x107).
W (1528) example:take_picture: SD mount attempt 1/3 failed: ESP_ERR_TIMEOUT
E (1758) sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107
E (1758) vfs_fat_sdmmc: sdmmc_card_init failed (0x107).
E (1758) vfs_fat_sdmmc: esp_vfs_fat_sdmmc_sdcard_init failed (0x107).
W (1768) example:take_picture: SD mount attempt 2/3 failed: ESP_ERR_TIMEOUT
E (1998) sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107
E (1998) vfs_fat_sdmmc: sdmmc_card_init failed (0x107).
E (1998) vfs_fat_sdmmc: esp_vfs_fat_sdmmc_sdcard_init failed (0x107).
W (2008) example:take_picture: SD mount attempt 3/3 failed: ESP_ERR_TIMEOUT
E (2218) example:take_picture: Failed to mount SD card: ESP_ERR_TIMEOUT
I (2218) main_task: Returned from app_main()

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions