ESP32-LyraTD-MSC V2.2 进行speech_recognition例程失败
Posted: Wed Feb 19, 2020 3:21 am
编译烧写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
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