muvox-io / euphonium

Tiny audio platform
GNU Affero General Public License v3.0
96 stars 15 forks source link

Getting Error MSG #28

Open catarrer opened 2 years ago

catarrer commented 2 years ago

Hi, I tried to install Euphonium on ESP32.

getting this error after flashing from serial monitor:

ELF file SHA256: 7733f97eac86787c

Re-entered core dump! Exception happened during core dump! Rebooting... ets Jun 8 2016 00:22:57

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:5624 load:0x40078000,len:14344 load:0x40080400,len:3680 entry 0x40080674 I (27) boot: ESP-IDF v4.4-367-gc29343eb94 2nd stage bootloader I (27) boot: compile time 15:16:38 I (27) boot: chip revision: 1 I (31) boot_comm: chip revision: 1, min. bootloader chip revision: 0 I (38) boot.esp32: SPI Speed : 40MHz I (43) boot.esp32: SPI Mode : DIO I (47) boot.esp32: SPI Flash Size : 4MB I (52) boot: Enabling RNG early entropy source... I (57) boot: Partition Table: I (61) boot: ## Label Usage Type ST Offset Length I (68) boot: 0 nvs WiFi data 01 02 00009000 00004000 I (76) boot: 1 otadata OTA data 01 00 0000d000 00002000 I (83) boot: 2 phy_init RF data 01 01 0000f000 00001000 I (91) boot: 3 storage Unknown data 01 82 00010000 0007d000 I (98) boot: 4 factory factory app 00 00 00090000 000aae60 I (106) boot: 5 app OTA app 00 10 00140000 00298aa0 I (113) boot: End of partition table I (117) boot_comm: chip revision: 1, min. application chip revision: 0 I (125) esp_image: segment 0: paddr=00140020 vaddr=3f400020 size=68024h (426020) map I (286) esp_image: segment 1: paddr=001a804c vaddr=3ffbdb60 size=07120h ( 28960) load I (297) esp_image: segment 2: paddr=001af174 vaddr=40080000 size=00ea4h ( 3748) load I (299) esp_image: segment 3: paddr=001b0020 vaddr=400d0020 size=1756cch (1529548) map I (851) esp_image: segment 4: paddr=003256f4 vaddr=40080ea4 size=1cf48h (118600) load I (900) esp_image: segment 5: paddr=00342644 vaddr=50000000 size=00010h ( 16) load I (915) boot: Loaded app from partition at offset 0x140000 I (915) boot: Disabling RNG early entropy source... I (927) psram: This chip is ESP32-D0WD E (927) psram: PSRAM ID read error: 0xffffffff E (928) cpu_start: Failed to init external RAM, needed for external .bss segment

abort() was called at PC 0x40081951 on core 0

Backtrace:0x40082489:0x3ffe3ba00x400968e9:0x3ffe3bc0 0x4009c365:0x3ffe3be0 0x40081951:0x3ffe3c50 0x40079418:0x3ffe3c80 |<-CORRUPTED

feelfreelinux commented 2 years ago

What esp chip are you running? You need one with psram to have enough memory to run the system.

catarrer commented 2 years ago

I am using the Adafruit Esp32 D1 mini with the ESP32-WROVER-32 module.

feelfreelinux commented 2 years ago

Are you running the prebuilt version? Looks like some PSRAM configuration error

J-Wrobel commented 1 year ago

I stumbled into something similar, used prebuilt binary from 0.3.0 release. Log and esptools chip info in attachment. log.txt chip_info.txt

Edit: I did some more reading on the issues, in particular hardware and it turns out as mentioned also above that esp32 module needs additional PSRAM to work. My module being WROOM-32D seems to not have one, hence the error of reading PSRAM ID. Guess I need a different module ordered. Ref esp23 devkits