TOPLLab / WARDuino

📟 A dynamic WebAssembly VM for embedded systems
https://topllab.github.io/WARDuino/
Mozilla Public License 2.0
72 stars 7 forks source link

ESP-IDF version fails for `esp32wroom devkit v1` #210

Open tolauwae opened 9 months ago

tolauwae commented 9 months ago

Error on board:

rst:0xc (SW_CPU_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:6008
load:0x40078000,len:15356
ho 0 tail 12 room 4
load:0x40080400,len:4
0x40080400: _init at ??:?

load:0x40080404,len:3804
entry 0x40080634
I (31) boot: ESP-IDF v5.1 2nd stage bootloader
I (31) boot: compile time Sep 28 2023 09:05:32
I (31) boot: Multicore bootloader
I (35) boot: chip revision: v1.0
I (39) boot.esp32: SPI Speed      : 40MHz
I (43) boot.esp32: SPI Mode       : DIO
I (48) boot.esp32: SPI Flash Size : 8MB
I (53) boot: Enabling RNG early entropy source...
I (58) boot: Partition Table:
I (62) boot: ## Label            Usage          Type ST Offset   Length
I (69) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (76) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (84) boot:  2 factory          factory app      00 00 00010000 00100000
I (91) boot: End of partition table
I (95) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=0e888h ( 59528) map
I (125) esp_image: segment 1: paddr=0001e8b0 vaddr=3ffb0000 size=01768h (  5992) load
I (128) esp_image: segment 2: paddr=00020020 vaddr=400d0020 size=2b154h (176468) map
I (195) esp_image: segment 3: paddr=0004b17c vaddr=3ffb1768 size=00630h (  1584) load
I (196) esp_image: segment 4: paddr=0004b7b4 vaddr=40080000 size=0c998h ( 51608) load
I (228) boot: Loaded app from partition at offset 0x10000
I (229) boot: Disabling RNG early entropy source...
I (240) cpu_start: Multicore app
I (240) quad_psram: This chip is ESP32-D0WD
E (241) quad_psram: PSRAM ID read error: 0xffffffff, PSRAM chip not found or not supported
E (247) cpu_start: Failed to init external RAM!

abort() was called at PC 0x4008102c on core 0
0x4008102c: call_start_cpu0 at /home/tom/esp/esp-idf/components/esp_system/port/cpu_start.c:466 (discriminator 3)

Backtrace: 0x400816a1:0x3ffe3b90 0x40087321:0x3ffe3bb0 0x4008b75d:0x3ffe3bd0 0x4008102c:0x3ffe3c40 0x40079625:0x3ffe3c80 |<-CORRUPTED
0x400816a1: panic_abort at /home/tom/esp/esp-idf/components/esp_system/panic.c:452

0x40087321: esp_system_abort at /home/tom/esp/esp-idf/components/esp_system/port/esp_system_chip.c:84

0x4008b75d: abort at /home/tom/esp/esp-idf/components/newlib/abort.c:38

0x4008102c: call_start_cpu0 at /home/tom/esp/esp-idf/components/esp_system/port/cpu_start.c:466 (discriminator 3)

ELF file SHA256: f7b0f470dee86205

Rebooting...
tolauwae commented 9 months ago

If this problem gets resolved, the documentation website should be updated: https://topllab.github.io/WARDuino/reference/hardware.html