ESP32P4双麦克风方案运行wwe例子程序崩溃 (AUD-6340)
使用的ESP32P4芯片,audio电路是ES7210+ES8311的双麦克风方案。运行WWE里程程序异常崩溃重启。一下是输出日志信息
[13:49:49.405]收←◆ESP-ROM:esp32p4-eco1-20240205 Build:Feb 5 2024 rst:0x7 (HP_SYS_HP_WDT_RESET),boot:0x31f (SPI_FAST_FLASH_BOOT) Core0 Saved PC:0x4ff00000 Core1 Saved PC:0x4000133a SPI mode:DIO, clock div:1 load:0x4ff33ce0,len:0x172c load:0x4ff2abd0,len:0xf24 load:0x4ff2cbd0,len:0x3320 entry 0x4ff2abda I (27) boot: ESP-IDF v5.3.3-dirty 2nd stage bootloader I (28) boot: compile time May 8 2025 16:45:39 I (28) boot: Multicore bootloader I (29) boot: chip revision: v0.1 I (31) boot: efuse block revision: v0.0 I (35) qio_mode: Enabling QIO for flash chip WinBond I (39) boot.esp32p4: SPI Speed : 80MHz I (43) boot.esp32p4: SPI Mode : QIO I (47) boot.esp32p4: SPI Flash Size : 16MB W (51) boot.esp32p4: CPU has been reset by WDT. I (55) boot: Enabling RNG early entropy source... I (60) boot: Partition Table: I (62) boot: ## Label Usage Type ST Offset Length I (68) boot: 0 nvs WiFi data 01 02 00009000 00004000 I (75) boot: 1 otadata OTA data 01 00 0000d000 00002000 I (81) boot: 2 phy_init RF data 01 01 0000f000 00001000 I (88) boot: 3 ota_0 OTA app 00 10 00010000 00290000 I (94) boot: 4 model Unknown data 01 82 002a0000 00500000 I (101) boot: 5 flash_tone Unknown data 01 27 007a0000 00032000 I (108) boot: End of partition table I (112) esp_image: segment 0: paddr=00010020 vaddr=400a0020 size=26be8h (158696) map I (139) esp_image: segment 1: paddr=00036c10 vaddr=30100000 size=00020h ( 32) load I (140) esp_image: segment 2: paddr=00036c38 vaddr=30100020 size=0003ch ( 60) load I (144) esp_image: segment 3: paddr=00036c7c vaddr=4ff00000 size=0939ch ( 37788) load I (157) esp_image: segment 4: paddr=00040020 vaddr=40000020 size=97a50h (621136) map
[13:49:49.639]收←◆I (235) esp_image: segment 5: paddr=000d7a78 vaddr=4ff0939c size=09174h ( 37236) load I (242) esp_image: segment 6: paddr=000e0bf4 vaddr=4ff12580 size=04dd0h ( 19920) load I (250) boot: Loaded app from partition at offset 0x10000 I (251) boot: Disabling RNG early entropy source... I (261) hex_psram: vendor id : 0x0d (AP) I (261) hex_psram: Latency : 0x01 (Fixed) I (262) hex_psram: DriveStr. : 0x00 (25 Ohm) I (262) hex_psram: dev id : 0x03 (generation 4) I (267) hex_psram: density : 0x07 (256 Mbit) I (271) hex_psram: good-die : 0x06 (Pass) I (275) hex_psram: SRF : 0x02 (Slow Refresh) I (280) hex_psram: BurstType : 0x00 ( Wrap) I (284) hex_psram: BurstLen : 0x03 (2048 Byte) I (289) hex_psram: BitMode : 0x01 (X16 Mode) I (293) hex_psram: Readlatency : 0x04 (14 cycles@Fixed) I (298) hex_psram: DriveStrength: 0x00 (1/1) I (302) MSPI DQS: tuning success, best phase id is 2
[13:49:49.889]收←◆I (485) MSPI DQS: tuning success, best delayline id is 12 I (485) esp_psram: Found 32MB PSRAM device I (486) esp_psram: Speed: 200MHz I (487) hex_psram: psram CS IO is dedicated I (489) cpu_start: Multicore app
[13:49:50.803]收←◆I (1398) esp_psram: SPI SRAM memory test OK W (1408) clk: esp_perip_clk_init() has not been implemented yet I (1414) cpu_start: Pro cpu start user code I (1414) cpu_start: cpu freq: 360000000 Hz I (1414) app_init: Application information: I (1414) app_init: Project name: example_wwe I (1418) app_init: App version: 1 I (1422) app_init: Compile time: May 13 2025 11:19:16 I (1427) app_init: ELF file SHA256: 5b1b45934... I (1431) app_init: ESP-IDF: v5.3.3-dirty I (1436) efuse_init: Min chip rev: v0.1 I (1440) efuse_init: Max chip rev: v1.99 I (1444) efuse_init: Chip rev: v0.1 I (1448) heap_init: Initializing. RAM available for dynamic allocation: I (1454) heap_init: At 4FF19000 len 00021FC0 (135 KiB): RAM I (1459) heap_init: At 4FF3AFC0 len 00004BF0 (18 KiB): RAM I (1464) heap_init: At 4FF40000 len 00060000 (384 KiB): RAM I (1470) heap_init: At 50108080 len 00007F80 (31 KiB): RTCRAM I (1475) heap_init: At 3010005C len 00001FA4 (7 KiB): TCM I (1480) esp_psram: Adding pool of 32768K of PSRAM memory to heap allocator I (1488) spi_flash: detected chip: generic I (1491) spi_flash: flash io: qio I (1494) main_task: Started on CPU0 I (1504) esp_psram: Reserving pool of 32K of internal memory for DMA/internal allocations I (1504) main_task: Calling app_main() E (1504) AUDIO_BOARD: esp32_p4_function_ev_board not support key W (1514) i2c_bus_v2: I2C master handle is NULL, will create new one I (1524) gpio: GPIO[13]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 I (1524) gpio: GPIO[12]| InputEn: 1| OutputEn: 1| OpenDrain: 1| Pullup: 1| Pulldown: 0| Intr:0 I (1544) DRV8311: ES8311 in Slave mode I (1554) gpio: GPIO[20]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 I (1554) ES7210: ES7210 in Slave mode I (1564) ES7210: Enable ES7210_INPUT_MIC1 I (1574) ES7210: Enable ES7210_INPUT_MIC2 I (1574) ES7210: Enable ES7210_INPUT_MIC3 W (1574) ES7210: Enable TDM mode. ES7210_SDP_INTERFACE2_REG12: 2 I (1584) ES7210: config fmt 60 I (1584) AUDIO_BOARD: Audio board powered on W (1584) AUDIO_BOARD: The board has already been initialized!
----------------------------- ESP Audio Platform ----------------------------- | | | ESP_AUDIO-v1.8.0-017893b-9815982 | | Compile date: Aug 15 2024-04:13:45 |
W (1624) i2s_common: dma frame num is adjusted to 320 to align the dma buffer with 64, bufsize = 1280 I (1634) wwe_example: Func:setup_player, Line:140, MEM Total:34069404 Bytes, Inter:558771 Bytes, Dram:558771 Bytes, Dram largest free:385024Bytes
I (1644) wwe_example: esp_audio instance is:0x480013b0
W (1644) i2s_common: dma frame num is adjusted to 320 to align the dma buffer with 64, bufsize = 1280 W (1654) i2s_common: dma frame num is adjusted to 320 to align the dma buffer with 64, bufsize = 1280 I (1664) wwe_example: Recorder has been created I (1674) MODEL_LOADER: The storage free size is 64704 KB I (1674) MODEL_LOADER: The partition size is 5120 KB I (1674) MODEL_LOADER: Successfully load srmodels I (1684) RECORDER_SR: The first wakenet model: wn9_hilexin
[0;32mI (1684) AFE_SR: afe interface for speech recognition [0m [0;32mI (1694) AFE_SR: AFE version: SR_V220727 [0m [0;32mI (1694) AFE_SR: Initial auido front-end, total channel: 2, mic num: 1, ref num: 1 [0m [0;32mI (1704) AFE_SR: aec_init: 1, se_init: 1, vad_init: 1 [0m [0;32mI (1714) AFE_SR: wakenet_init: 1 [0m
[13:49:51.179]收←◆MC Quantized wakenet9: wakenet9_v1h24_鍡紝涔愰懌_3_0.608_0.615, tigger:v3, mode:0, p:0, (Sep 3 2024 16:22:04)
[13:49:52.174]收←◆[0;32mI (2774) AFE_SR: wake num: 1, mode: 0, (Sep 3 2024 15:59:14) [0m
[13:49:52.542]收←◆Build fst from commands.
[13:49:52.844]收←◆Quantized MultiNet7:rnnt_ctc_2.0, name:mn7_cn, (Sep 3 2024 16:22:04) Quantized MultiNet7 search method: 2, time out:5.8 s
[13:49:52.887]收←◆I (3484) main_task: Returned from app_main()
[13:49:53.813]收←◆ESP-ROM:esp32p4-eco1-20240205 Build:Feb 5 2024 rst:0x7 (HP_SYS_HP_WDT_RESET),boot:0x31f (SPI_FAST_FLASH_BOOT) Core0 Saved PC:0x4ff00000 Core1 Saved PC:0x4ff0d8d0 SPI mode:DIO, clock div:1 load:0x4ff33ce0,len:0x172c load:0x4ff2abd0,len:0xf24 load:0x4ff2cbd0,len:0x3320 entry 0x4ff2abda I (27) boot: ESP-IDF v5.3.3-dirty 2nd stage bootloader I (28) boot: compile time May 8 2025 16:45:39 I (28) boot: Multicore bootloader I (29) boot: chip revision: v0.1 I (31) boot: efuse block revision: v0.0 I (35) qio_mode: Enabling QIO for flash chip WinBond
@cjj0144 we have updated esp-sr version to v2.1.1, pls try again