Page 1 of 1

成功烧录factory_demo工程,语音识别没有反应?请大佬指点

Posted: Thu Aug 03, 2023 1:33 am
by solin0304
成功烧录factory_demo工程,语音识别没有反应?使用的是git仓库代码,没有改动

Re: 成功烧录factory_demo工程,语音识别没有反应?请大佬指点

Posted: Thu Aug 03, 2023 2:03 am
by ESP_Xuxin
你的版本是中文还是英文,使用的唤醒词是否有串?
如果是 esp-box, 是否使能了 mute 按键?

上述检查都正常,麻烦提供下相关 log?

Re: 成功烧录factory_demo工程,语音识别没有反应?请大佬指点

Posted: Thu Aug 03, 2023 3:45 am
by solin0304
板子是esp-box,唤醒词没有修改,直接编译成功后,烧录。版本是英文版的。idf版本5.1

Re: 成功烧录factory_demo工程,语音识别没有反应?请大佬指点

Posted: Thu Aug 03, 2023 3:50 am
by ESP_Xuxin
唤醒词是 Hi ESP ?有log 么?

试一下官网固件对比下?
https://espressif.github.io/esp-launchp ... aunch.toml

Re: 成功烧录factory_demo工程,语音识别没有反应?请大佬指点

Posted: Thu Aug 03, 2023 4:39 am
by solin0304
唤醒词讲的:Hi ESP;多次喊唤醒词Hi ESP或者Hi 乐鑫均没有反应。
开发板esp-box,idf版本5.1
当前Git项目factory_demo工程,日志如下:
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce3818,len:0x186c
load:0x403c9700,len:0x4
load:0x403c9704,len:0xd88
load:0x403cc700,len:0x3070
entry 0x403c9934
I (27) boot: ESP-IDF v5.1 2nd stage bootloader
I (27) boot: compile time Aug 1 2023 10:57:04
I (27) boot: Multicore bootloader
I (30) boot: chip revision: v0.1
I (33) qio_mode: Enabling default flash chip QIO
I (39) boot.esp32s3: Boot SPI Speed : 80MHz
I (44) boot.esp32s3: SPI Mode : QIO
I (48) boot.esp32s3: SPI Flash Size : 16MB
I (53) boot: Enabling RNG early entropy source...
I (59) boot: Partition Table:
I (62) boot: ## Label Usage Type ST Offset Length
I (69) boot: 0 sec_cert Unknown data 01 06 0000d000 00003000
I (77) boot: 1 nvs WiFi data 01 02 00010000 00006000
I (84) boot: 2 otadata OTA data 01 00 00016000 00002000
I (92) boot: 3 phy_init RF data 01 01 00018000 00001000
I (99) boot: 4 fctry WiFi data 01 02 00019000 00006000
I (107) boot: 5 ota_0 OTA app 00 10 00020000 0041a000
I (114) boot: 6 storage Unknown data 01 82 0043a000 0028a000
I (122) boot: 7 model Unknown data 01 82 006c4000 0076c000
I (129) boot: End of partition table
I (134) esp_image: segment 0: paddr=00020020 vaddr=3c150020 size=21502ch (2183212) map
I (473) esp_image: segment 1: paddr=00235054 vaddr=3fc9fd00 size=07bd8h ( 31704) load
I (480) esp_image: segment 2: paddr=0023cc34 vaddr=40378000 size=033e4h ( 13284) load
I (483) esp_image: segment 3: paddr=00240020 vaddr=42000020 size=14e09ch (1368220) map
I (695) esp_image: segment 4: paddr=0038e0c4 vaddr=4037b3e4 size=1482ch ( 84012) load
I (712) esp_image: segment 5: paddr=003a28f8 vaddr=50000000 size=00004h ( 4) load
I (723) boot: Loaded app from partition at offset 0x20000
I (723) boot: Disabling RNG early entropy source...
I (724) cpu_start: Multicore app
I (727) octal_psram: vendor id : 0x0d (AP)
I (732) octal_psram: dev id : 0x02 (generation 3)
I (738) octal_psram: density : 0x03 (64 Mbit)
I (743) octal_psram: good-die : 0x01 (Pass)
I (749) octal_psram: Latency : 0x01 (Fixed)
I (754) octal_psram: VCC : 0x01 (3V)
I (759) octal_psram: SRF : 0x01 (Fast Refresh)
I (765) octal_psram: BurstType : 0x01 (Hybrid Wrap)
I (771) octal_psram: BurstLen : 0x01 (32 Byte)
I (776) octal_psram: Readlatency : 0x02 (10 cycles@Fixed)
I (782) octal_psram: DriveStrength: 0x00 (1/1)
I (788) esp_psram: Found 8MB PSRAM device
I (792) esp_psram: Speed: 80MHz
I (796) cpu_start: Pro cpu up.
I (800) cpu_start: Starting app cpu, entry point is 0x403797a0
0x403797a0: call_start_cpu1 at D:/espressif_vs/esp-idf/components/esp_system/port/cpu_start.c:154

