espressif / esp-adf

Espressif Audio Development Framework
Other
1.55k stars 685 forks source link

dueros已经连接,语音可以唤醒,但是没有回应 (AUD-763) #83

Closed cc1227858751 closed 5 years ago

cc1227858751 commented 5 years ago

I (16866,tid:3ffc6c34) lightduer_connagent.c( 212):add resource successfully!!

I (16880,tid:3ffc6c34) lightduer_connagent.c( 212):add resource successfully!!

W (16886,tid:3ffc6c34) lightduer_engine.c( 634):data cache has not sent, pending..., dcache_len:1, qcache_len:4

W (16898,tid:3ffc6c34) lightduer_system_info.c( 306):Undefined memory type, 0

E (16903,tid:3ffc6c34) lightduer_system_info.c( 389):Sys Info: Get disk info failed

W (16961,tid:3ffc6c34) lightduer_events.c( 80):[lightduer_ca] <== event end = 400F6278, timespent = 65

I (48166) DUEROS: PERIPH_NOTIFY_KEY_REC

I (48167) REC_ENG: Recorder trigger start

I (48198) REC_ENG: WAKEUP timer started

I (48199) DUEROS: --- rec_engine_cb --- REC_EVENT_WAKEUP_START

I (48199) ESP_PERIPH: This peripheral has been added

I (49143) DUEROS: --- rec_engine_cb --- REC_EVENT_VAD_START

I (49143) DUEROS: Recv Que DUER_CMD_START

I (49148) AUDIO_WRAPPER: duer_dcs_get_speaker_state

I (48848,tid:3ffc3430) lightduer_dcs_local.c( 188):Current dialog id: 18ec000000000140b18ccf0000bece00000004

W (51325) REC_ENG: State VAD silence_time >= vad_off_window

I (51326) ESP_PERIPH: This peripheral has been added

I (51326) DUEROS: --- rec_engine_cb --- REC_EVENT_VAD_STOP, state:3

I (52124) DUEROS: --- rec_engine_cb --- REC_EVENT_VAD_START

I (52379) DUEROS: Dueros DUER_CMD_STOP

I (52387) DUEROS: Recv Que DUER_CMD_START

E (52085,tid:3ffc6c34) lightduer_voice.c( 169):The qcache is not matched, may be destroyed, item:00000000, stat:3F821754

I (52392) AUDIO_WRAPPER: duer_dcs_get_speaker_state

I (52096,tid:3ffc3430) lightduer_dcs_local.c( 188):Current dialog id: 18ec0000000001470331290000cb7e00000006

Task watchdog got triggered. The following tasks did not reset the watchdog in time:

Tasks currently running:

CPU 0: duerosTask

CPU 1: IDLE

W (54270) REC_ENG: State VAD silence_time >= vad_off_window

I (54271) ESP_PERIPH: This peripheral has been added

I (54271) DUEROS: --- rec_engine_cb --- REC_EVENT_VAD_STOP, state:3

W (55099) REC_ENG: State VAD silence_time >= vad_off_window

W (55899) REC_ENG: State VAD silence_time >= vad_off_window

I (56793) DUEROS: --- rec_engine_cb --- REC_EVENT_VAD_START

W (58782) REC_ENG: State VAD silence_time >= vad_off_window

I (58783) ESP_PERIPH: This peripheral has been added

I (58783) DUEROS: --- rec_engine_cb --- REC_EVENT_VAD_STOP, state:3

Task watchdog got triggered. The following tasks did not reset the watchdog in time:

Tasks currently running:

CPU 0: duerosTask

CPU 1: IDLE

W (59581) REC_ENG: State VAD silence_time >= vad_off_window

I (16866,tid:3ffc6c34) lightduer_connagent.c( 212):add resource successfully!!

I (16880,tid:3ffc6c34) lightduer_connagent.c( 212):add resource successfully!!

W (16886,tid:3ffc6c34) lightduer_engine.c( 634):data cache has not sent, pending..., dcache_len:1, qcache_len:4

W (16898,tid:3ffc6c34) lightduer_system_info.c( 306):Undefined memory type, 0

E (16903,tid:3ffc6c34) lightduer_system_info.c( 389):Sys Info: Get disk info failed

W (16961,tid:3ffc6c34) lightduer_events.c( 80):[lightduer_ca] <== event end = 400F6278, timespent = 65

I (48166) DUEROS: PERIPH_NOTIFY_KEY_REC

I (48167) REC_ENG: Recorder trigger start

I (48198) REC_ENG: WAKEUP timer started

I (48199) DUEROS: --- rec_engine_cb --- REC_EVENT_WAKEUP_START

I (48199) ESP_PERIPH: This peripheral has been added

I (49143) DUEROS: --- rec_engine_cb --- REC_EVENT_VAD_START

I (49143) DUEROS: Recv Que DUER_CMD_START

I (49148) AUDIO_WRAPPER: duer_dcs_get_speaker_state

I (48848,tid:3ffc3430) lightduer_dcs_local.c( 188):Current dialog id: 18ec000000000140b18ccf0000bece00000004

W (51325) REC_ENG: State VAD silence_time >= vad_off_window

I (51326) ESP_PERIPH: This peripheral has been added

I (51326) DUEROS: --- rec_engine_cb --- REC_EVENT_VAD_STOP, state:3

I (52124) DUEROS: --- rec_engine_cb --- REC_EVENT_VAD_START

