Probleme beim Flashen von ESP32 AI on the Edge

Beim installieren gibt es bei mir wohl Probleme mit der SD-Karte.
Ich habe schon zwei verschiedene SD-Karten ausprobiert.

Hier der Log vom Webinstaller:

ets Jun  8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x13 (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:7664
load:0x40078000,len:15360
load:0x40080400,len:3744
entry 0x4008067c
I (27) boot: ESP-IDF 4.3.2 2nd stage bootloader
I (27) boot: compile time 20:02:47
I (27) boot: chip revision: 1
I (30) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (37) boot.esp32: SPI Speed      : 40MHz
I (41) boot.esp32: SPI Mode       : DIO
I (46) boot.esp32: SPI Flash Size : 4MB
I (50) boot: Enabling RNG early entropy source...
I (56) boot: Partition Table:
I (59) boot: ## Label            Usage          Type ST Offset   Length
I (67) boot:  0 nvs              WiFi data        01 02 00009000 00004000
I (74) boot:  1 otadata          OTA data         01 00 0000d000 00002000
I (82) boot:  2 phy_init         RF data          01 01 0000f000 00001000
I (89) boot:  3 ota_0            OTA app          00 10 00010000 001db000
I (97) boot:  4 ota_1            OTA app          00 11 001f0000 001db000
I (104) boot: End of partition table
I (108) boot_comm: chip revision: 1, min. application chip revision: 0
I (116) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=40014h (262164) map
I (224) esp_image: segment 1: paddr=0005003c vaddr=3ffb0000 size=040e8h ( 16616) load
I (232) esp_image: segment 2: paddr=0005412c vaddr=40080000 size=0beech ( 48876) load
I (253) esp_image: segment 3: paddr=00060020 vaddr=400d0020 size=1100f4h (1114356) map
I (679) esp_image: segment 4: paddr=0017011c vaddr=4008beec size=0e354h ( 58196) load
I (718) boot: Loaded app from partition at offset 0x10000
I (718) boot: Disabling RNG early entropy source...
I (729) cpu_start: Multicore app
I (730) quad_psram: This chip is ESP32-D0WD
I (730) esp_psram: Found 8MB PSRAM device
I (730) esp_psram: Speed: 40MHz
I (734) esp_psram: PSRAM initialized, cache is in low/high (2-core) mode.
W (740) esp_psram: Virtual address not enough for PSRAM, map as much as we can. 4MB is mapped
I (749) cpu_start: Pro cpu up.
I (751) cpu_start: Starting app cpu, entry point is 0x40082e0c
I (0) cpu_start: App cpu up.
I (1633) esp_psram: SPI SRAM memory test OK
I (1642) cpu_start: Pro cpu start user code
I (1642) cpu_start: cpu freq: 160000000 Hz
I (1642) cpu_start: Application information:
I (1643) cpu_start: Project name:     AI-on-the-edge
I (1647) cpu_start: App version:      v15.7.0
I (1651) cpu_start: Compile time:     Feb 17 2024 00:03:24
I (1657) cpu_start: ELF file SHA256:  71b36fda6e4066fa...
I (1662) cpu_start: ESP-IDF:          5.1.2
I (1666) cpu_start: Min chip rev:     v0.0
I (1669) cpu_start: Max chip rev:     v3.99 
I (1673) cpu_start: Chip rev:         v1.1
I (1678) heap_init: Initializing. RAM available for dynamic allocation:
I (1684) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (1689) heap_init: At 3FFBC688 len 00023978 (142 KiB): DRAM
I (1694) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (1700) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (1705) heap_init: At 4009A240 len 00005DC0 (23 KiB): IRAM
I (1711) esp_psram: Adding pool of 4082K of PSRAM memory to heap allocator
I (1718) spi_flash: detected chip: gd
I (1720) spi_flash: flash io: dio
I (1735) app_start: Starting scheduler on CPU0
I (1735) app_start: Starting scheduler on CPU1
I (1735) main_task: Started on CPU0
I (1745) esp_psram: Reserving pool of 40K of internal memory for DMA/internal allocations
I (1745) main_task: Calling app_main()
I (1745) MAIN: 



================ Start app_main =================
E (1795) sdmmc_common: sdmmc_init_ocr: send_op_cond (1) returned 0x107
E (1795) sdcard_init: sdmmc_card_init failed (0x107).
E (1795) MAIN: SD card init failed. Check if SD card is properly inserted into SD card slot or try another card
E (1805) MAIN: Device init aborted!
I (1815) main_task: Returned from app_main()

Die Infos von hier kennst Du dann ja sicherlich auch schon.

1.3.0.1 Notes

  • Due to the limited availability of GPIOs (OV2640, Flash-Light, PSRAM & SD card) the communication mode to the SD card is limited to 1-line SD-Mode. It showed up, that this results in problems with very large SD-Cards (64GB, sometimes 32 GB) and some no name low cost SD-cards.
  • There must be no partition table on the SD-card (no GPT, but only MBR for the single partition)
  • Following setting are necessary for formatting the SD-card: SINGLE PARTITION, MBR, FAT32 - 32K. NOT exFAT
  • Some ESP32 devices share their SD-card and/or camera GPIOs with the pins for TX and RX. If you see errors like “Failed to connect” then your chip is probably not entering the bootloader properly. Remove the respective modules temporarily to free the GPIOs for flashing. You may find more information about troubleshooting on the homepage of Espressif.

The ESP32 indicates problems with the SD card during startup with a fast, endless blinking. In this case, please try another SD card.

Vermutlich läuft das dann auf das testen von weiteren SD Cards hinaus, weil die SD Card lt. Fehlermeldung (SD card init failed) ja nicht initialisiert werden kann. Warum auch immer.

VG Jim

Ja, habe ich mir durchgelesen.
Ich habe jetzt 5 verschiedene SD-Karten ausprobiert - in verschiedenen Größen.
Immer das gleiche Problem.
Auch habe ich mal FAT anstatt FAT32 probiert. Geht auch nicht.

Hat noch jemand eine Idee?