I (0) cpu_start: App cpu up.
I (1127) esp_psram: SPI SRAM memory test OK
I (1136) cpu_start: Pro cpu start user code
I (1136) cpu_start: cpu freq: 240000000 Hz
I (1137) cpu_start: Application information:
I (1137) cpu_start: Project name: factory_demo
I (1137) cpu_start: App version: 1
I (1138) cpu_start: Compile time: Aug 1 2023 10:56:35
I (1138) cpu_start: ELF file SHA256: 8d083a17908ab87b...
I (1139) cpu_start: ESP-IDF: v5.1
I (1140) cpu_start: Min chip rev: v0.0
I (1140) cpu_start: Max chip rev: v0.99
I (1140) cpu_start: Chip rev: v0.1
I (1140) heap_init: Initializing. RAM available for dynamic allocation:
I (1141) heap_init: At 3FCADE78 len 0003B898 (238 KiB): DRAM
I (1142) heap_init: At 3FCE9710 len 00005724 (21 KiB): STACK/DRAM
I (1143) heap_init: At 600FE010 len 00001FF0 (7 KiB): RTCRAM
I (1144) esp_psram: Adding pool of 8192K of PSRAM memory to heap allocator
I (1146) spi_flash: detected chip: gd
I (1146) spi_flash: flash io: qio
I (1147) sleep: Configure to isolate all GPIO pins in sleep state
I (1147) sleep: Enable automatic switching of GPIO sleep configuration
I (1148) coexist: coex firmware version: ebddf30
I (1148) coexist: coexist rom version e7ae62f
I (1149) app_start: Starting scheduler on CPU0
I (1149) main_[0t;3a2smIk :( 0S) taarppt_setdar to: nSt CPU0
arting scheduler on CPU1
I (1151) esp_psram: Reserving pool of 8K of internal memory for DMA/internal allocations
I (1151) main_task: Calling app_main()
I (1152) main: Compile time: Aug 1 2023 10:57:45
I (1348) ESP-BOX: Partition size: total: 2439971, used: 1376986
I (1350) LVGL: Starting LVGL task
I (1350) gpio: GPIO[4]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (1351) gpio: GPIO[48]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (1474) gpio: GPIO[3]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:2
I (1475) board: [+ Btn Init] ID
I (1475) button: IoT Button Version: 2.5.2
I (1476) gpio: GPIO[0]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1476) button: IoT Button Version: 2.5.2
I (1477) gpio: GPIO[1]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1477) button: IoT Button Version: 2.5.2
I (1478) board: [+ register] ID:1, event:0
I (1478) board: [+ register] ID:1, event:1
I (1482) gpio: GPIO[46]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (1485) ES8311: Work in Slave mode
I (1486) gpio: GPIO[46]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (1488) ES7210: Work in Slave mode
I (1491) ES7210: Enable ES7210_INPUT_MIC1
I (1492) ES7210: Enable ES7210_INPUT_MIC2
I (1495) I2S_IF: channel mode 0 bits:16/16 channel:2 mask:3
I (1496) I2S_IF: STD Mode 0 bits:16/16 channel:2 sample_rate:16000 mask:3
I (1497) I2S_IF: channel mode 0 bits:16/16 channel:2 mask:3
I (1497) I2S_IF: STD Mode 1 bits:16/16 channel:2 sample_rate:16000 mask:3
I (1498) ES7210: Bits 16
I (1502) ES7210: Enable ES7210_INPUT_MIC1
I (1503) ES7210: Enable ES7210_INPUT_MIC2
I (1506) ES7210: Unmuted
I (1507) Adev_Codec: Open codec device OK
I (1508) main: Display LVGL demo
I (1508) ESP-BOX: Setting LCD backlight: 100%
I (1508) ui_main: Input device type have pointer
I (1513) ui_sr: sr animation initialize
I (1689) file_iterator: File : Canon.mp3
I (1709) file_iterator: File : Dance with Me.mp3
I (1711) main: mute setting 0, volume:70
I (1712) main: speech recognition start
I (1712) MODEL_LOADER: The storage free size is 21056 KB
I (1713) MODEL_LOADER: The partition size is 7600 KB
I (1714) MODEL_LOADER: Successfully map model partition
I (1715) AFE_SR: afe interface for speech recognition

I (1715) AFE_SR: AFE version: SR_V220727

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

I (1717) AFE_SR: aec_init: 0, se_init: 1, vad_init: 1

I (1717) AFE_SR: wakenet_init: 1

MC Quantized wakenet9: wakeNet9_v1h24_hiesp_3_0.63_0.635, tigger:v3, mode:2, p:0, (Jul 11 2023 15:43:08)
I (1828) AFE_SR: wake num: 3, mode: 0, (Jul 11 2023 15:43:09)

W (1828) app_sr: Set language to EN
MC Quantized wakenet9: wakeNet9_v1h24_hiesp_3_0.63_0.635, tigger:v3, mode:2, p:0, (Jul 11 2023 15:43:08)
I (2750) AFE_SR: wakenet wn_frame_size = 512