I (52379) DUEROS: Dueros DUER_CMD_STOP

I (52387) DUEROS: Recv Que DUER_CMD_START

E (52085,tid:3ffc6c34) lightduer_voice.c( 169):The qcache is not matched, may be destroyed, item:00000000, stat:3F821754

I (52392) AUDIO_WRAPPER: duer_dcs_get_speaker_state

I (52096,tid:3ffc3430) lightduer_dcs_local.c( 188):Current dialog id: 18ec0000000001470331290000cb7e00000006

Task watchdog got triggered. The following tasks did not reset the watchdog in time:

Tasks currently running:

CPU 0: duerosTask

CPU 1: IDLE

W (54270) REC_ENG: State VAD silence_time >= vad_off_window

I (54271) ESP_PERIPH: This peripheral has been added

I (54271) DUEROS: --- rec_engine_cb --- REC_EVENT_VAD_STOP, state:3

W (55099) REC_ENG: State VAD silence_time >= vad_off_window

W (55899) REC_ENG: State VAD silence_time >= vad_off_window

I (56793) DUEROS: --- rec_engine_cb --- REC_EVENT_VAD_START

W (58782) REC_ENG: State VAD silence_time >= vad_off_window

I (58783) ESP_PERIPH: This peripheral has been added

I (58783) DUEROS: --- rec_engine_cb --- REC_EVENT_VAD_STOP, state:3

Task watchdog got triggered. The following tasks did not reset the watchdog in time:

Tasks currently running:

CPU 0: duerosTask

CPU 1: IDLE

W (59581) REC_ENG: State VAD silence_time >= vad_off_window

jason-mao commented 5 years ago

@cc1227858751 你log没看到event: DUER_EVENT_STARTED,这个是表示连接成功的log。请提供一份完整的log。

cc1227858751 commented 5 years ago

