espressif / esp-skainet

Espressif intelligent voice assistant
Other
587 stars 132 forks source link

ESP32-S3 模组无法运行demo:wake_word_detection,出现AFE_SR: ERROR! rb_out slow!!!是什么原因 (AIS-1467) #123

Open licaijing opened 10 months ago

licaijing commented 10 months ago

1:00:05.984 ESP-ROM:esp32s3-20210327 01:00:06.050 Build:Mar 27 2021 rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT) SPIWP:0xee mode:DIO, clock div:1 load:0x3fce3808,len:0x17d4 load:0x403c9700,len:0xe78 load:0x403cc700,len:0x310c entry 0x403c9980 I (25) boot: ESP-IDF v4.4.4-146-ga73ba529ac-dirty 2nd stage bootloader I (25) boot: compile time 22:48:49 I (25) boot: chip revision: v0.2 I (29) boot_comm: chip revision: 2, min. bootloader chip revision: 0 I (36) qio_mode: Enabling default flash chip QIO I (41) boot.esp32s3: Boot SPI Speed : 80MHz I (46) boot.esp32s3: SPI Mode : QIO I (50) boot.esp32s3: SPI Flash Size : 16MB I (55) boot: Enabling RNG early entropy source... I (61) boot: Partition Table: I (64) boot: ## Label Usage Type ST Offset Length I (72) boot: 0 factory factory app 00 00 00010000 00271000 I (79) boot: 1 model Unknown data 01 82 00281000 0050c000 I (87) boot: End of partition table I (91) boot_comm: chip revision: 2, min. application chip revision: 0 I (98) esp_image: segment 0: paddr=00010020 vaddr=3c050020 size=16738h ( 91960) map I (120) esp_image: segment 1: paddr=00026760 vaddr=3fc972c0 size=04594h ( 17812) load I (124) esp_image: segment 2: paddr=0002acfc vaddr=40378000 size=0531ch ( 21276) load I (130) esp_image: segment 3: paddr=00030020 vaddr=42000020 size=48f64h (298852) map 01:00:06.170 I (180) esp_image: segment 4: paddr=00078f8c vaddr=4037d31c size=09f9ch ( 40860) load 01:00:06.217 I (194) boot: Loaded app from partition at offset 0x10000 I (194) boot: Disabling RNG early entropy source... I (206) spiram: Found 16MBit SPI RAM device I (206) spiram: SPI RAM mode: sram 80m I (206) spiram: PSRAM initialized, cache is in normal (1-core) mode. I (211) cpu_start: Pro cpu up. I (215) cpu_start: Starting app cpu, entry point is 0x40379288 I (0) cpu_start: App cpu up. 01:00:06.454 I (415) spiram: SPI SRAM memory test OK I (423) cpu_start: Pro cpu start user code I (423) cpu_start: cpu freq: 240000000 I (423) cpu_start: Application information: I (426) cpu_start: Project name: wake_word_detection I (432) cpu_start: App version: v0.3.0-306-g8824d83-dirty I (439) cpu_start: Compile time: Jan 13 2024 22:48:37 I (445) cpu_start: ELF file SHA256: 0046e338ff231a43... I (451) cpu_start: ESP-IDF: v4.4.4-146-ga73ba529ac-dirty I (457) heap_init: Initializing. RAM available for dynamic allocation: I (465) heap_init: At 3FC9C798 len 0004CF78 (307 KiB): D/IRAM I (471) heap_init: At 3FCE9710 len 00005724 (21 KiB): STACK/DIRAM I (478) heap_init: At 600FE000 len 00002000 (8 KiB): RTCRAM I (484) spiram: Adding pool of 2048K of external SPI memory to heap allocator I (492) spi_flash: detected chip: generic I (497) spi_flash: flash io: qio I (501) sleep: Configure to isolate all GPIO pins in sleep state I (507) sleep: Enable automatic switching of GPIO sleep configuration I (515) cpu_start: Starting scheduler on PRO CPU. I (0) cpu_start: Starting scheduler on APP CPU. I (535) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations I (535) I2S: DMA Malloc info, datalen=blocksize=320, dma_buf_count=6 I (545) I2S: DMA Malloc info, datalen=blocksize=1280, dma_buf_count=6 I (555) I2S: I2S1, MCLK output by GPIO13 ======main===== I (555) MODEL_LOADER: The storage free size is 15936 KB I (565) MODEL_LOADER: The partition size is 5168 KB I (575) MODEL_LOADER: Successfully map model partition The first wakenet model: wn9_hiesp The second wakenet model: wn9_hilexin I (585) AFE_SR: afe interface for speech recognition  I (585) AFE_SR: AFE version: SR_V220727  I (595) AFE_SR: Initial auido front-end, total channel: 3, mic num: 2, ref num: 1  I (605) AFE_SR: aec_init: 1, se_init: 1, vad_init: 1  I (605) AFE_SR: wakenet_init: 1  01:00:06.758 MC Quantized wakenet9: wakeNet9_v1h24_hiesp_3_0.63_0.635, tigger:v3, mode:2, p:0, (Aug 24 2023 11:56:47) 01:00:06.796 MC Quantized wakenet9: wakenet9_v1h24_hilexin_3_0.608_0.615, tigger:v3, mode:2, p:0, (Aug 24 2023 11:56:47) 01:00:06.913 I (935) AFE_SR: wake num: 3, mode: 0, (Aug 24 2023 11:56:48)  01:00:10.089 W (4045) AFE_SR: ERROR! rb_out slow!!!  W (4105) AFE_SR: ERROR! rb_out slow!!!  01:00:10.149 W (4165) AFE_SR: ERROR! rb_out slow!!!  01:00:10.210 W (4225) AFE_SR: ERROR! rb_out slow!!!  01:00:10.269 W (4285) AFE_SR: ERROR! rb_out slow!!!  01:00:10.330 W (4345) AFE_SR: ERROR! rb_out slow!!!  01:00:10.390 W (4405) AFE_SR: ERROR! rb_out slow!!!  01:00:10.460 W (4475) AFE_SR: ERROR! rb_out slow!!!  01:00:10.519 W (4535) AFE_SR: ERROR! rb_out slow!!!  01:00:10.579 W (4595) AFE_SR: ERROR! rb_out slow!!!  01:00:10.639 W (4655) AFE_SR: ERROR! rb_out slow!!!  01:00:10.699 W (4715) AFE_SR: ERROR! rb_out slow!!!  01:00:10.759 W (4775) AFE_SR: ERROR! rb_out slow!!!  01:00:10.819 W (4835) AFE_SR: ERROR! rb_out slow!!!  01:00:10.879 W (4895) AFE_SR: ERROR! rb_out slow!!!  01:00:10.939 W (4955) AFE_SR: ERROR! rb_out slow!!!  01:00:11.009 W (5025) AFE_SR: ERROR! rb_out slow!!!  01:00:11.070 W (5085) AFE_SR: ERROR! rb_out slow!!!  01:00:11.130 W (5145) AFE_SR: ERROR! rb_out slow!!!  01:00:11.189 W (5205) AFE_SR: ERROR! rb_out slow!!!  01:00:11.249 W (5265) AFE_SR: ERROR! rb_out slow!!!  01:00:11.309 W (5325) AFE_SR: ERROR! rb_out slow!!!  01:00:11.369 W (5385) AFE_SR: ERROR! rb_out slow!!!  01:00:11.429 W (5445) AFE_SR: ERROR! rb_out slow!!!  01:00:11.489 W (5505) AFE_SR: ERROR! rb_out slow!!!  01:00:11.550 W (5565) AFE_SR: ERROR! rb_out slow!!!  01:00:11.620 W (5635) AFE_SR: ERROR! rb_out slow!!!  01:00:11.680 W (5695) AFE_SR: ERROR! rb_out slow!!!  01:00:11.739 W (5755) AFE_SR: ERROR! rb_out slow!!!  01:00:11.799 W (5815) AFE_SR: ERROR! rb_out slow!!!  01:00:11.859 W (5875) AFE_SR: ERROR! rb_out slow!!!  01:00:11.961 E (5935) task_wdt: Task watchdog got triggered. The following tasks did not reset the watchdog in time: E (5935) task_wdt: - IDLE (CPU 0) E (5935) task_wdt: Tasks currently running: E (5935) task_wdt: CPU 0: afe_mase E (5935) task_wdt: CPU 1: IDLE E (5935) task_wdt: Print CPU 0 (current core) backtrace

Backtrace: 0x4202E08A:0x3FC97EB0 0x4037AD21:0x3FC97ED0 0x42044364:0x3FCECBA0 0x4200B5AD:0x3FCECBB0 0x42008E4A:0x3FCECC10 0x40381BED:0x3FCECC30

E (5935) task_wdt: Print CPU 1 backtrace

Backtrace: 0x4037CDE1:0x3FC984B0 0x4037AD21:0x3FC984D0 0x400559DD:0x3FCA1560 |<-CORRUPTED

W (5985) AFE_SR: ERROR! rb_out slow!!!  01:00:12.030 W (6045) AFE_SR: ERROR! rb_out slow!!!  01:00:12.150 W (6105) AFE_SR: ERROR! rb_out slow!!!  W (6165) AFE_SR: ERROR! rb_out slow!!!

feizi commented 10 months ago

rb_out slow!!! 说明有一个CPU负载过重,出现了丢帧。 这个可能是你的的PSRAM 设置不对,你可以使用wake_word_detection 下面的sdkconfig覆盖你的config在试一下