ESP32-LyraT DuerOS没有反应

xjp131
Posts: 5
Joined: Thu May 14, 2020 5:24 pm

ESP32-LyraT DuerOS没有反应

Postby xjp131 » Thu May 14, 2020 6:38 pm

按照文档编译了DuerOS例程,烧录到ESP32-LyraT 板子上,重启,能在duerOS平台上看到设备在线,ESP32模块旁的灯处于熄灭状态,按键和触摸都能输入信号,语音唤醒没有反应,请问这是什么问题,检查了一天都没找到原因,刚接触ESP32这个平台不熟悉。



[02:33:14.641]收←◆ets Jun 8 2016 00:22:57

rst:0x1 (POWERON_RESET),boot:0x3f (SPI_FAST_FLASH_BOOT)
flash read err, 1000
ets_main.c 371

[02:33:15.021]收←◆ets Jun 8 2016 00:22:57

rst:0x10 (RTCWDT_RTC_RESET),boot:0x3f (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:6760
load:0x40078000,len:11116
load:0x40080400,len:6004
entry 0x40080704
[0;32mI (61) boot: Chip Revision: 1[0m
[0;32mI (63) boot_comm: chip revision: 1, min. bootloader chip revision: 0[0m
[0;32mI (39) boot: ESP-IDF v3.3.2-107-g722043f73 2nd stage bootloader[0m
[0;32mI (39) boot: compile time 23:49:46[0m
[0;32mI (67) boot: Enabling RNG early entropy source...[0m
[0;32mI (67) boot: SPI Speed : 80MHz[0m
[0;32mI (67) boot: SPI Mode : DIO[0m
[0;32mI (69) boot: SPI Flash Size : 4MB[0m
[0;32mI (73) boot: Partition Table:[0m
[0;32mI (77) boot: ## Label Usage Type ST Offset Length[0m
[0;32mI (84) boot: 0 nvs WiFi data 01 02 00009000 00006000[0m
[0;32mI (92) boot: 1 phy_init RF data 01 01 0000f000 00001000[0m
[0;32mI (99) boot: 2 factory factory app 00 00 00010000 00200000[0m
[0;32mI (107) boot: End of partition table[0m
[0;32mI (111) boot_comm: chip revision: 1, min. application chip revision: 0[0m
[0;32mI (118) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x82ed4 (536276) map[0m

[02:33:15.298]收←◆[0;32mI (276) esp_image: segment 1: paddr=0x00092efc vaddr=0x3ffb0000 size=0x0425c ( 16988) load[0m
[0;32mI (282) esp_image: segment 2: paddr=0x00097160 vaddr=0x40080000 size=0x00400 ( 1024) load[0m
[0;32mI (283) esp_image: segment 3: paddr=0x00097568 vaddr=0x40080400 size=0x08aa8 ( 35496) load[0m
[0;32mI (304) esp_image: segment 4: paddr=0x000a0018 vaddr=0x400d0018 size=0x132890 (1255568) map[0m

[02:33:15.675]收←◆[0;32mI (653) esp_image: segment 5: paddr=0x001d28b0 vaddr=0x40088ea8 size=0x130cc ( 78028) load[0m

[02:33:15.718]收←◆[0;32mI (696) boot: Loaded app from partition at offset 0x10000[0m
[0;32mI (697) boot: Disabling RNG early entropy source...[0m
[0;32mI (697) psram: This chip is ESP32-D0WD[0m
[0;32mI (701) spiram: Found 32MBit SPI RAM device[0m
[0;32mI (706) spiram: SPI RAM mode: flash 80m sram 40m[0m
[0;32mI (711) spiram: PSRAM initialized, cache is in low/high (2-core) mode.[0m
[0;32mI (719) cpu_start: Pro cpu up.[0m
[0;32mI (722) cpu_start: Application information:[0m
[0;32mI (727) cpu_start: Project name: esp_dueros[0m
[0;32mI (732) cpu_start: App version: v2.0-54-gabaaa79-dirty[0m
[0;32mI (739) cpu_start: Compile time: May 14 2020 23:50:31[0m
[0;32mI (745) cpu_start: ELF file SHA256: 1c1ec4d95617f737...[0m
[0;32mI (751) cpu_start: ESP-IDF: v3.3.2-107-g722043f73[0m
[0;32mI (757) cpu_start: Starting app cpu, entry point is 0x40081590[0m
[0;32mI (0) cpu_start: App cpu up.[0m

[02:33:16.664]收←◆[0;32mI (1642) spiram: SPI SRAM memory test OK[0m
[0;32mI (1642) heap_init: Initializing. RAM available for dynamic allocation:[0m
[0;32mI (1642) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM[0m
[0;32mI (1649) heap_init: At 3FFBB958 len 000246A8 (145 KiB): DRAM[0m
[0;32mI (1655) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM[0m
[0;32mI (1661) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM[0m
[0;32mI (1668) heap_init: At 4009BF74 len 0000408C (16 KiB): IRAM[0m
[0;32mI (1674) cpu_start: Pro cpu start user code[0m
[0;32mI (1679) spiram: Adding pool of 4096K of external SPI memory to heap allocator[0m
[0;32mI (134) cpu_start: Starting scheduler on PRO CPU.[0m
[0;32mI (0) cpu_start: Starting scheduler on APP CPU.[0m
[0;32mI (134) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations[0m
[0;32mI (175) DUEROS: ADF version is v2.0-54-gabaaa79-dirty[0m
[0;32mI (177) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3 [0m
[0;32mI (180) gpio: GPIO[39]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3 [0m
[0;33mW (216) PERIPH_TOUCH: _touch_init[0m
[0;32mI (216) SDCARD: Trying to mount with base path=/sdcard[0m

[02:33:16.877]收←◆[0;32mI (287) SDCARD: CID name SU04G!
[0m

[02:33:17.278]收←◆[0;32mI (689) gpio: GPIO[19]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3 [0m
[0;31mE (690) gpio: gpio_install_isr_service(412): GPIO isr service already installed[0m
[0;32mI (723) gpio: GPIO[21]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 [0m
[0;32mI (723) ES8388_DRIVER: init,out:02, in:00[0m
[0;32mI (732) ESP_AUDIO_TASK: media_ctrl_task running...,0x3f806bac[0m

----------------------------- ESP Audio Platform -----------------------------
| |
| ESP_AUDIO-v1.5.6-16-gcf04695-dirty |
| Compile date: May 9 2020-14:49:56 |
------------------------------------------------------------------------------
[0;32mI (773) ESP_AUDIO_CTRL: Func:media_ctrl_create, Line:274, MEM Total:4377320 Bytes, Inter:260188 Bytes, Dram:243700 Bytes
[0m
[0;32mI (785) AUDIO_HAL: Codec mode is 3, Ctrl:1[0m
[0;32mI (794) STAGEFRIGHTMP3_DECODER: MP3 init[0m
[0;32mI (795) I2S: DMA Malloc info, datalen=blocksize=1200, dma_buf_count=3[0m
[0;32mI (813) I2S: DMA Malloc info, datalen=blocksize=1200, dma_buf_count=3[0m
[0;32mI (815) I2S: APLL: Req RATE: 48000, real rate: 47999.961, BITS: 16, CLKM: 1, BCK_M: 8, MCLK: 12287990.000, SCLK: 1535998.750000, diva: 1, divb: 0[0m
[0;32mI (827) LYRAT_V4_3: I2S0, MCLK output by GPIO0[0m
[0;32mI (834) AUDIO_WRAPPER: Func:setup_player, Line:161, MEM Total:4364472 Bytes, Inter:243664 Bytes, Dram:227176 Bytes
[0m
[0;32mI (859) AUDIO_WRAPPER: esp_audio instance is:0x3f806bac[0m

[02:33:17.500]收←◆I (912) wifi:wifi driver task: 3ffd34e4, prio:23, stack:3584, core=0
[0;32mI (912) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE[0m
[0;32mI (916) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE[0m
I (943) wifi:wifi firmware version: 5f8804c
I (943) wifi:config NVS flash: enabled
I (944) wifi:config nano formating: disabled
I (944) wifi:Init dynamic tx buffer num: 32
I (948) wifi:Init data frame dynamic rx buffer num: 32
I (952) wifi:Init management frame dynamic rx buffer num: 32
I (958) wifi:Init management short buffer num: 32
I (962) wifi:Init static tx buffer num: 16
I (967) wifi:Init static rx buffer size: 1600
I (970) wifi:Init static rx buffer num: 16
I (974) wifi:Init dynamic rx buffer num: 32

[02:33:17.652]收←◆[0;32mI (1064) phy: phy_version: 4180, cb3948e, Sep 12 2019, 16:39:13, 0, 0[0m
I (1065) wifi:mode : sta (24:0a:c4:9d:03:f8)

[02:33:17.776]收←◆I (1187) wifi:new:<1,1>, old:<1,0>, ap:<255,255>, sta:<1,1>, prof:1
I (1188) wifi:state: init -> auth (b0)
I (1191) wifi:state: auth -> assoc (0)
I (1196) wifi:state: assoc -> run (10)
I (1206) wifi:connected with TP-LINK_00B0, aid = 3, channel 1, 40U, bssid = fc:d7:33:b9:00:b0
I (1206) wifi:security type: 4, phy: bgn, rssi: -18
I (1215) wifi:pm start, type: 1


[02:33:17.848]收←◆I (1259) wifi:AP's beacon interval = 102400 us, DTIM period = 1

[02:33:18.449]收←◆I (1726,tid:3ffc4628) lightduer_session.c( 44):random = 75933

[02:33:18.512]收←◆[0;32mI (1923) WIFI_SERV: Connect to wifi ssid: TP-LINK_00B0, pwd: 123456789[0m
[0;33mW (1927) I2S: I2S driver already installed[0m
[0;32mI (1927) LYRAT_V4_3: I2S0, MCLK output by GPIO0[0m
[0;32mI (1931) AUDIO_PIPELINE: link el->rb, el:0x3f808c98, tag:i2s, rb:0x3f808fd4[0m
[0;32mI (1937) AUDIO_PIPELINE: link el->rb, el:0x3f808dc4, tag:filter, rb:0x3f809010[0m
[0;32mI (1945) AUDIO_ELEMENT: [i2s] Element task created[0m
[0;32mI (1951) AUDIO_THREAD: The filter task allocate stack on external memory[0m
[0;31mE (1958) AUDIO_THREAD: Not found right xTaskCreateRestrictedPinnedToCore. Please apply the $ADF_PATH/idf_patches/idf_v3.3_freertos.patch first[0m
[0;31mE (1972) AUDIO_THREAD: Error creating RestrictedPinnedToCore filter[0m
[0;31mE (1978) AUDIO_ELEMENT: [filter] audio_thread_create failed[0m
[0;32mI (1985) AUDIO_ELEMENT: [raw] Element task created[0m
[0;32mI (1990) AUDIO_PIPELINE: Func:audio_pipeline_run, Line:358, MEM Total:4270896 Bytes, Inter:149508 Bytes, Dram:133020 Bytes
[0m
[0;33mW (2002) AUDIO_ELEMENT: [filter] Element has not create when AUDIO_ELEMENT_RESUME[0m
[0;32mI (2002) AUDIO_ELEMENT: [i2s] AEL_MSG_CMD_RESUME,state:1[0m
[0;31mE (2010) AUDIO_PIPELINE: audio_pipeline_resume failed[0m
[0;32mI (2016) I2S_STREAM: AUDIO_STREAM_READER,Rate:48000,ch:2[0m
[0;33mW (2022) AUDIO_PIPELINE: Without stop, st:6[0m
[0;32mI (2030) I2S: APLL: Req RATE: 48000, real rate: 47999.961, BITS: 16, CLKM: 1, BCK_M: 8, MCLK: 12287990.000, SCLK: 1535998.750000, diva: 1, divb: 0[0m
[0;33mW (2033) AUDIO_PIPELINE: Without wait stop, st:6[0m
[0;32mI (2060) AUDIO_ELEMENT: [i2s] Element task destroyed[0m
[0;33mW (2060) AUDIO_ELEMENT: [filter] Element has not create when AUDIO_ELEMENT_TERMINATE[0m
[0;32mI (2066) DUEROS: Recorder has been created[0m
Quantized wakeNet5: wakeNet5_v1_nihaoxiaozhi_6_0.983_0.95, mode:0 (Nov 20 2019 14:34:43)
[0;32mI (2079) REC_ENG: ESP SR Engine, chunksize is 480锛?FRAME_SIZE:960, frequency:16000[0m
[0;31mE (2087) REC_ENG: Recorder Engine Running ..., vad_window=9, wakeup=10000 ms, vad_off=800 ms, threshold=90 ms, sensitivity=0[0m
[0;32mI (2099) REC_ENG: state idle[0m

[02:33:18.782]收←◆[0;32mI (2192) event: sta ip: 192.168.0.103, mask: 255.255.255.0, gw: 192.168.0.1[0m
[0;32mI (2193) WIFI_SERV: Got ip:192.168.0.103[0m
[0;33mW (2194) WIFI_SERV: STATE type:2, pdata:0x0, len:0[0m
[0;32mI (2217) DUEROS: PERIPH_WIFI_CONNECTED [213][0m
[0;31mE (2217) DUEROS: Recv Que DUER_CMD_LOGIN[0m
[0;32mI (2217) DUEROS: duer_start, len:1470
{"configures":"{}","bindToken":"d355efa997ebf4d24149eafdddef3577","coapPort":443,"token":"PQS5sVPRhX6iCP4XkYUkMbx8UJjuULdj","serverAddr":"device.iot.baidu.com","lwm2mPort":443,"uuid":"2055000000000a","rsaCaCrt":"-----BEGIN CERTIFICATE-----\nMIIDUDCCA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Vqh4SMtYkL7ZZiZAxD9GtNnhRyFsWlC2r\nOVSdXs1ttZxEaEBGUl7tgsBte556BIvufZX+BXGyycVJdBu3\n-----END CERTIFICATE-----\n","macId":"","version":15145}[0m
I (2214,tid:3ffc4628) lightduer_engine.c( 220):duer_engine_start, g_handler:3F808B00, length:1470, profile:3F80D3D0
[0;33mW (2348) DUEROS: duer_callback: type:0, source:0x3f807b64 data:2, data_len:0[0m
I (2227,tid:3ffc4628) lightduer_ca_conf.c( 38): duer_conf_get_string: uuid = 2055000000000a
I (2240,tid:3ffc4628) lightduer_ca_conf.c( 38): duer_conf_get_string: serverAddr = device.iot.baidu.com
I (2273,tid:3ffc4628) baidu_ca_socket_adp.c( 134):DNS lookup succeeded. IP=220.181.107.198

[02:33:19.046]收←◆I (2323,tid:3ffc4628) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
W (2323,tid:3ffc4628) lightduer_events.c( 80):[lightduer_ca] <== event end = 400FB394, timespent = 110

[02:33:19.832]收←◆I (3110,tid:3ffc4628) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
W (3110,tid:3ffc4628) lightduer_events.c( 80):[lightduer_ca] <== event end = 400FB528, timespent = 741
I (3117,tid:3ffc4628) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
I (3125,tid:3ffc4628) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
I (3134,tid:3ffc4628) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
I (3143,tid:3ffc4628) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
I (3151,tid:3ffc4628) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
I (3159,tid:3ffc4628) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
I (3167,tid:3ffc4628) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
I (3175,tid:3ffc4628) lightduer_engine.c( 220):duer_engine_start, g_handler:3F808B00, length:0, profile:00000000
I (3186,tid:3ffc4628) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)

[02:33:19.949]收←◆W (3226,tid:3ffc4628) lightduer_coap.c( 532):duer_coap_nsdl_tx: sent = 0
I (3227,tid:3ffc4628) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
I (3233,tid:3ffc4628) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
I (3239,tid:3ffc4628) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
I (3247,tid:3ffc4628) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)
I (3256,tid:3ffc4628) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK)

[02:33:20.318]收←◆I (3595,tid:3ffc4628) lightduer_connagent.c( 177):connect started!
I (3596,tid:3ffc4628) lightduer_voice.c( 697):Mutex initializing
I (3596,tid:3ffc4628) lightduer_ds_log_cache.c( 67):no cache report
[0;31mE (3735) DUEROS: event: 0[0m
[0;32mI (3739) DUEROS: duer_dcs_init[0m
I (3610,tid:3ffc4628) lightduer_dcs_router.c( 283):namespace: ai.dueros.private.protocol
I (3616,tid:3ffc4628) lightduer_dcs_router.c( 283):namespace: ai.dueros.device_interface.screen_extended_card
I (3627,tid:3ffc4628) lightduer_dcs_router.c( 283):namespace: ai.dueros.device_interface.system
I (3635,tid:3ffc4628) lightduer_dcs_router.c( 283):namespace: ai.dueros.device_interface.voice_input
I (3643,tid:3ffc4628) lightduer_dcs_router.c( 283):namespace: ai.dueros.device_interface.voice_output
I (3652,tid:3ffc4628) lightduer_dcs_router.c( 283):namespace: ai.dueros.device_interface.speaker_controller
I (3662,tid:3ffc4628) lightduer_dcs_router.c( 283):namespace: ai.dueros.device_interface.audio_player
[0;32mI (3805) AUDIO_WRAPPER: duer_dcs_get_speaker_state[0m
[0;32mI (3816) DUEROS: Dueros DUER_CMD_CONNECTED, duer_state:2[0m
[0;33mW (3816) DUEROS: duer_callback: type:0, source:0x3f807b64 data:3, data_len:0[0m
[0;31mE (3817) DUEROS: event: DUER_EVENT_STARTED[0m
W (3695,tid:3ffc4628) lightduer_events.c( 80):[lightduer_ca] <== event end = 400FB528, timespent = 104
I (3704,tid:3ffc4628) lightduer_connagent.c( 212):add resource successfully!!
I (3711,tid:3ffc4628) lightduer_connagent.c( 212):add resource successfully!!
W (3717,tid:3ffc4628) lightduer_engine.c( 634):data cache has not sent, pending..., dcache_len:1, qcache_len:4
W (3729,tid:3ffc4628) lightduer_system_info.c( 306):Undefined memory type, 0
E (3735,tid:3ffc4628) lightduer_system_info.c( 389):Sys Info: Get disk info failed

[02:33:57.312]收←◆[0;32mI (40716) DUEROS: AUDIO_USER_KEY_PLAY [316][0m

[02:34:01.854]收←◆[0;32mI (45258) DUEROS: PERIPH_NOTIFY_KEY_REC[0m
[0;32mI (45258) REC_ENG: Recorder trigger start[0m

[02:34:13.904]收←◆[0;32mI (57307) DUEROS: PERIPH_NOTIFY_KEY_REC[0m
[0;32mI (57307) REC_ENG: Recorder trigger start[0m

bulazhang
Posts: 16
Joined: Wed Mar 25, 2020 2:31 pm

Re: ESP32-LyraT DuerOS没有反应

Postby bulazhang » Fri May 15, 2020 3:31 am

你应该遇到了和我昨晚同样的问题,freertos中task.c的一个补丁
超喜欢嵌入式的70后老猿人

Who is online

Users browsing this forum: No registered users and 22 guests