@cc1227858751 你log没看到event: DUER_EVENT_STARTED,这个是表示连接成功的log。请提供一份完整的log。

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 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:5964 load:0x40078000,len:7892 load:0x40080000,len:5904 entry 0x4008031c I (29) boot: ESP-IDF v3.1.1-6-g2aa9a2118-dirty 2nd stage bootloader I (29) boot: compile time 13:33:59 I (31) boot: Enabling RNG early entropy source... I (35) boot: SPI Speed : 80MHz I (39) boot: SPI Mode : DIO I (43) boot: SPI Flash Size : 4MB I (47) boot: Partition Table: I (51) boot: ## Label Usage Type ST Offset Length I (58) boot: 0 nvs WiFi data 01 02 00009000 00006000 I (66) boot: 1 phy_init RF data 01 01 0000f000 00001000 I (73) boot: 2 factory factory app 00 00 00010000 00300000 I (81) boot: End of partition table I (85) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x910c0 (594112) map I (264) esp_image: segment 1: paddr=0x000a10e8 vaddr=0x3ffb0000 size=0x040d0 ( 16592) load I (270) esp_image: segment 2: paddr=0x000a51c0 vaddr=0x3ffb40d0 size=0x00000 ( 0) load I (271) esp_image: segment 3: paddr=0x000a51c8 vaddr=0x40080000 size=0x00400 ( 1024) load I (280) esp_image: segment 4: paddr=0x000a55d0 vaddr=0x40080400 size=0x0aa40 ( 43584) load I (303) esp_image: segment 5: paddr=0x000b0018 vaddr=0x400d0018 size=0x13121c (1249820) map I (663) esp_image: segment 6: paddr=0x001e123c vaddr=0x4008ae40 size=0x0d144 ( 53572) load I (681) esp_image: segment 7: paddr=0x001ee388 vaddr=0x400c0000 size=0x00000 ( 0) load I (681) esp_image: segment 8: paddr=0x001ee390 vaddr=0x50000000 size=0x00000 ( 0) load I (701) boot: Loaded app from partition at offset 0x10000 I (701) boot: Disabling RNG early entropy source... I (702) spiram: SPI RAM mode: flash 80m sram 80m I (707) spiram: PSRAM initialized, cache is in low/high (2-core) mode. I (714) cpu_start: Pro cpu up. I (718) cpu_start: Starting app cpu, entry point is 0x40081504 I (0) cpu_start: App cpu up. I (1187) spiram: SPI SRAM memory test OK I (1187) heap_init: Initializing. RAM available for dynamic allocation: I (1188) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM I (1194) heap_init: At 3FFBB718 len 000248E8 (146 KiB): DRAM I (1200) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM I (1207) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM I (1213) heap_init: At 40097F84 len 0000807C (32 KiB): IRAM I (1219) cpu_start: Pro cpu start user code I (1224) spiram: Adding pool of 4096K of external SPI memory to heap allocator I (1232) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations I (247) cpu_start: Starting scheduler on PRO CPU. I (0) cpu_start: Starting scheduler on APP CPU. I (362) DUEROS: ADF version is v1.0-beta1-49-g5d73886-dirty W (363) ESP_PERIPH: Peripherals have been initialized already I (364) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3  I (373) gpio: GPIO[39]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3  W (409) PERIPH_TOUCH: _touch_init I (409) SDCARD: Trying to mount with base path=/sdcard I (456) SDCARD: CID name SD !  I (379,tid:3ffc6c34) lightduer_session.c( 44):random = 75933 I (685) gpio: GPIO[19]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3  E (688) gpio: gpio_install_isr_service(394): GPIO isr service already installed I (698) wifi: wifi driver task: 3ffbde0c, prio:23, stack:3584, core=0 I (702) wifi: wifi firmware version: b2c9a19 I (706) wifi: config NVS flash: enabled I (707) gpio: GPIO[21]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0  I (710) wifi: config nano formating: disabled I (719) ES8388_DRIVER: init,out:02, in:00 I (724) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE I (735) AUDIO_HAL: Codec mode is 1, Ctrl:1 I (737) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE I (746) I2S: DMA Malloc info, datalen=blocksize=1200, dma_buf_count=3 I (760) I2S: DMA Malloc info, datalen=blocksize=1200, dma_buf_count=3 I (767) wifi: Init dynamic tx buffer num: 32 I (769) I2S: APLL: Req RATE: 44100, real rate: 43945.238, BITS: 16, CLKM: 1, BCK_M: 8, MCLK: 11249981.000, SCLK: 1406247.625000, diva: 1, divb: 0 I (770) wifi: Init data frame dynamic rx buffer num: 32 I (786) AUDIO_ELEMENT: [i2s] Element task created I (788) wifi: Init management frame dynamic rx buffer num: 32 I (799) wifi: Init static tx buffer num: 16 I (804) wifi: Init static rx buffer size: 1600 I (807) wifi: Init static rx buffer num: 10 I (811) wifi: Init dynamic rx buffer num: 32 filter AUDIO_ELEMENT: [filter] Element task created I (822) AUDIO_ELEMENT: [raw] Element task created I (826) AUDIO_PIPELINE: Func:audio_pipeline_run, Line:260, MEM Total:4298764 Bytes, Inter:189100 Bytes, Dram:156244 Bytes

 I (838) AUDIO_PIPELINE: Pipeline started I (843) DUEROS: Recorder has been created I (839) AUDIO_ELEMENT: [i2s] AEL_MSG_CMD_RESUME,state:1 W (848) REC_ENG: open rec_eng_2.wav failed,[293] filter REC_ENG: ESP SR Engine, chunksize is 480锛? FRAME_SIZE:960, frequency:16000 filter REC_ENG: Recorder Engine Running ..., vad_window=9, wakeup=10000 ms, vad_off=800 ms, threshold=90 ms, sensitivity=0 filter REC_ENG: state idle filter I2S_STREAM: AUDIO_STREAM_READER,Rate:48000,ch:2 filter I2S: APLL: Req RATE: 48000, real rate: 47999.961, BITS: 16, CLKM: 1, BI (89CK_M: 8, MC6) phy: phy_LK: 1228799version: 4000.000, SCLK0, b6198fa, : 1535998.7Sep 3 2018,50000, diva 15:11:06, 0: 1, divb: , 0 0 I (910) wifi: mode : sta (24:0a:c4:9c:aa:48) filter AUDIO_ELEMENT: [filter] AEL_MSG_CMD_RESUME,state:1 I (920) RSP_FILTER: rsp_filter_open, encoder, src:48000,2,dest:16000,1,buf_sz:6200, in_pcm:6192 I (1278) wifi: n:3 0, o:1 0, ap:255 255, sta:3 0, prof:1 I (2309) wifi: state: init -> auth (b0) I (2338) wifi: state: auth -> assoc (0) I (2364) wifi: state: assoc -> run (10) I (8468) wifi: state: run -> init (fc0) I (8469) wifi: n:3 0, o:3 0, ap:255 255, sta:3 0, prof:1 I (8470) DUEROS: PERIPH_WIFI_DISCONNECTED [457] W (8472) PERIPH_WIFI: Wi-Fi disconnected from SSID QJ_YJS, auto-reconnect enabled, reconnect after 1000 ms I (11905) DUEROS: PERIPH_WIFI_DISCONNECTED [457] I (11906) ESP_PERIPH: This peripheral has been added W (11906) PERIPH_WIFI: Wi-Fi disconnected from SSID QJ_YJS, auto-reconnect enabled, reconnect after 1000 ms I (13051) wifi: n:3 0, o:3 0, ap:255 255, sta:3 0, prof:1 I (13051) wifi: state: init -> auth (b0) I (13089) wifi: state: auth -> assoc (0) I (13115) wifi: state: assoc -> run (10) I (13236) wifi: connected with QJ_YJS, channel 3 I (13237) wifi: pm start, type: 1

