lyrat-mini-v1.2使用例程wwe报错怎么解决啊

liuliuliu
Posts: 2
Joined: Fri Jan 12, 2024 3:19 am

lyrat-mini-v1.2使用例程wwe报错怎么解决啊

Postby liuliuliu » Tue Jan 16, 2024 6:59 am

Code: Untitled.c Select all

I (11) boot: ESP-IDF v4.4.4-dirty 2nd stage bootloader
I (11) boot: compile time 14:50:05
I (11) boot: chip revision: v3.0
I (13) boot_comm: chip revision: 3, min. bootloader chip revision: 0
I (20) qio_mode: Enabling default flash chip QIO
I (25) boot.esp32: SPI Speed : 80MHz
I (30) boot.esp32: SPI Mode : QIO
I (35) boot.esp32: SPI Flash Size : 8MB
I (39) boot: Enabling RNG early entropy source...
I (45) boot: Partition Table:
I (48) boot: ## Label Usage Type ST Offset Length
I (55) boot: 0 nvs WiFi data 01 02 00009000 00004000
I (63) boot: 1 otadata OTA data 01 00 0000d000 00002000
I (70) boot: 2 phy_init RF data 01 01 0000f000 00001000
I (78) boot: 3 ota_0 OTA app 00 10 00010000 00300000
I (85) boot: 4 flash_tone Unknown data 01 27 00310000 00032000
I (93) boot: End of partition table
I (97) boot_comm: chip revision: 3, min. application chip revision: 0
I (104) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=3f3d0h (259024) map
I (184) esp_image: segment 1: paddr=0004f3f8 vaddr=3ffb0000 size=00c20h ( 3104) load
I (185) esp_image: segment 2: paddr=00050020 vaddr=400d0020 size=75bech (482284) map
I (323) esp_image: segment 3: paddr=000c5c14 vaddr=3ffb0c20 size=01c9ch ( 7324) load
I (325) esp_image: segment 4: paddr=000c78b8 vaddr=40080000 size=13df4h ( 81396) load
I (364) boot: Loaded app from partition at offset 0x10000
I (364) boot: Disabling RNG early entropy source...
I (376) psram: This chip is ESP32-D0WD
I (376) spiram: Found 64MBit SPI RAM device
I (376) spiram: SPI RAM mode: flash 80m sram 80m
I (379) spiram: PSRAM initialized, cache is in low/high (2-core) mode.
I (387) cpu_start: Pro cpu up.
I (390) cpu_start: Starting app cpu, entry point is 0x400816a4
0x400816a4: call_start_cpu1 at C:/ESP/espressif/.espressif/frameworks/esp-idf-v4.4.4/components/esp_system/port/cpu_start.c:148

I (0) cpu_start: App cpu up.
I (872) spiram: SPI SRAM memory test OK
I (880) cpu_start: Pro cpu start user code
I (880) cpu_start: cpu freq: 240000000
I (880) cpu_start: Application information:
I (882) cpu_start: Project name: example_wwe
I (888) cpu_start: App version: 1
I (892) cpu_start: Compile time: Jan 16 2024 14:49:51
I (898) cpu_start: ELF file SHA256: 58c5a8fa1b04a63a...
I (904) cpu_start: ESP-IDF: v4.4.4-dirty
I (910) heap_init: Initializing. RAM available for dynamic allocation:
I (917) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (923) heap_init: At 3FFB4910 len 0002B6F0 (173 KiB): DRAM
I (929) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (935) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (942) heap_init: At 40093DF4 len 0000C20C (48 KiB): IRAM
I (948) spiram: Adding pool of 4095K of external SPI memory to heap allocator
I (956) spi_flash: detected chip: gd
I (960) spi_flash: flash io: qio
I (965) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (975) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations
E (985) AUDIO_THREAD: Not found right xTaskCreateRestrictedPinnedToCore.
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_v4.4_freertos.patch" first

E (1005) AUDIO_THREAD: Error creating RestrictedPinnedToCore esp_periph
E (1015) ESP_PERIPH: Create [periph_adc_btn] task failed
I (1025) DRV8311: ES8311 in Slave mode
I (1035) gpio: GPIO[21]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
W (1045) AUDIO_BOARD: The board has already been initialized!
E (1045) AUDIO_THREAD: Not found right xTaskCreateRestrictedPinnedToCore.
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_v4.4_freertos.patch" first

E (1055) AUDIO_THREAD: Error creating RestrictedPinnedToCore media_task
E (1065) ESP_AUDIO_CTRL: Error create media_task
I (1075) LYRAT_MINI_V1_1: I2S0, MCLK output by GPIO0
E (1075) ESP_AUDIO_CTRL: Error input parameter. line:1164
I (1085) wwe_example: Func:setup_player, Line:142, MEM Total:4442859 Bytes, Inter:327839 Bytes, Dram:278967 Bytes

I (1095) wwe_example: esp_audio instance is:0x0

I (1105) LYRAT_MINI_V1_1: I2S1, MCLK output by GPIO0
I (1105) wwe_example: Recorder has been created
I (1115) AFE_SR: afe interface for speech recognition

I (1115) AFE_SR: AFE version: SR_V220727

I (1125) AFE_SR: Initial auido front-end, total channel: 2, mic num: 1, ref num: 1

I (1125) AFE_SR: aec_init: 1, se_init: 1, vad_init: 1

I (1135) AFE_SR: wakenet_init: 1

Deprecated Quantized wakenet5: wakeNet5_v1_hilexin_5_0.95_0.90, mode:0 (Aug 17 2022 20:20:31)
Please switch to ESP32-S3 and wakenet9 !
I (1295) AFE_SR: wake num: 1, mode: 1, (Nov 1 2022 17:16:15)

W (1295) RECORDER_SR: Multinet is not enabled in SDKCONFIG
E (1295) AUDIO_THREAD: Not found right xTaskCreateRestrictedPinnedToCore.
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_v4.4_freertos.patch" first

E (1315) AUDIO_THREAD: Error creating RestrictedPinnedToCore feed_task
E (1315) AUDIO_THREAD: Not found right xTaskCreateRestrictedPinnedToCore.
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_v4.4_freertos.patch" first

E (1335) AUDIO_THREAD: Error creating RestrictedPinnedToCore fetch_task
E (1345) AUDIO_THREAD: Not found right xTaskCreateRestrictedPinnedToCore.
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_v4.4_freertos.patch" first

E (1365) AUDIO_THREAD: Error creating RestrictedPinnedToCore recorder_task
E (1375) AUDIO_RECORDER: Fail to create recorder_task
E (1375) AUDIO_THREAD: Not found right xTaskCreateRestrictedPinnedToCore.
Please enter IDF-PATH with "cd $IDF_PATH" and apply the IDF patch with "git apply $ADF_PATH/idf_patches/idf_v4.4_freertos.patch" first

E (1395) AUDIO_THREAD: Error creating RestrictedPinnedToCore read_task

William
Espressif staff
Espressif staff
Posts: 156
Joined: Tue Apr 24, 2018 5:54 am

Re: lyrat-mini-v1.2使用例程wwe报错怎么解决啊

Postby William » Mon Feb 05, 2024 3:12 am

您好, 需要根据错误提示给 ESP-IDF 合入一个 patch.

在终端执行如下命令:

Code: Select all

cd $IDF_PATH
git apply $ADF_PATH/idf_patches/idf_v4.4_freertos.patch
完成操作后, 重新编译下载即可.

Who is online

Users browsing this forum: No registered users and 1 guest