编译烧写esp-adf\examples\speech_recognition\asr例程,开机出现错误打印,说关键字没有任何响应,请教一下如何解决?
I (172) example_asr_keywords: keywords: hilexin (index = 1)
Fail: index is out of range, the min index is 1, the max index is 1
完整打印
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:0x3fff0018,len:4
load:0x3fff001c,len:7340
load:0x40078000,len:12892
ho 0 tail 12 room 4
load:0x40080400,len:7424
entry 0x40080798
I (65) boot: Chip Revision: 1
I (70) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (41) boot: ESP-IDF v3.3.1 2nd stage bootloader
I (41) boot: compile time 11:05:16
I (42) boot: Enabling RNG early entropy source...
I (46) qio_mode: Enabling default flash chip QIO
I (51) boot: SPI Speed : 80MHz
I (55) boot: SPI Mode : QIO
I (59) boot: SPI Flash Size : 4MB
I (63) boot: Partition Table:
I (67) boot: ## Label Usage Type ST Offset Length
I (74) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (82) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (89) boot: 2 factory factory app 00 00 00010000 00100000
I (97) boot: End of partition table
I (101) boot_comm: chip revision: 1, min. application chip revision: 0
I (108) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x48e74 (298612) map
I (196) esp_image: segment 1: paddr=0x00058e9c vaddr=0x3ffb0000 size=0x01f24 ( 7972) load
I (199) esp_image: segment 2: paddr=0x0005adc8 vaddr=0x40080000 size=0x00400 ( 1024) load
I (203) esp_image: segment 3: paddr=0x0005b1d0 vaddr=0x40080400 size=0x04e40 ( 20032) load
I (218) esp_image: segment 4: paddr=0x00060018 vaddr=0x400d0018 size=0x2796c (162156) map
I (264) esp_image: segment 5: paddr=0x0008798c vaddr=0x40085240 size=0x04a54 ( 19028) load
I (276) boot: Loaded app from partition at offset 0x10000
I (276) boot: Disabling RNG early entropy source...
I (277) cpu_start: Pro cpu up.
I (280) cpu_start: Application information:
I (285) cpu_start: Project name: speech_recognition_example
I (292) cpu_start: App version: v2.0-beta2-57-ge247cf7-dirty
I (299) cpu_start: Compile time: Feb 19 2020 11:05:28
I (305) cpu_start: ELF file SHA256: 6c3bece8db88904b...
I (311) cpu_start: ESP-IDF: v3.3.1
I (315) cpu_start: Starting app cpu, entry point is 0x40080fe8
I (0) cpu_start: App cpu up.
I (326) heap_init: Initializing. RAM available for dynamic allocation:
I (333) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (339) heap_init: At 3FFB2FB8 len 0002D048 (180 KiB): DRAM
I (345) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (351) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (358) heap_init: At 40089C94 len 0001636C (88 KiB): IRAM
I (364) cpu_start: Pro cpu start user code
I (157) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (158) example_asr_keywords: Initialize SR handle
wakeNet3
Quantized wakeNet3: wakeNet3_v1_hilexin_5_0.90_0.85, mode:0 (Nov 20 2019 14:34:44)
I (172) example_asr_keywords: keywords: hilexin (index = 1)
Fail: index is out of range, the min index is 1, the max index is 1I (178) asr_event: keywords_num = 1, threshold = 0.000000, sample_rate = 16000, chunksize = 480, sizeof_uint16 = 2
I (195) asr_event: [ 1 ] Start codec chip
W (1199) SPI: MCS ret:0,Status:1
I (1200) asr_event: [ 2.0 ] Create audio pipeline for recording
I (1200) asr_event: [ 2.1 ] Create i2s stream to read audio data from codec chip
I (1209) asr_event: [ 2.2 ] Create filter to resample audio data
I (1213) asr_event: [ 2.3 ] Create raw to receive data
I (1219) asr_event: [ 3 ] Register all elements to audio pipeline
I (1226) asr_event: [ 4 ] Link elements together [codec_chip]-->i2s_stream-->filter-->raw-->[SR]
I (1236) asr_event: [ 5 ] Start audio_pipeline
ESP32-LyraTD-MSC V2.2 进行speech_recognition例程失败
Re: ESP32-LyraTD-MSC V2.2 进行speech_recognition例程失败
更换了wakeNet3到6,都是the max index is 1,只能识别hilexin这一个关键字,有遇到相同情况的吗
Re: ESP32-LyraTD-MSC V2.2 进行speech_recognition例程失败
我也是同样的情况:
I (0) cpu_start: App cpu up.
I (682) heap_init: Initializing. RAM available for dynamic allocation:
I (689) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (695) heap_init: At 3FFB3228 len 0002CDD8 (179 KiB): DRAM
I (702) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (708) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (714) heap_init: At 4008A4DC len 00015B24 (86 KiB): IRAM
I (721) cpu_start: Pro cpu start user code
I (67) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (68) gpio: GPIO[22]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (77) example_asr_keywords: Initialize SR wn handle
Quantized wakeNet4: wakeNet4_v1_hilexin_6_0.90_0.85, mode: 0 (Nov 20 2019 14:34:44)
I (90) example_asr_keywords: keywords: hilexin (index = 1)
Fail: index is out of range, the min index is 1, the max index is 1I (96) example_asr_keywords: keywords_num = 1, threshold = 0.000000, sample_rate = 16000, chunk
Quantized MN1_2 (Dec 5 2019 20:22:00)
SHIFT: 8, 11, 17, 18, 18, 17, 7, 16, 15, 13,
I (0) cpu_start: App cpu up.
I (682) heap_init: Initializing. RAM available for dynamic allocation:
I (689) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (695) heap_init: At 3FFB3228 len 0002CDD8 (179 KiB): DRAM
I (702) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (708) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (714) heap_init: At 4008A4DC len 00015B24 (86 KiB): IRAM
I (721) cpu_start: Pro cpu start user code
I (67) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (68) gpio: GPIO[22]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (77) example_asr_keywords: Initialize SR wn handle
Quantized wakeNet4: wakeNet4_v1_hilexin_6_0.90_0.85, mode: 0 (Nov 20 2019 14:34:44)
I (90) example_asr_keywords: keywords: hilexin (index = 1)
Fail: index is out of range, the min index is 1, the max index is 1I (96) example_asr_keywords: keywords_num = 1, threshold = 0.000000, sample_rate = 16000, chunk
Quantized MN1_2 (Dec 5 2019 20:22:00)
SHIFT: 8, 11, 17, 18, 18, 17, 7, 16, 15, 13,
超喜欢嵌入式的70后老猿人
-
- Posts: 1
- Joined: Tue Apr 21, 2020 12:02 pm
Re: ESP32-LyraTD-MSC V2.2 进行speech_recognition例程失败
请问你的问题解决了吗?我也遇到了类似的问题。我是编译下载后,程序一直无法启动,每次boot运行后就重启。尝试过很多中办法,编译配置,下载配置这些,都是一样。其他程序就没有这个问题。感觉应该是分区表或者下载地址的问题,望指点一下!
Re: ESP32-LyraTD-MSC V2.2 进行speech_recognition例程失败
我也遇到过类似的问题,就是改分区表就OK了,可以参照dueros分区表试试
-
- Posts: 6
- Joined: Sun Jun 28, 2020 7:21 am
Re: ESP32-LyraTD-MSC V2.2 进行speech_recognition例程失败
我怎么编译不过了呢,提示我编译到这就失败,但是编译运行其他工程目前没遇到问题
[4/5] Linking CXX executable speech_recognition_example.elf
FAILED: speech_recognition_example.elf
cmd.exe /C "cd . && D:\ESP-IDF\.espressif\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -mlongcalls -Wno-frame-address -nostdlib @CMakeFiles\speech_recognition_example.elf.rsp -o speech_recognition_example.elf && cd ."
d:/esp-idf/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o):(.literal.model_destroy+0x8): undefined reference to `dl_matrixq_free'
d:/esp-idf/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o):(.literal.model_create+0x1c): undefined reference to `dl_matrixq_alloc'
d:/esp-idf/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o):(.literal.add_speech_commands+0x14): undefined reference to `get_id_name'
d:/esp-idf/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o):(.literal.lvcsr_model_run_accelerate+0x18): undefined reference to `dl_convq_lstm_layer'
[4/5] Linking CXX executable speech_recognition_example.elf
FAILED: speech_recognition_example.elf
cmd.exe /C "cd . && D:\ESP-IDF\.espressif\tools\xtensa-esp32-elf\esp-2019r2-8.2.0\xtensa-esp32-elf\bin\xtensa-esp32-elf-g++.exe -mlongcalls -Wno-frame-address -nostdlib @CMakeFiles\speech_recognition_example.elf.rsp -o speech_recognition_example.elf && cd ."
d:/esp-idf/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o):(.literal.model_destroy+0x8): undefined reference to `dl_matrixq_free'
d:/esp-idf/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o):(.literal.model_create+0x1c): undefined reference to `dl_matrixq_alloc'
d:/esp-idf/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o):(.literal.add_speech_commands+0x14): undefined reference to `get_id_name'
d:/esp-idf/.espressif/tools/xtensa-esp32-elf/esp-2019r2-8.2.0/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/8.2.0/../../../../xtensa-esp32-elf/bin/ld.exe: D:/esp-adf/components/esp-sr/lib\libmultinet.a(multinet1_quantized_cn.o):(.literal.lvcsr_model_run_accelerate+0x18): undefined reference to `dl_convq_lstm_layer'
-
- Posts: 184
- Joined: Fri Dec 15, 2017 2:45 am
Who is online
Users browsing this forum: No registered users and 29 guests