I (14400) event: sta ip: 192.168.31.211, mask: 255.255.255.0, gw: 192.168.31.1 I (14401) DUEROS: PERIPH_WIFI_CONNECTED [452] I (14404) ESP_PERIPH: This peripheral has been added E (14410) DUEROS: Recv Que DUER_CMD_LOGIN I (14414) DUEROS: duer_start, len:1470 {"configures":"{}","bindToken":"1240bb8c6921f4ec546cebbcd17cace0","coapPort":443,"token":"CdAqAuKYUuR2vHrsGNJXzu7Rmf9CYfET","serverAddr":"device.iot.baidu.com","lwm2mPort":443,"uuid":"18ec0000000001","rsaCaCrt":"-----BEGIN CERTIFICATE-----\nMIIDUDCCAjgCCQCmVPUErMYmCjANBgkqhkiG9w0BAQUFADBqMQswCQYDVQQGEwJD\nTjETMBEGA1UECAwKU29tZS1TdGF0ZTEOMAwGA1UECgwFYmFpZHUxGDAWBgNVBAMM\nDyouaW90LmJhaWR1LmNvbTEcMBoGCSqGSIb3DQEJARYNaW90QGJhaWR1LmNvbTAe\nFw0xNjAzMTEwMzMwNDlaFw0yNjAzMDkwMzMwNDlaMGoxCzAJBgNVBAYTAkNOMRMw\nEQYDVQQIDApTb21lLVN0YXRlMQ4wDAYDVQQKDAViYWlkdTEYMBYGA1UEAwwPKi5p\nb3QuYmFpZHUuY29tMRwwGgYJKoZIhvcNAQkBFg1pb3RAYmFpZHUuY29tMIIBIjAN\nBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtbhIeiN7pznzuMwsLKQj2xB02+51\nOvCJ5d116ZFLjecp9qtllqOfN7bm+AJa5N2aAHJtsetcTHMitY4dtGmOpw4dlGqx\nluoz50kWJWQjVR+z6DLPnGE4uELOS8vbKHUoYPPQTT80eNVnl9S9h/l7DcjEAJYC\nIYJbf6+K9x+Ti9VRChvWcvgZQHMRym9j1g/7CKGMCIwkC+6ihkGD/XG40r7KRCyH\nbD53KnBjBO9FH4IL3rGlZWKWzMw3zC6RTS2ekfEsgAtYDvROKd4rNs+uDU9xaBLO\ndXTl5uxgudH2VnVzWtj09OUbBtXcQFD2IhmOl20BrckYul+HEIMR0oDibwIDAQAB\nMA0GCSqGSIb3DQEBBQUAA4IBAQCzTTH91jNh/uYBEFekSVNg1h1kPSujlwEDDf/W\npjqPJPqrZvW0w0cmYsYibNDy985JB87MJMfJVESG/v0Y/YbvcnRoi5gAenWXQNL4\nh2hf08A5wEQfLO/EaD1GTH3OIierKYZ6GItGrz4uFKHV5fTMiflABCdu37ALGjrA\nrIjwjxQG6WwLr9468hkKrWNG3dMBHKvmqO8x42sZOFRJMkqBbKzaBd1uW4xY5XwM\nS1QX56tVrgO0A3S+4dEg5uiLVN4YVP/Vqh4SMtYkL7ZZiZAxD9GtNnhRyFsWlC2r\nOVSdXs1ttZxEaEBGUl7tgsBte556BIvufZX+BXGyycVJdBu3\n-----END CERTIFICATE-----\n","macId":"","version":11662} I (14241,tid:3ffc6c34) lightduer_engine.c( 220):duer_engine_start, g_handler:3F806AC0, length:1470, profile:3F816384 I (14253,tid:3ffc6c34) lightduer_ca_conf.c( 38): duer_conf_get_string: uuid = 18ec0000000001 I (14259,tid:3ffc6c34) lightduer_ca_conf.c( 38): duer_conf_get_string: serverAddr = device.iot.baidu.com I (14324,tid:3ffc6c34) baidu_ca_socket_adp.c( 134):DNS lookup succeeded. IP=180.149.132.96 I (14393,tid:3ffc6c34) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) W (14394,tid:3ffc6c34) lightduer_events.c( 80):[lightduer_ca] <== event end = 400F0C64, timespent = 152 I (15711,tid:3ffc6c34) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) W (15711,tid:3ffc6c34) lightduer_events.c( 80):[lightduer_ca] <== event end = 400F0DF8, timespent = 1223 I (15720,tid:3ffc6c34) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) I (15733,tid:3ffc6c34) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) I (15738,tid:3ffc6c34) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) I (15745,tid:3ffc6c34) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) I (15754,tid:3ffc6c34) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) I (15763,tid:3ffc6c34) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) I (15771,tid:3ffc6c34) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) I (15778,tid:3ffc6c34) lightduer_engine.c( 220):duer_engine_start, g_handler:3F806AC0, length:0, profile:00000000 I (15789,tid:3ffc6c34) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) W (15966,tid:3ffc6c34) lightduer_coap.c( 532):duer_coap_nsdl_tx: sent = 0 I (15967,tid:3ffc6c34) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) I (15973,tid:3ffc6c34) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) I (15980,tid:3ffc6c34) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) I (15989,tid:3ffc6c34) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) I (15996,tid:3ffc6c34) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) I (16447,tid:3ffc6c34) lightduer_connagent.c( 177):connect started! I (16449,tid:3ffc6c34) lightduer_voice.c( 697):Mutex initializing I (16449,tid:3ffc6c34) lightduer_ds_log_cache.c( 67):no cache report E (16759) DUEROS: event: 0 I (16763) AUDIO_WRAPPER: duer_dcs_init W (16767) AUDIO_HAL: The hal has been already initialized! I (16774) AUDIO_HAL: Codec mode is 2, Ctrl:1

----------------------------- ESP Audio Platform ----------------------------- I (16785) ESP_AUDIO_TASK: media_ctrl_task running...,0x3f8165d0 | | | ESP_AUDIO v1.0-rc1 | | Compile date: Oct 15 2018-15:49:40 |

I (16820) ESP_AUDIO_CTRL: Func:media_ctrl_create, Line:144, MEM Total:4189276 Bytes, Inter:158400 Bytes, Dram:125544 Bytes

 W (16833) I2S: I2S driver already installed W (16838) I2S: I2S driver already installed I (16843) STAGEFRIGHTMP3_DECODER: MP3 init I (16850) AUDIO_WRAPPER: Func:setup_player, Line:167, MEM Total:4174464 Bytes, Inter:146392 Bytes, Dram:113536 Bytes

 I (16858) AUDIO_WRAPPER: esp_audio instance is:0x3f8165d0 I (16566,tid:3ffc6c34) lightduer_dcs_router.c( 283):namespace: ai.dueros.private.protocol I (16567,tid:3ffc6c34) lightduer_dcs_router.c( 283):namespace: ai.dueros.device_interface.screen_extended_card I (16581,tid:3ffc6c34) lightduer_dcs_router.c( 283):namespace: ai.dueros.device_interface.system I (16586,tid:3ffc6c34) lightduer_dcs_router.c( 283):namespace: ai.dueros.device_interface.voice_input I (16594,tid:3ffc6c34) lightduer_dcs_router.c( 283):namespace: ai.dueros.device_interface.voice_output I (16603,tid:3ffc6c34) lightduer_dcs_router.c( 283):namespace: ai.dueros.device_interface.speaker_controller I (16613,tid:3ffc6c34) lightduer_dcs_router.c( 283):namespace: ai.dueros.device_interface.audio_player I (16928) AUDIO_WRAPPER: duer_dcs_get_speaker_state E (16943) DUEROS: event: DUER_EVENT_STARTED I (16944) DUEROS: Dueros DUER_CMD_CONNECTED, duer_state:1 W (16640,tid:3ffc6c34) lightduer_events.c( 80):[lightduer_ca] <== event end = 400F0DF8, timespent = 197 I (16648,tid:3ffc6c34) lightduer_connagent.c( 212):add resource successfully!! I (16659,tid:3ffc6c34) lightduer_connagent.c( 212):add resource successfully!! W (16662,tid:3ffc6c34) lightduer_engine.c( 634):data cache has not sent, pending..., dcache_len:1, qcache_len:4 W (16674,tid:3ffc6c34) lightduer_system_info.c( 306):Undefined memory type, 0 E (16679,tid:3ffc6c34) lightduer_system_info.c( 389):Sys Info: Get disk info failed

ddummkopfer commented 5 years ago

你试着唤醒之后说 “天气” 或者 “播放音乐”,看有没有回应,你可以注意下dueros的两个函数: duer_dcs_speaker_handler(const char url) duer_dcs_audio_play_handler(const char url , const int offset) 看看有没有获取到 url?

jason-mao commented 5 years ago

@cc1227858751 这个问题怎么样了?有进展帮更新一下状态,感谢。

cc1227858751 commented 5 years ago

@cc1227858751 这个问题怎么样了?有进展帮更新一下状态,感谢。

不好意思,这个问题已经解决,谢谢!

jinshun0225 commented 5 years ago

@cc1227858751
我的和你有点相似 老是出现 W (16898,tid:3ffc6c34) lightduer_system_info.c( 306):Undefined memory type, 0

E (16903,tid:3ffc6c34) lightduer_system_info.c( 389):Sys Info: Get disk info failed 同意也出现过看门狗溢出过 你是怎么解决的 是什么原因? 我的出现上述情况 按键唤醒识别没问题 ,但是唤醒不了 alexa 唤醒不了 (menuconfig配置用这个唤醒)

TangHuanQiao commented 5 years ago

@cc1227858751 这个问题怎么样了?有进展帮更新一下状态,感谢。

不好意思,这个问题已经解决,谢谢!

请问一下可以分享一下是如何解决的吗?我也遇到这个问题,感谢

jason-mao commented 5 years ago

@cc1227858751 这个问题怎么样了?有进展帮更新一下状态,感谢。

不好意思,这个问题已经解决,谢谢!

请问一下可以分享一下是如何解决的吗?我也遇到这个问题,感谢

把你的问题log也贴出来一下吧

TangHuanQiao commented 5 years ago

@cc1227858751 这个问题怎么样了?有进展帮更新一下状态,感谢。

不好意思,这个问题已经解决,谢谢!

请问一下可以分享一下是如何解决的吗?我也遇到这个问题,感谢

把你的问题log也贴出来一下吧

@jason-mao 也是报错误 E (16903,tid:3ffc6c34) lightduer_system_info.c( 389):Sys Info: Get disk info failed, 请问楼上是怎么解决的解决后可以分享一下么?这个是log:

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:6076 load:0x40078000,len:8812 ho 0 tail 12 room 4 load:0x40080400,len:6380 entry 0x4008072c I (30) boot: ESP-IDF v3.2.2 2nd stage bootloader I (30) boot: compile time 19:24:33 I (30) boot: Enabling RNG early entropy source... I (34) boot: SPI Speed : 80MHz I (39) boot: SPI Mode : DIO I (43) boot: SPI Flash Size : 4MB I (47) boot: Partition Table: I (50) boot: ## Label Usage Type ST Offset Length I (58) boot: 0 nvs WiFi data 01 02 00009000 00006000 I (65) boot: 1 phy_init RF data 01 01 0000f000 00001000 I (73) boot: 2 factory factory app 00 00 00010000 00300000 I (80) boot: End of partition table I (84) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x6eb30 (453424) map I (223) esp_image: segment 1: paddr=0x0007eb58 vaddr=0x3ffb0000 size=0x014b8 ( 5304) load I (225) esp_image: segment 2: paddr=0x00080018 vaddr=0x400d0018 size=0x127b5c (1211228) map 0x400d0018: _flash_cache_start at ??:?