I (2850) app_sr: load wakenet:wn9_hiesp
Quantized8 Multinet5: MN5Q8_v2_english_8_0.9_0.90, beam search:v2, (Jul 11 2023 15:43:08)
I (6982) app_sr: load multinet:mn5q8_en,60,60
I (6983) app_sr: cmd_number=12
I (6985) MN_COMMAND: ---------------------SPEECH COMMANDS---------------------
I (6985) MN_COMMAND: Command ID0, phrase ID0: TkN nN jc LiT
I (6986) MN_COMMAND: Command ID1, phrase ID1: SWgp nN jc LiT
I (6986) MN_COMMAND: Command ID2, phrase ID2: SWgp eF jc LiT
I (6987) MN_COMMAND: Command ID3, phrase ID3: TkN eF jc LiT
I (6988) MN_COMMAND: Command ID4, phrase ID4: TkN RfD
I (6988) MN_COMMAND: Command ID5, phrase ID5: TkN GRmN
I (6989) MN_COMMAND: Command ID6, phrase ID6: TkN BLo
I (7012) MN_COMMAND: Command ID7, phrase ID7: KcSTcMiZ KcLk
I (7013) MN_COMMAND: Command ID8, phrase ID8: Sgl c Sel
I (7013) MN_COMMAND: Command ID9, phrase ID9: PLd MYoZgK
I (7014) MN_COMMAND: Command ID10, phrase ID10: NfKST Sel
I (7014) MN_COMMAND: Command ID11, phrase ID11: PeZ PLdgl
I (7015) MN_COMMAND: ---------------------------------------------------------

I (7016) app_sr: audio_chunksize=1024, feed_channel=3
I (7018) app_sr: ------------detect start------------

I (7043) board: [+ register] ID:0, event:6
I (7043) main_task: Returned from app_main()
I (7045) pp: pp rom version: e7ae62f
I (7045) net80211: net80211 rom version: e7ae62f
I (7047) wifi:wifi driver task: 3fccea24, prio:23, stack:6144, core=0
I (7049) wifi:wifi firmware version: b2f1f86
I (7049) wifi:wifi certification version: v7.0
I (7050) wifi:config NVS flash: enabled
I (7050) wifi:config nano formating: enabled
I (7050) wifi:Init data frame dynamic rx buffer num: 4
I (7051) wifi:Init management frame dynamic rx buffer num: 4
I (7051) wifi:Init management short buffer num: 32
I (7051) wifi:Init static tx buffer num: 4
I (7051) wifi:Init tx cache buffer num: 16
I (7052) wifi:Init static tx FG buffer num: 2
I (7052) wifi:Init static rx buffer size: 1600
I (7052) wifi:Init static rx buffer num: 3
I (7052) wifi:Init dynamic rx buffer num: 4
I (7090) wifi_init: rx ba win: 4
I (7090) wifi_init: tcpip mbox: 16
I (7113) wifi_init: udp mbox: 6
I (7114) wifi_init: tcp mbox: 6
I (7114) wifi_init: tcp tx win: 5744
I (7114) wifi_init: tcp rx win: 5744
I (7114) wifi_init: tcp mss: 1440
I (7115) wifi_init: WiFi/LWIP prefer SPIRAM
I (7118) esp_rmaker_work_queue: Work Queue created.
I (7161) esp_claim: Initialising Assisted Claiming. This may take time.
I (7232) esp_claim: Private key already exists. No need to re-initialise it.
I (7275) esp_rmaker_node: Node ID ----- F412FAD7F5B8
I (7302) esp_rmaker_time_service: Time service enabled
I (7303) esp_rmaker_system_service: System service enabled.
I (7303) esp_rmaker_core: Starting RainMaker Work Queue task
I (7304) esp_rmaker_work_queue: RainMaker Work Queue task started.
I (7305) esp_claim: Waiting for assisted claim to finish.
I (7305) wifi_prov_scheme_ble: BT memory released
I (7306) app_wifi: Starting provisioning
I (7306) wifi:Set ps type: 1

I (7344) phy_init: phy_version 601,fe52df4,May 10 2023,17:26:54
I (7381) wifi:mode : sta (f4:12:fa:d7:f5:b8)
I (7381) wifi:enable tsf
I (7419) BLE_INIT: BT controller compile version [85b425c]
I (7422) BLE_INIT: Bluetooth MAC: f4:12:fa:d7:f5:ba

I (7447) protocomm_nimble: BLE Host Task Started
I (7449) NimBLE: GAP procedure initiated: stop advertising.

I (7452) NimBLE: GAP procedure initiated: advertise;
I (7452) NimBLE: disc_mode=2
I (7453) NimBLE: adv_channel_map=0 own_addr_type=0 adv_filter_policy=0 adv_itvl_min=256 adv_itvl_max=256
I (7453) NimBLE:

I (7491) wifi_prov_mgr: Provisioning started with service name : BOX_19db0f
I (7492) app_wifi: Provisioning started
I (7492) app_wifi: Provisioning Started. Name : BOX_19db0f

我再试下官网固件。