ESP32-LyraT4.3运行ADF下WWE的demo报错 Can't support stack on external memory due to ESP32 chip is 1

SY-TEC
Posts: 6
Joined: Mon Jul 18, 2022 8:45 am

ESP32-LyraT4.3运行ADF下WWE的demo报错 Can't support stack on external memory due to ESP32 chip is 1

Postby SY-TEC » Sat Nov 26, 2022 3:33 am

ESP32-LyraT4.3运行ADF下WWE的demo报错 Can't support stack on external memory due to ESP32 chip is 1。这个错误是什么原因产生的,应该如何去解决呢?


ets Jun 8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x1f (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:1
load:0x3fff0030,len:6936
load:0x40078000,len:15512
load:0x40080400,len:4492
0x40080400: _init at ??:?

entry 0x400806b4
I (27) boot: ESP-IDF v4.4-dirty 2nd stage bootloader
I (27) boot: compile time 10:57:00
I (27) boot: chip revision: 1
I (30) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (37) qio_mode: Enabling default flash chip QIO
I (42) boot.esp32: SPI Speed : 80MHz
I (47) boot.esp32: SPI Mode : QIO
I (52) boot.esp32: SPI Flash Size : 4MB
I (56) boot: Enabling RNG early entropy source...
I (62) boot: Partition Table:
I (65) boot: ## Label Usage Type ST Offset Length
I (73) boot: 0 nvs WiFi data 01 02 00009000 00004000
I (80) boot: 1 otadata OTA data 01 00 0000d000 00002000
I (87) boot: 2 phy_init RF data 01 01 0000f000 00001000
I (95) boot: 3 ota_0 OTA app 00 10 00010000 00300000
I (102) boot: 4 flash_tone Unknown data 01 27 00310000 00032000
I (110) boot: End of partition table
I (114) boot: No factory image, trying OTA 0
I (119) boot_comm: chip revision: 1, min. application chip revision: 0
I (126) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=3e41ch (255004) map
I (205) esp_image: segment 1: paddr=0004e444 vaddr=3ffb0000 size=01bd4h ( 7124) load
I (208) esp_image: segment 2: paddr=00050020 vaddr=400d0020 size=74ce4h (478436) map
I (343) esp_image: segment 3: paddr=000c4d0c vaddr=3ffb1bd4 size=00c64h ( 3172) load
I (344) esp_image: segment 4: paddr=000c5978 vaddr=40080000 size=13820h ( 79904) load
I (374) esp_image: segment 5: paddr=000d91a0 vaddr=50000000 size=00010h ( 16) load
I (384) boot: Loaded app from partition at offset 0x10000
I (419) boot: Set actual ota_seq=1 in otadata[0]
I (419) boot: Disabling RNG early entropy source...
I (430) psram: This chip is ESP32-D0WD
I (430) spiram: Found 64MBit SPI RAM device
I (430) spiram: SPI RAM mode: flash 80m sram 80m
I (433) spiram: PSRAM initialized, cache is in low/high (2-core) mode.
I (441) cpu_start: Pro cpu up.
I (444) cpu_start: Starting app cpu, entry point is 0x400816cc
0x400816cc: call_start_cpu1 at E:/APP_software_Install/Espressif/frameworks/esp-idf-v4.4/components/esp_system/port/cpu_start.c:155

I (0) cpu_start: App cpu up.
I (923) spiram: SPI SRAM memory test OK
I (931) cpu_start: Pro cpu start user code
I (931) cpu_start: cpu freq: 240000000
I (931) cpu_start: Application information:
I (934) cpu_start: Project name: example_wwe
I (939) cpu_start: App version: 1
I (944) cpu_start: Compile time: Nov 25 2022 10:56:28
I (950) cpu_start: ELF file SHA256: 49b302ab54ea15c8...
I (956) cpu_start: ESP-IDF: v4.4-dirty
I (961) heap_init: Initializing. RAM available for dynamic allocation:
I (968) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (974) heap_init: At 3FFB4890 len 0002B770 (173 KiB): DRAM
I (980) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (987) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (993) heap_init: At 40093820 len 0000C7E0 (49 KiB): IRAM
I (999) spiram: Adding pool of 4095K of external SPI memory to heap allocator
I (1008) spi_flash: detected chip: generic
I (1012) spi_flash: flash io: qio
I (1017) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (1027) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations
W (1037) AUIDO_MEM: Can't support stack on external memory due to ESP32 chip is 1
I (1047) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3
I (1057) gpio: GPIO[39]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3
I (1067) gpio: GPIO[19]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3
W (1087) PERIPH_TOUCH: _touch_init
E (1087) gpio: gpio_install_isr_service(449): GPIO isr service already installed
I (1097) gpio: GPIO[21]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (1097) ES8388_DRIVER: init,out:02, in:00
W (1107) AUDIO_BOARD: The board has already been initialized!
W (1107) AUIDO_MEM: Can't support stack on external memory due to ESP32 chip is 1

----------------------------- ESP Audio Platform -----------------------------
| |
| ESP_AUDIO-v1.7.0-81-gf766253-4717e99-25dbfe4 |
| Compile date: Jun 15 2022-06:58:11 |
------------------------------------------------------------------------------
I (1157) LYRAT_V4_3: I2S0, MCLK output by GPIO0
I (1157) wwe_example: Func:setup_player, Line:137, MEM Total:4426507 Bytes, Inter:308967 Bytes, Dram:259951 Bytes

I (1167) wwe_example: esp_audio instance is:0x3f800b44

E (1177) I2S: register I2S object to platform failed
I (1177) LYRAT_V4_3: I2S0, MCLK output by GPIO0
W (1197) AUIDO_MEM: Can't support stack on external memory due to ESP32 chip is 1
I (1207) wwe_example: Recorder has been created
Deprecated Quantized wakeNet5: wakeNet5_v1_hilexin_5_0.95_0.90, mode:0 (Dec 10 2021 20:15:15)
3
Initial ONE-MIC auido front-end for speech recognition, mode:1, (Dec 10 2021 20:29:24)
W (1317) RECORDER_SR: Multinet is not enabled in SDKCONFIG
W (1317) AUIDO_MEM: Can't support stack on external memory due to ESP32 chip is 1
W (1327) AUIDO_MEM: Can't support stack on external memory due to ESP32 chip is 1
W (1337) AUIDO_MEM: Can't support stack on external memory due to ESP32 chip is 1
W (1457) AUIDO_MEM: Can't support stack on external memory due to ESP32 chip is 1

ESP_William
Posts: 135
Joined: Tue Apr 24, 2018 5:54 am

Re: ESP32-LyraT4.3运行ADF下WWE的demo报错 Can't support stack on external memory due to ESP32 chip is 1

Postby ESP_William » Mon Feb 06, 2023 9:49 am

Can't support stack on external memory due to ESP32 chip is 1

--> 这个报错是因为使用的 ESP32 芯片是 ECO1 版本,该版本芯片不支持 stack 内存在 SPRAM 上,可以在 MENUCONFIG 中配置可选 v1 或者 v3
---> 建议使用 v3 的芯片开发

小提示: WROVER-B 模组做的老开发板都是 v1 的芯片,WRVER-E 模组的新开发板都是 v3 的芯片
小提示2: 跑语音类 demo ,更建议用 ESP32-S3-Korvo-2 来开发

Who is online

Users browsing this forum: No registered users and 50 guests