I (578) esp_image: segment 3: paddr=0x001a7b7c vaddr=0x3ffb14b8 size=0x02704 ( 9988) load I (581) esp_image: segment 4: paddr=0x001aa288 vaddr=0x40080000 size=0x00400 ( 1024) load 0x40080000: _WindowOverflow4 at I:/Train/ESP/msys32/home/Administrator/esp/esp-idf/components/freertos/xtensa_vectors.S:1779

I (585) esp_image: segment 5: paddr=0x001aa690 vaddr=0x40080400 size=0x1775c ( 96092) load I (639) boot: Loaded app from partition at offset 0x10000 I (639) boot: Disabling RNG early entropy source... I (640) spiram: Found 64MBit SPI RAM device I (645) spiram: SPI RAM mode: flash 80m sram 80m I (650) spiram: PSRAM initialized, cache is in low/high (2-core) mode. I (657) cpu_start: Pro cpu up. I (661) cpu_start: Starting app cpu, entry point is 0x40081524 0x40081524: call_start_cpu1 at I:/Train/ESP/msys32/home/Administrator/esp/esp-idf/components/esp32/cpu_start.c:246

I (0) cpu_start: App cpu up. I (1146) spiram: SPI SRAM memory test OK I (1146) heap_init: Initializing. RAM available for dynamic allocation: I (1146) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM I (1153) heap_init: At 3FFBB150 len 00024EB0 (147 KiB): DRAM I (1159) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM I (1165) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM I (1172) heap_init: At 40097B5C len 000084A4 (33 KiB): IRAM I (1178) cpu_start: Pro cpu start user code I (1183) spiram: Adding pool of 4096K of external SPI memory to heap allocator I (85) cpu_start: Starting scheduler on PRO CPU. I (0) cpu_start: Starting scheduler on APP CPU. I (86) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations I (127) DUEROS: ADF version is v2.0-beta1-47-gdf76962-dirty I (128) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3 I (132) gpio: GPIO[39]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3 W (167) PERIPH_TOUCH: _touch_init I (167) SDCARD: Trying to mount with base path=/sdcard I (215) SDCARD: CID name NCard!

W (641) WIFI_SERV: No wifi SSID stored! I (643) wifi: wifi driver task: 3ffcc3fc, prio:23, stack:3584, core=0 I (643) wifi: wifi firmware version: 693c7b6 I (645) wifi: config NVS flash: enabled I (648) wifi: config nano formating: disabled I (653) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE I (662) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE I (687) wifi: Init dynamic tx buffer num: 32 I (687) wifi: Init data frame dynamic rx buffer num: 32 I (687) wifi: Init management frame dynamic rx buffer num: 32 I (690) wifi: Init management short buffer num: 32 I (695) wifi: Init static tx buffer num: 16 I (699) wifi: Init static rx buffer size: 1600 I (703) wifi: Init static rx buffer num: 16 I (707) wifi: Init dynamic rx buffer num: 32 I (776) phy: phy_version: 4008, 544f89f, Jan 24 2019, 14:54:06, 0, 0 I (777) wifi: mode : sta (c4:4f:33:14:ec:f1) I (794) WIFI_SERV: WIFI_SERV_CMD_CONNECT I (861) gpio: GPIO[19]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3 E (861) gpio: gpio_install_isr_service(394): GPIO isr service already installed I (861) I2S: DMA Malloc info, datalen=blocksize=1200, dma_buf_count=3 I (874) I2S: DMA Malloc info, datalen=blocksize=1200, dma_buf_count=3 I (878) gpio: GPIO[21]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 I (883) I2S: APLL: Req RATE: 44100, real rate: 43945.238, BITS: 16, CLKM: 1, BCK_M: 8, MCLK: 11249981.000, SCLK: 1406247.625000, diva: 1, divb: 0 I (891) ES8388_DRIVER: init,out:02, in:00 I (905) LYRAT_V4_3: I2S0, MCLK output by GPIO0 I (915) AUDIO_PIPELINE: link el->rb, el:0x3f80780c, tag:i2s, rb:0x3f807adc I (916) ESP_AUDIO_TASK: media_ctrl_task running...,0x3f809b08 I (922) AUDIO_PIPELINE: link el->rb, el:0x3f8078fc, tag:filter, rb:0x3f809c80

I (936) AUDIO_ELEMENT: [i2s] Element task created I (943) AUDIO_ELEMENT: [filter] Element task created I (947) AUDIO_ELEMENT: [raw] Element task created I (953) AUDIO_PIPELINE: Func:audio_pipeline_run, Line:324, MEM Total:4280124 Bytes, Inter:181680 Bytes, Dram:147760 Bytes

I (965) wifi: n:1 0, o:1 0, ap:255 255, sta:1 0, prof:1 I (966) AUDIO_ELEMENT: [i2s] AEL_MSG_CMD_RESUME,state:1 I (971) wifi: state: init -> auth (b0) I (976) I2S_STREAM: AUDIO_STREAM_READER,Rate:48000,ch:2 I (985) wifi: state: auth -> assoc (0) I (988) 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 I (996) wifi: state: assoc -> run (10) I (965) AUDIO_PIPELINE: Pipeline started I (1010) DUEROS: Recorder has been created I (1016) REC_ENG: ESP SR Engine, chunksize is 480��� FRAME_SIZE:960, frequency:16000 I (1019) wifi: connected with TangPhone, channel 1 E (1023) REC_ENG: Recorder Engine Running ..., vad_window=9, wakeup=10000 ms, vad_off=800 ms, threshold=90 ms, sensitivity=0 I (1032) wifi: pm start, type: 1

I (1040) REC_ENG: state idle I (1009) AUDIO_ELEMENT: [filter] AEL_MSG_CMD_RESUME,state:1 I (1053) RSP_FILTER: sample rate of source data : 48000, channel of source data : 2, sample rate of destination data : 16000, channel of destination data : 1 ----------------------------- ESP Audio Platform ----------------------------- | | | ESP_AUDIO v1.2-dc23f7a | | Compile date: Aug 5 2019-15:37:00 |

I (1102) ESP_AUDIO_CTRL: Func:media_ctrl_create, Line:146, MEM Total:4261216 Bytes, Inter:166948 Bytes, Dram:133028 Bytes

I (1123) AUDIO_HAL: Codec mode is 3, Ctrl:1 W (1129) I2S: I2S driver already installed I (1130) LYRAT_V4_3: I2S0, MCLK output by GPIO0 I (1135) STAGEFRIGHTMP3_DECODER: MP3 init I (1145) AUDIO_WRAPPER: Func:setup_player, Line:155, MEM Total:4253024 Bytes, Inter:158664 Bytes, Dram:124744 Bytes

I (1150) AUDIO_WRAPPER: esp_audio instance is:0x3f809b08 I (1646) event: sta ip: 172.20.10.4, mask: 255.255.255.240, gw: 172.20.10.1 I (1647) WIFI_SERV: Got ip:172.20.10.4 W (1648) WIFI_SERV: STATE type:2, pdata:0x0, len:0 I (1653) DUEROS: PERIPH_WIFI_CONNECTED [192] I (1776,tid:3ffbc76c) lightduer_session.c( 44):random = 75933 E (1862) DUEROS: Recv Que DUER_CMD_LOGIN I (1863) DUEROS: duer_start, len:1470 {"configures":"{}","bindToken":"1751ae90b276dee5a502f35ccaa40f8b","coapPort":443,"token":"6duygJfcAizU8kW78a6QdsMwfQbERssQ","serverAddr":"device.iot.baidu.com","lwm2mPort":443,"uuid":"1dfd0000 00000a","rsaCaCrt":"-----BEGIN CERTIFICATE-----\nMIIDUDCCAjgCCQCmVPUErMYmCjANBgkqhkiG9w0BAQUFADBqMQswCQYDVQQGEwJD\nTjETMBEGA1UECAwKU29tZS1TdGF0ZTEOMAwGA1UECgwFYmFpZHUxGDAWBgNVBAMM\nDyouaW90LmJ haWR1LmNvbTEcMBoGCSqGSIb3DQEJARYNaW90QGJhaWR1LmNvbTAe\nFw0xNjAzMTEwMzMwNDlaFw0yNjAzMDkwMzMwNDlaMGoxCzAJBgNVBAYTAkNOMRMw\nEQYDVQQIDApTb21lLVN0YXRlMQ4wDAYDVQQKDAViYWlkdTEYMBYGA1UEAwwPKi5p\nb3QuY mFpZHUuY29tMRwwGgYJKoZIhvcNAQkBFg1pb3RAYmFpZHUuY29tMIIBIjAN\nBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtbhIeiN7pznzuMwsLKQj2xB02+51\nOvCJ5d116ZFLjecp9qtllqOfN7bm+AJa5N2aAHJtsetcTHMitY4dtGmOpw4dlGqx\ nluoz50kWJWQjVR+z6DLPnGE4uELOS8vbKHUoYPPQTT80eNVnl9S9h/l7DcjEAJYC\nIYJbf6+K9x+Ti9VRChvWcvgZQHMRym9j1g/7CKGMCIwkC+6ihkGD/XG40r7KRCyH\nbD53KnBjBO9FH4IL3rGlZWKWzMw3zC6RTS2ekfEsgAtYDvROKd4rNs+uDU9 xaBLO\ndXTl5uxgudH2VnVzWtj09OUbBtXcQFD2IhmOl20BrckYul+HEIMR0oDibwIDAQAB\nMA0GCSqGSIb3DQEBBQUAA4IBAQCzTTH91jNh/uYBEFekSVNg1h1kPSujlwEDDf/W\npjqPJPqrZvW0w0cmYsYibNDy985JB87MJMfJVESG/v0Y/YbvcnRoi 5gAenWXQNL4\nh2hf08A5wEQfLO/EaD1GTH3OIierKYZ6GItGrz4uFKHV5fTMiflABCdu37ALGjrA\nrIjwjxQG6WwLr9468hkKrWNG3dMBHKvmqO8x42sZOFRJMkqBbKzaBd1uW4xY5XwM\nS1QX56tVrgO0A3S+4dEg5uiLVN4YVP/Vqh4SMtYkL7ZZiZA xD9GtNnhRyFsWlC2r\nOVSdXs1ttZxEaEBGUl7tgsBte556BIvufZX+BXGyycVJdBu3\n-----END CERTIFICATE-----\n","macId":"","version":14489} I (1916,tid:3ffbc76c) lightduer_engine.c( 220):duer_engine_start, g_handler:3F80CAAC, length:1470, profile:3F80D690 W (2002) DUEROS: duer_callback: type:0, source:0x3f806b8c data:2, data_len:0 I (1919,tid:3ffbc76c) lightduer_ca_conf.c( 38): duer_conf_get_string: uuid = 1dfd000000000a I (1934,tid:3ffbc76c) lightduer_ca_conf.c( 38): duer_conf_get_string: serverAddr = device.iot.baidu.com I (1966,tid:3ffbc76c) baidu_ca_socket_adp.c( 134):DNS lookup succeeded. IP=163.177.151.84 I (2072,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) W (2072,tid:3ffbc76c) lightduer_events.c( 80):[lightduer_ca] <== event end = 400F9BB4, timespent = 157 I (3250,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) W (3250,tid:3ffbc76c) lightduer_events.c( 80):[lightduer_ca] <== event end = 400F9D48, timespent = 873 I (3258,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) I (3269,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) I (3275,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) I (3284,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) I (3291,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) I (3302,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) I (3308,tid:3ffbc76c) lightduer_engine.c( 220):duer_engine_start, g_handler:3F80CAAC, length:0, profile:00000000 I (3320,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) W (3924,tid:3ffbc76c) lightduer_coap.c( 532):duer_coap_nsdl_tx: sent = 0 I (3925,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) I (3936,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) I (3938,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) I (3946,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) I (3954,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) I (3964,tid:3ffbc76c) lightduer_connagent.c( 198):will start latter(DUER_ERR_TRANS_WOULD_BLOCK) I (4238,tid:3ffbc76c) lightduer_connagent.c( 177):connect started! I (4240,tid:3ffbc76c) lightduer_voice.c( 697):Mutex initializing I (4240,tid:3ffbc76c) lightduer_ds_log_cache.c( 67):no cache report E (4331) DUEROS: event: 0 I (4334) DUEROS: duer_dcs_init I (4254,tid:3ffbc76c) lightduer_dcs_router.c( 283):namespace: ai.dueros.private.protocol I (4262,tid:3ffbc76c) lightduer_dcs_router.c( 283):namespace: ai.dueros.device_interface.screen_extended_card I (4271,tid:3ffbc76c) lightduer_dcs_router.c( 283):namespace: ai.dueros.device_interface.system I (4279,tid:3ffbc76c) lightduer_dcs_router.c( 283):namespace: ai.dueros.device_interface.voice_input I (4287,tid:3ffbc76c) lightduer_dcs_router.c( 283):namespace: ai.dueros.device_interface.voice_output I (4296,tid:3ffbc76c) lightduer_dcs_router.c( 283):namespace: ai.dueros.device_interface.speaker_controller I (4306,tid:3ffbc76c) lightduer_dcs_router.c( 283):namespace: ai.dueros.device_interface.audio_player I (4402) AUDIO_WRAPPER: duer_dcs_get_speaker_state E (4410) DUEROS: event: DUER_EVENT_STARTED I (4410) DUEROS: Dueros DUER_CMD_CONNECTED, duer_state:2 W (4325,tid:3ffbc76c) lightduer_events.c( 80):[lightduer_ca] <== event end = 400F9D48, timespent = 91 I (4340,tid:3ffbc76c) lightduer_connagent.c( 212):add resource successfully!! I (4348,tid:3ffbc76c) lightduer_connagent.c( 212):add resource successfully!! W (4417) DUEROS: duer_callback: type:0, source:0x3f806b8c data:3, data_len:0 W (4354,tid:3ffbc76c) lightduer_engine.c( 634):data cache has not sent, pending..., dcache_len:1, qcache_len:4 W (4375,tid:3ffbc76c) lightduer_system_info.c( 306):Undefined memory type, 0

jason-mao commented 5 years ago

@cc1227858751 那句log不影响,最多算个warning信息。你的log看起来都是正常的。你能通过hi,乐鑫唤醒吗?

cc1227858751 commented 5 years ago

@cc1227858751 那句log不影响,最多算个warning信息。你的log看起来都是正常的。你能通过hi,乐鑫唤醒吗?

hi 乐鑫可以唤醒 alxa不可以

TangHuanQiao commented 5 years ago

@cc1227858751 那句log不影响,最多算个warning信息。你的log看起来都是正常的。你能通过hi,乐鑫唤醒吗?

hi 乐鑫可以唤醒 alxa不可以

可以用语音hi 乐鑫唤醒,但是说播放音乐 新闻 天气 任何反应都没有,唤醒后也没有声音应答。灯亮一会儿就休眠了,可以继续唤醒。 和这个贴子楼主的问题一样:dueros已经连接,语音可以唤醒,但是没有回应。看楼上他说解决了,但是没有在这里分享解决办法。郁闷中

jason-mao commented 5 years ago

@cc1227858751 你登陆你的百度开发者账号,在【设备控制台】找到你的设备,然后进入编译,在【运行日志】里面是否可以找到你这次的语音交互内容呢?

jason-mao commented 5 years ago

@cc1227858751 另外把你唤醒然后询问天气这样的 串口打印发出来一下

TangHuanQiao commented 5 years ago

@cc1227858751 另外把你唤醒然后询问天气这样的 串口打印发出来一下

解决了, 解决方法是,重新copy一份例程, 重新编译烧录。目前只有小度音乐没有授权,新闻天气故事可以试用