Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

waveshare ESP32-S3-DEV-KIT-N8R8 crashes after wake word detection (AIS-1693) #139

Open
Blade19888 opened this issue Aug 31, 2024 · 2 comments

Comments

@Blade19888
Copy link

Hello.
i am trying to make work the "en_speech_commands_recognition" example, but when the wake word detect the watchdog resets the esp, so i disable the watchdog, and now when detect the wake word stays still..

ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0xa (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2820,len:0x1918
load:0x403c8700,len:0x4
load:0x403c8704,len:0xe5c
load:0x403cb700,len:0x303c
entry 0x403c893c
I (27) boot: ESP-IDF v5.3 2nd stage bootloader
I (27) boot: compile time Aug 31 2024 22:13:33
I (27) boot: Multicore bootloader
I (30) boot: chip revision: v0.2
I (34) 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 : 8MB
I (53) boot: Enabling RNG early entropy source...
I (58) boot: Partition Table:
I (62) boot: ## Label Usage Type ST Offset Length
I (69) boot: 0 factory factory app 00 00 00010000 00200000
I (77) boot: 1 model Unknown data 01 82 00210000 0050c000
I (84) boot: End of partition table
I (88) esp_image: segment 0: paddr=00010020 vaddr=3c070020 size=bc4ach (771244) map
I (214) esp_image: segment 1: paddr=000cc4d4 vaddr=3fc9b700 size=03b44h ( 15172) load
I (222) esp_image: segment 2: paddr=000d0020 vaddr=42000020 size=68770h (427888) map
I (287) esp_image: segment 3: paddr=00138798 vaddr=3fc9f244 size=01cd4h ( 7380) load
I (289) esp_image: segment 4: paddr=0013a474 vaddr=40378000 size=136e4h ( 79588) load
I (316) boot: Loaded app from partition at offset 0x10000
I (316) boot: Disabling RNG early entropy source...
I (328) octal_psram: vendor id : 0x0d (AP)
I (328) octal_psram: dev id : 0x02 (generation 3)
I (328) octal_psram: density : 0x03 (64 Mbit)
I (333) octal_psram: good-die : 0x01 (Pass)
I (338) octal_psram: Latency : 0x01 (Fixed)
I (344) octal_psram: VCC : 0x01 (3V)
I (349) octal_psram: SRF : 0x01 (Fast Refresh)
I (355) octal_psram: BurstType : 0x01 (Hybrid Wrap)
I (360) octal_psram: BurstLen : 0x01 (32 Byte)
I (366) octal_psram: Readlatency : 0x02 (10 cycles@Fixed)
I (372) octal_psram: DriveStrength: 0x00 (1/1)
I (378) MSPI Timing: PSRAM timing tuning index: 5
I (383) esp_psram: Found 8MB PSRAM device
I (387) esp_psram: Speed: 80MHz
I (391) cpu_start: Multicore app
I (716) esp_psram: SPI SRAM memory test OK
I (725) cpu_start: Pro cpu start user code
I (725) cpu_start: cpu freq: 240000000 Hz
I (725) app_init: Application information:
I (728) app_init: Project name: speech_commands_recognition
I (735) app_init: App version: v5.3
I (739) app_init: Compile time: Aug 31 2024 22:13:03
I (745) app_init: ELF file SHA256: 543bbe96d...
I (750) app_init: ESP-IDF: v5.3
I (755) efuse_init: Min chip rev: v0.0
I (760) efuse_init: Max chip rev: v0.99
I (765) efuse_init: Chip rev: v0.2
I (770) heap_init: Initializing. RAM available for dynamic allocation:
I (777) heap_init: At 3FCA1D58 len 000479B8 (286 KiB): RAM
I (783) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (789) heap_init: At 600FE100 len 00001EE8 (7 KiB): RTCRAM
I (795) esp_psram: Adding pool of 8192K of PSRAM memory to heap allocator
I (803) spi_flash: detected chip: gd
I (807) spi_flash: flash io: qio
W (811) i2c: This driver is an old driver, please migrate your application code to adapt driver/i2c_master.h
I (822) sleep: Configure to isolate all GPIO pins in sleep state
I (828) sleep: Enable automatic switching of GPIO sleep configuration
I (836) main_task: Started on CPU0
I (846) esp_psram: Reserving pool of 32K of internal memory for DMA/internal allocations
I (846) main_task: Calling app_main()
I (856) MODEL_LOADER: The storage free size is 23360 KB
I (856) MODEL_LOADER: The partition size is 5168 KB
I (866) MODEL_LOADER: Successfully map model partition
E (876) I2C_If: Fail to write to dev 80
E (876) I2C_If: Fail to write to dev 80
E (876) I2C_If: Fail to write to dev 80
E (886) I2C_If: Fail to write to dev 80
E (886) I2C_If: Fail to write to dev 80
E (896) I2C_If: Fail to write to dev 80
E (896) I2C_If: Fail to write to dev 80
E (906) I2C_If: Fail to write to dev 80
E (906) I2C_If: Fail to write to dev 80
E (906) ES7210: Write register fail
E (916) ES7210: Open fail
I (916) I2S_IF: channel mode 0 bits:32/32 channel:2 mask:3
I (926) I2S_IF: STD Mode 0 bits:32/32 channel:2 sample_rate:16000 mask:3
I (936) Adev_Codec: Open codec device OK
E (936) I2C_If: Fail to write to dev 30
E (946) I2C_If: Fail to write to dev 30
E (946) I2C_If: Fail to write to dev 30
E (946) I2C_If: Fail to write to dev 30
E (956) I2C_If: Fail to write to dev 30
E (956) I2C_If: Fail to write to dev 30
E (966) I2C_If: Fail to write to dev 30
E (966) I2C_If: Fail to write to dev 30
E (976) I2C_If: Fail to write to dev 30
E (976) I2C_If: Fail to write to dev 30
E (986) I2C_If: Fail to write to dev 30
E (986) I2C_If: Fail to read from dev 30
I (986) ES8311: Work in Slave mode
E (996) I2C_If: Fail to write to dev 30
E (996) I2C_If: Fail to write to dev 30
E (1006) I2C_If: Fail to read from dev 30
E (1006) I2C_If: Fail to write to dev 30
E (1016) I2C_If: Fail to write to dev 30
E (1016) I2C_If: Fail to write to dev 30
E (1026) I2C_If: Fail to write to dev 30
E (1026) I2C_If: Fail to write to dev 30
E (1036) ES8311: Open fail
I (1036) I2S_IF: channel mode 0 bits:16/16 channel:2 mask:3
I (1046) I2S_IF: STD Mode 1 bits:16/16 channel:2 sample_rate:16000 mask:3
I (1046) Adev_Codec: Open codec device OK
I (1056) AFE_SR: afe interface for speech recognition

I (1056) AFE_SR: AFE version: SR_V220727

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

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

I (1076) AFE_SR: wakenet_init: 1

MC Quantized wakenet9: wakenet9l_v4h8_Alexa_3_0.640_0.650, tigger:v3, mode:2, p:0, (Aug 2 2024 18:12:08)
I (1336) AFE_SR: wake num: 3, mode: 0, (Aug 2 2024 18:12:09)

multinet:mn5q8_en
Quantized8 Multinet5: MN5Q8_v2_english_8_0.9_0.90, beam search:v2, (Aug 2 2024 19:05:25)
esp_mn_commands_update_from_sdkconfig
I (1596) MN_COMMAND: ---------------------SPEECH COMMANDS---------------------
I (1596) MN_COMMAND: Command ID0, phrase ID0: TfL Mm c qbK
I (1606) MN_COMMAND: Command ID1, phrase ID1: Sgl c Sel
I (1616) MN_COMMAND: Command ID2, phrase ID2: PLd NoZ paNcL
I (1616) MN_COMMAND: Command ID3, phrase ID3: TkN nN Mi StNDBnKS
I (1626) MN_COMMAND: Command ID4, phrase ID4: TkN eF Mi StNDBnKS
I (1636) MN_COMMAND: Command ID5, phrase ID5: hicST VnLYoM
I (1636) MN_COMMAND: Command ID6, phrase ID6: LbcST VnLYoM
I (1646) MN_COMMAND: Command ID7, phrase ID7: gNKRmS jc VnLYoM
I (1646) MN_COMMAND: Command ID8, phrase ID8: DgKRmS jc VnLYoM
I (1656) MN_COMMAND: Command ID9, phrase ID9: TkN nN jc TmVm
I (1636) gpio: GPIO[38]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:0
I (1666) MN_COMMAND: Command ID10, phrase ID10: TkN eF jc TmVm
I (1676) MN_COMMAND: Command ID11, phrase ID11: MdK Mm c Tm
I (1686) MN_COMMAND: Command ID12, phrase ID12: MdK Mm c KnFm
I (1636) main_task: Returned from app_main()
I (1696) MN_COMMAND: Command ID13, phrase ID13: TkN nN jc LiT
I (1706) MN_COMMAND: Command ID14, phrase ID14: TkN eF jc LiT
I (1706) MN_COMMAND: Command ID15, phrase ID15: pdNq jc KcLk To RfD
I (1716) MN_COMMAND: Command ID16, phrase ID16: pdNq jc KcLk To GRmN
I (1726) MN_COMMAND: Command ID17, phrase ID17: TkN nN eL jc LiTS
I (1726) MN_COMMAND: Command ID18, phrase ID18: TkN eF eL jc LiTS
I (1736) MN_COMMAND: Command ID19, phrase ID19: TkN nN jc fR KcNDgscNk
I (1746) MN_COMMAND: Command ID20, phrase ID20: TkN eF jc fR KcNDgscNk
I (1746) MN_COMMAND: Command ID21, phrase ID21: SfT jc TfMPRcpk To SgKSTmN DgGRmZ
I (1756) MN_COMMAND: Command ID22, phrase ID22: SfT jc TfMPRcpk To SfVcNTmN DgGRmZ
I (1766) MN_COMMAND: Command ID23, phrase ID23: SfT jc TfMPRcpk To dTmN DgGRmZ
I (1776) MN_COMMAND: Command ID24, phrase ID24: SfT jc TfMPRcpk To NiNTmN DgGRmZ
I (1786) MN_COMMAND: Command ID25, phrase ID25: SfT jc TfMPRcpk To TWfNTm DgGRmZ
I (1796) MN_COMMAND: Command ID26, phrase ID26: SfT jc TfMPRcpk To TWfNTm WcN DgGRmZ
I (1796) MN_COMMAND: Command ID27, phrase ID27: SfT jc TfMPRcpk To TWfNTm To DgGRmZ
I (1806) MN_COMMAND: Command ID28, phrase ID28: SfT jc TfMPRcpk To TWfNTm vRm DgGRmZ
I (1816) MN_COMMAND: Command ID29, phrase ID29: SfT jc TfMPRcpk To TWfNTm FeR DgGRmZ
I (1826) MN_COMMAND: Command ID30, phrase ID30: SfT jc TfMPRcpk To TWfNTm FiV DgGRmZ
I (1836) MN_COMMAND: Command ID31, phrase ID31: SfT jc TfMPRcpk To TWfNTm SgKS DgGRmZ
I (1846) MN_COMMAND: ---------------------------------------------------------

phrase id:0, command id:0, str:T f L M m c q b K
phrase id:1, command id:1, str:S g l c S e l
phrase id:2, command id:2, str:P L d N o Z p a N c L
phrase id:3, command id:3, str:T k N n N M i S t N D B n K S
phrase id:4, command id:4, str:T k N e F M i S t N D B n K S
phrase id:5, command id:5, str:h i c S T V n L Y o M
phrase id:6, command id:6, str:L b c S T V n L Y o M
phrase id:7, command id:7, str:g N K R m S j c V n L Y o M
phrase id:8, command id:8, str:D g K R m S j c V n L Y o M
phrase id:9, command id:9, str:T k N n N j c T m V m
phrase id:10, command id:10, str:T k N e F j c T m V m
phrase id:11, command id:11, str:M d K M m c T m
phrase id:12, command id:12, str:M d K M m c K n F m
phrase id:13, command id:13, str:T k N n N j c L i T
phrase id:14, command id:14, str:T k N e F j c L i T
phrase id:15, command id:15, str:p d N q j c K c L k T o R f D
phrase id:16, command id:16, str:p d N q j c K c L k T o G R m N
phrase id:17, command id:17, str:T k N n N e L j c L i T S
phrase id:18, command id:18, str:T k N e F e L j c L i T S
phrase id:19, command id:19, str:T k N n N j c f R K c N D g s c N k
phrase id:20, command id:20, str:T k N e F j c f R K c N D g s c N k
phrase id:21, command id:21, str:S f T j c T f M P R c p k T o S g K S T m N D g G R m Z
phrase id:22, command id:22, str:S f T j c T f M P R c p k T o S f V c N T m N D g G R m Z
phrase id:23, command id:23, str:S f T j c T f M P R c p k T o d T m N D g G R m Z
phrase id:24, command id:24, str:S f T j c T f M P R c p k T o N i N T m N D g G R m Z
phrase id:25, command id:25, str:S f T j c T f M P R c p k T o T W f N T m D g G R m Z
phrase id:26, command id:26, str:S f T j c T f M P R c p k T o T W f N T m W c N D g G R m Z
phrase id:27, command id:27, str:S f T j c T f M P R c p k T o T W f N T m T o D g G R m Z
phrase id:28, command id:28, str:S f T j c T f M P R c p k T o T W f N T m v R m D g G R m Z
phrase id:29, command id:29, str:S f T j c T f M P R c p k T o T W f N T m F e R D g G R m Z
phrase id:30, command id:30, str:S f T j c T f M P R c p k T o T W f N T m F i V D g G R m Z
phrase id:31, command id:31, str:S f T j c T f M P R c p k T o T W f N T m S g K S D g G R m Z
------------detect start------------
WAKEWORD DETECTED
AFE_FETCH_CHANNEL_VERIFIED, channel index: 2

@github-actions github-actions bot changed the title waveshare ESP32-S3-DEV-KIT-N8R8 crashes after wake word detection waveshare ESP32-S3-DEV-KIT-N8R8 crashes after wake word detection (AIS-1693) Aug 31, 2024
@Blade19888
Copy link
Author

Thank you for any help you can provide.

@sun-xiangyu
Copy link
Contributor

@Blade19888
We do not support this ESP32-S3-DEV-KIT-N8R8 board by default. you will need to add the board according to the template here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants