页次: 1
dUreo这个用例你修改了什么吗?@jinyewuyu1,这个用例我测试是通过的
我什么都没改 直接用官方的编译的。
不知道是不是编译选项哪里不对?
我也觉得官方应该不会错的,但是就是不行。
方便的话,能不能把你的程序打包给我测试下? 邮箱caihong0424@163.com
jinyewuyu1 说:这两个帖子已经参考过了。 我用的ESP32-LyraT V4.3。看到别人貌似编译成功可以用。不知道我这里为啥就不行了。
SD卡录音程序正常吗?
https://github.com/espressif/esp-adf/tree/master/examples/recorder/pipeline_wav_sdcard
测试了 录音的程序pipeline_wav_sdcard是正常的。另外 pipeline_baidu_speech_mp3 也是正常的。都可以工作。
这两个帖子已经参考过了。 我用的ESP32-LyraT V4.3。看到别人貌似编译成功可以用。不知道我这里为啥就不行了。
I (17169) AUDIO_PIPELINE: Pipeline started
input and output channel must be 1 or 2 channelE (17179) RSP_FILTER: Allocate me
mory failed,line:57
W (17030,tid:3ffbd2e0) lightduer_events.c( 80): [lightduer_ca] <== event end =
0x40130484, timespent = 337
0x40130484: duer_engine_data_available at ??:?E (17189) AUDIO_ELEMENT: [resample] AEL_STATUS_ERROR_OPEN
I (17205) RSP_FILTER: rsp_filter_close
Guru Meditation Error: Core 0 panic'ed (LoadProhibited)
. Exception was unhandled.看下粗体部分发生了什么?
分配内存出错?
确实是内存出错。查了代码,如下红色部分。但是未找到该函数的调用处,估计是未开源部分代码调用了。所以不清楚这里为啥会出错。按说官方的软件,应该编译后可以用不至于出错才对。不确定是不是哪里配置不对。不知道有没人试过可用的。发个教程出来学习下?
static esp_err_t rsp_filter_open(audio_element_handle_t self)
{
rsp_filter_t *filter = (rsp_filter_t *)audio_element_getdata(self);
int out_buf_size = 0;
int in_buf_size = 0;
int resample_mode = 0;
if (filter->type == AUDIO_CODEC_TYPE_DECODER) {
audio_element_info_t info = {0};
audio_element_getinfo(self, &info);
if (info.sample_rates && info.channels) {
filter->src_rate = info.sample_rates;
filter->src_ch = info.channels;
}
resample_mode = 0;
in_buf_size = RESAMPLING_POINT_NUM;
filter->rsp_hd = resample_open(PCM_INOUT_NUM_RESTRICT, filter->src_rate,
filter->dest_rate, filter->src_ch,
filter->dest_ch, 0, resample_mode, &in_buf_size, &out_buf_size);
filter->out_buf = audio_malloc(out_buf_size * sizeof(short) * filter->dest_ch);
if (NULL == filter->out_buf) {
ESP_LOGE(TAG, "Allocate memory failed,line:%d", __LINE__);
return ESP_ERR_NO_MEM;
}
错误內容如下:编译下载都不会出错,从信息看wifi连接正常,设备连接也连接了。但是只要一按rec键,系统就会崩溃。最后自动进入gdb模式。
有没有人遇到过,是什么情况?
Administrator@jikeli MSYS /home/esp/esp-adf/examples/dueros
$ make flash monitor
/home/esp/esp-adf//esp-idf/make/project.mk:56: esp-idf build system only support s MSYS2 in "MINGW32" mode. Consult the ESP-IDF documentation for details.
/home/esp/esp-adf/esp-idf/make/project.mk:56: esp-idf build system only supports MSYS2 in "MINGW32" mode. Consult the ESP-IDF documentation for details.
Flashing binaries to serial port COM10 (app at offset 0x10000)...
esptool.py v2.1
Connecting........_____....._
Chip is ESP32D0WDQ6 (revision (unknown 0xe))
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Compressed 20096 bytes to 12240...
Wrote 20096 bytes (12240 compressed) at 0x00001000 in 1.1 seconds (effective 146 .7 kbit/s)...
Hash of data verified.
Compressed 1395936 bytes to 851694...
Wrote 1395936 bytes (851694 compressed) at 0x00010000 in 75.4 seconds (effective 148.1 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 83...
Wrote 3072 bytes (83 compressed) at 0x00008000 in 0.0 seconds (effective 1575.4 kbit/s)...
Hash of data verified.
Leaving...
Hard resetting...
MONITOR
--- idf_monitor on COM10 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
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:5960
load:0x40078000,len:0
ho 12 tail 0 room 4
load:0x40078000,len:14032
entry 0x40078ff0
I (30) boot: ESP-IDF v3.0.1-dirty 2nd stage bootloader
I (30) boot: compile time 14:33:40
I (32) boot: Enabling RNG early entropy source...
I (35) qio_mode: Enabling QIO for flash chip GD
I (40) boot: SPI Speed : 80MHz
I (45) boot: SPI Mode : QIO
I (49) boot: SPI Flash Size : 4MB
I (53) boot: Partition Table:
I (56) boot: ## Label Usage Type ST Offset Length
I (63) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (71) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (78) boot: 2 factory factory app 00 00 00010000 00200000
I (86) boot: End of partition table
I (90) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x45508 (283
912) map
I (174) esp_image: segment 1: paddr=0x00055530 vaddr=0x3ffb0000 size=0x038ac ( 1
4508) load
I (178) esp_image: segment 2: paddr=0x00058de4 vaddr=0x40080000 size=0x00400 (
1024) load
0x40080000: _WindowOverflow4 at E:/esp/esp32_win32_msys2_environment_and_toolcha
in-20180110/msys32/home/esp/esp-adf/esp-idf/components/freertos/xtensa_vectors.S
:1685
I (181) esp_image: segment 3: paddr=0x000591ec vaddr=0x40080400 size=0x06e24 ( 2
8196) load
I (198) esp_image: segment 4: paddr=0x00060018 vaddr=0x400d0018 size=0xfa5d8 (10
25496) map
0x400d0018: _flash_cache_start at ??:?
I (469) esp_image: segment 5: paddr=0x0015a5f8 vaddr=0x40087224 size=0x0a6b8 ( 4
2680) load
0x40087224: i2c_hw_fsm_reset at E:/esp/esp32_win32_msys2_environment_and_toolcha
in-20180110/msys32/home/esp/esp-adf/esp-idf/components/driver/i2c.c:1018
I (483) esp_image: segment 6: paddr=0x00164cb8 vaddr=0x400c0000 size=0x00000 (
0) load
I (494) boot: Loaded app from partition at offset 0x10000
I (494) boot: Disabling RNG early entropy source...
I (495) spiram: SPI RAM mode: flash 80m sram 80m
I (500) spiram: PSRAM initialized, cache is in low/high (2-core) mode.
I (507) cpu_start: Pro cpu up.
I (511) cpu_start: Starting app cpu, entry point is 0x40081420
0x40081420: call_start_cpu1 at E:/esp/esp32_win32_msys2_environment_and_toolchai
n-20180110/msys32/home/esp/esp-adf/esp-idf/components/esp32/cpu_start.c:215
I (0) cpu_start: App cpu up.
I (973) spiram: SPI SRAM memory test OK
I (974) heap_init: Initializing. RAM available for dynamic allocation:
I (974) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (980) heap_init: At 3FFBB4E8 len 00024B18 (146 KiB): DRAM
I (986) heap_init: At 3FFE0440 len 00003BC0 (14 KiB): D/IRAM
I (992) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (999) heap_init: At 400918DC len 0000E724 (57 KiB): IRAM
I (1005) cpu_start: Pro cpu start user code
I (1010) spiram: Adding pool of 4096K of external SPI memory to heap allocator
I (1018) spiram: Reserving pool of 32K of internal memory for DMA/internal alloc
ations
I (144) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (172) DUEROS: ADF version is v1.0-beta1-15-g4caaf74-dirty
W (172) ESP_PERIPH: Peripherals have been initialized already
I (174) gpio: GPIO[36]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldo
wn: 0| Intr:3
I (183) gpio: GPIO[39]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldo
wn: 0| Intr:3
I (202) SDCARD: Trying to mount with base path=/sdcard
I (259) SDCARD: CID name 00000!
I (335,tid:3ffbd2e0) lightduer_session.c( 44): random = 10000
I (493) gpio: GPIO[19]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldo
wn: 0| Intr:3
E (497) gpio: gpio_install_isr_service(406): GPIO isr service already installed
I (502) wifi: wifi firmware version: bffcf7f
I (509) wifi: config NVS flash: enabled
I (512) wifi: config nano formating: enabled
I (515) ES8388_DRIVER: init,out:02, in:00
I (516) system_api: Base MAC address is not set, read default base MAC address f
rom BLK0 of EFUSE
I (527) gpio: GPIO[21]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldo
wn: 0| Intr:0
I (531) system_api: Base MAC address is not set, read default base MAC address f
rom BLK0 of EFUSE
I (540) AUDIO_HAL: Codec mode is 1, Ctrl:1
I (564) wifi: Init dynamic tx buffer num: 32
I (564) I2S: DMA Malloc info, datalen=blocksize=1200, dma_buf_count=3
I (564) wifi: Init data frame dynamic rx buffer num: 32
I (565) I2S: DMA Malloc info, datalen=blocksize=1200, dma_buf_count=3
I (570) wifi: Init management frame dynamic rx buffer num: 32
I (579) I2S: APLL: Req RATE: 44100, real rate: 43945.016, BITS: 16, CLKM: 1, BCK
: 8, MCLK: 11289966.924, SCLK: 1406240.500000, diva: 1, divb: 0
I (583) wifi: Init static tx buffer num: 10
I (600) AUDIO_ELEMENT: [i2s] Element task created
I (601) wifi: wifi driver task: 3ffc3348, prio:23, stack:3584
I (611) wifi: Init static rx buffer num: 10
I (615) wifi: Init dynamic rx buffer num: 32
I (619) wifi: wifi power manager task: 0x3ffbddcc prio: 21 stack: 2048
I (648) phy: phy_version: 3662, 711a97c, May 9 2018, 14:29:06, 0, 0
I (649) wifi: mode : sta (b4:e6:2d:d3:0e:bd)
I (652) AUDIO_ELEMENT: [filter] Element task created
I (654) AUDIO_ELEMENT: [raw] Element task created
I (659) AUDIO_PIPELINE: Func:audio_pipeline_run, Line:260, MEM Total:4302684 Byt
es, Inter:218988 Bytes, Dram:159852 Bytes
I (671) AUDIO_PIPELINE: Pipeline started
I (671) AUDIO_ELEMENT: [i2s] AEL_MSG_CMD_RESUME,state:1
I (676) DUEROS: Recorder has been created
I (682) I2S_STREAM: AUDIO_STREAM_READER,Rate:48000,ch:2
I (687) REC_ENG: Recorder Engine Running ..., vad=6, wakeup=2000 ms, sensitivity
=3
I (694) I2S: APLL: Req RATE: 48000, real rate: 47999.789, BITS: 16, CLKM: 1, BCK
: 8, MCLK: 12292917.167, SCLK: 1535993.250000, diva: 1, divb: 0
I (701) REC_ENG: state idle
I (671) AUDIO_ELEMENT: [filter] AEL_MSG_CMD_RESUME,state:1
I (729) RSP_FILTER: rsp_filter_open, encoder, src:48000,2,dest:16000,1,buf_sz:62
00, in_pcm:6192
I (770) wifi: n:1 0, o:1 0, ap:255 255, sta:1 0, prof:1
I (1455) wifi: state: init -> auth (b0)
I (1488) wifi: state: auth -> assoc (0)
I (1523) wifi: state: assoc -> run (10)
I (1776) wifi: connected with Xiaomi_ljk, channel 1
I (3173) event: sta ip: 192.168.31.194, mask: 255.255.255.0, gw: 192.168.31.1
I (3174) DUEROS: PERIPH_WIFI_CONNECTED [446]
E (3176) DUEROS: Recv Que DUER_CMD_LOGIN
I (3180) DUEROS: duer_start, len:1470
{"configures":"{}","bindToken":"da8fc4e19adca14c8894e8b42b954d6d","coapPort":443
,"token":"ceUWG2L2zvCQbaM1ha44BHNBFAJ7YY1c","serverAddr":"device.iot.baidu.com",
"lwm2mPort":443,"uuid":"17c10000000001","rsaCaCrt":"-----BEGIN CERTIFICATE-----\
nMIIDUDCCAjgCCQCmVPUErMYmCjANBgkqhkiG9w0BAQUFADBqMQswCQYDVQQGEwJD\nTjETMBEGA1UEC
AwKU29tZS1TdGF0ZTEOMAwGA1UECgwFYmFpZHUxGDAWBgNVBAMM\nDyouaW90LmJhaWR1LmNvbTEcMBo
GCSqGSIb3DQEJARYNaW90QGJhaWR1LmNvbTAe\nFw0xNjAzMTEwMzMwNDlaFw0yNjAzMDkwMzMwNDlaM
GoxCzAJBgNVBAYTAkNOMRMw\nEQYDVQQIDApTb21lLVN0YXRlMQ4wDAYDVQQKDAViYWlkdTEYMBYGA1U
EAwwPKi5p\nb3QuYmFpZHUuY29tMRwwGgYJKoZIhvcNAQkBFg1pb3RAYmFpZHUuY29tMIIBIjAN\nBgk
qhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtbhIeiN7pznzuMwsLKQj2xB02+51\nOvCJ5d116ZFLjecp9
qtllqOfN7bm+AJa5N2aAHJtsetcTHMitY4dtGmOpw4dlGqx\nluoz50kWJWQjVR+z6DLPnGE4uELOS8v
bKHUoYPPQTT80eNVnl9S9h/l7DcjEAJYC\nIYJbf6+K9x+Ti9VRChvWcvgZQHMRym9j1g/7CKGMCIwkC
+6ihkGD/XG40r7KRCyH\nbD53KnBjBO9FH4IL3rGlZWKWzMw3zC6RTS2ekfEsgAtYDvROKd4rNs+uDU9
xaBLO\ndXTl5uxgudH2VnVzWtj09OUbBtXcQFD2IhmOl20BrckYul+HEIMR0oDibwIDAQAB\nMA0GCSq
GSIb3DQEBBQUAA4IBAQCzTTH91jNh/uYBEFekSVNg1h1kPSujlwEDDf/W\npjqPJPqrZvW0w0cmYsYib
NDy985JB87MJMfJVESG/v0Y/YbvcnRoi5gAenWXQNL4\nh2hf08A5wEQfLO/EaD1GTH3OIierKYZ6GIt
Grz4uFKHV5fTMiflABCdu37ALGjrA\nrIjwjxQG6WwLr9468hkKrWNG3dMBHKvmqO8x42sZOFRJMkqBb
KzaBd1uW4xY5XwM\nS1QX56tVrgO0A3S+4dEg5uiLVN4YVP/Vqh4SMtYkL7ZZiZAxD9GtNnhRyFsWlC2
r\nOVSdXs1ttZxEaEBGUl7tgsBte556BIvufZX+BXGyycVJdBu3\n-----END CERTIFICATE-----\n
","macId":"","version":10572}
I (3154,tid:3ffbd2e0) lightduer_engine.c( 174): duer_engine_start, g_handler:0x3
f806aa0, length:1470, profile:0x3f80f45c
I (3165,tid:3ffbd2e0) lightduer_ca_conf.c( 38): duer_conf_get_string: uuid
= 17c10000000001
I (3173,tid:3ffbd2e0) lightduer_ca_conf.c( 38): duer_conf_get_string: serve
rAddr = device.iot.baidu.com
I (3206,tid:3ffbd2e0) baidu_ca_socket_adp.c( 116): DNS lookup succeeded. IP=183.
232.232.81
I (3222,tid:3ffbd2e0) lightduer_connagent.c( 169): will start latter(DUER_ERR_TR
ANS_WOULD_BLOCK)
W (3222,tid:3ffbd2e0) lightduer_events.c( 80): [lightduer_ca] <== event end = 0
x40130334, timespent = 68
0x40130334: duer_engine_start at ??:?
I (3898,tid:3ffbd2e0) lightduer_connagent.c( 169): will start latter(DUER_ERR_TR
ANS_WOULD_BLOCK)
W (3898,tid:3ffbd2e0) lightduer_events.c( 80): [lightduer_ca] <== event end = 0
x40130484, timespent = 578
0x40130484: duer_engine_data_available at ??:?
I (3906,tid:3ffbd2e0) lightduer_connagent.c( 169): will start latter(DUER_ERR_TR
ANS_WOULD_BLOCK)
I (3914,tid:3ffbd2e0) lightduer_connagent.c( 169): will start latter(DUER_ERR_TR
ANS_WOULD_BLOCK)
I (3927,tid:3ffbd2e0) lightduer_connagent.c( 169): will start latter(DUER_ERR_TR
ANS_WOULD_BLOCK)
I (3930,tid:3ffbd2e0) lightduer_connagent.c( 169): will start latter(DUER_ERR_TR
ANS_WOULD_BLOCK)
I (3939,tid:3ffbd2e0) lightduer_connagent.c( 169): will start latter(DUER_ERR_TR
ANS_WOULD_BLOCK)
I (3947,tid:3ffbd2e0) lightduer_connagent.c( 169): will start latter(DUER_ERR_TR
ANS_WOULD_BLOCK)
I (3956,tid:3ffbd2e0) lightduer_connagent.c( 169): will start latter(DUER_ERR_TR
ANS_WOULD_BLOCK)
I (3964,tid:3ffbd2e0) lightduer_engine.c( 174): duer_engine_start, g_handler:0x3
f806aa0, length:0, profile:0x0
I (3974,tid:3ffbd2e0) lightduer_connagent.c( 169): will start latter(DUER_ERR_TR
ANS_WOULD_BLOCK)
I (3983,tid:3ffbd2e0) lightduer_connagent.c( 169): will start latter(DUER_ERR_TR
ANS_WOULD_BLOCK)
I (3991,tid:3ffbd2e0) lightduer_connagent.c( 169): will start latter(DUER_ERR_TR
ANS_WOULD_BLOCK)
I (4000,tid:3ffbd2e0) lightduer_connagent.c( 169): will start latter(DUER_ERR_TR
ANS_WOULD_BLOCK)
I (4008,tid:3ffbd2e0) lightduer_connagent.c( 169): will start latter(DUER_ERR_TR
ANS_WOULD_BLOCK)
I (4017,tid:3ffbd2e0) lightduer_connagent.c( 169): will start latter(DUER_ERR_TR
ANS_WOULD_BLOCK)
I (4125,tid:3ffbd2e0) lightduer_connagent.c( 148): connect started!
I (4126,tid:3ffbd2e0) lightduer_voice.c( 465): Mutex initializing
I (4126,tid:3ffbd2e0) lightduer_ds_log_cache.c( 67): no cache report
E (4290) DUEROS: event: 0
I (4293) AUDIO_WRAPPER: duer_dcs_init
I (4298) AUDIO_HAL: Codec mode is 2, Ctrl:1
----------------------------- ESP Audio Platform -----------------------------
| |
I (4311) ESP_AUDIO_TASK: media_ctrl_task running...,0x3f80f4dc
| ESP_AUDIO v1.0-rc1 |
| Compile date: Jun 29 2018-14:40:37 |
------------------------------------------------------------------------------
I (4344) ESP_AUDIO_CTRL: Func:media_ctrl_create, Line:144, MEM Total:4236500 Byt
es, Inter:204036 Bytes, Dram:144900 Bytes
W (4356) I2S: I2S driver already installed
W (4361) I2S: I2S driver already installed
I (4366) MP3_DECODER: MP3 init
I (4372) AUDIO_WRAPPER: Func:setup_player, Line:167, MEM Total:4223152 Bytes, In
ter:193468 Bytes, Dram:134332 Bytes
I (4381) AUDIO_WRAPPER: esp_audio instance is:0x3f80f4dc
I (4389) AUDIO_WRAPPER: duer_dcs_get_speaker_state
E (4396) DUEROS: event: DUER_EVENT_STARTED
I (4396) DUEROS: Dueros DUER_CMD_CONNECTED, duer_state:1
W (4240,tid:3ffbd2e0) lightduer_events.c( 80): [lightduer_ca] <== event end = 0
x40130484, timespent = 116
0x40130484: duer_engine_data_available at ??:?
I (4254,tid:3ffbd2e0) lightduer_connagent.c( 183): add resource successfully!!
I (4263,tid:3ffbd2e0) lightduer_connagent.c( 183): add resource successfully!!
W (4272,tid:3ffbd2e0) lightduer_system_info.c( 304): Undefined memory type, 0
E (4275,tid:3ffbd2e0) lightduer_system_info.c( 387): Sys Info: Get disk info fai
led
I (4523) wifi: pm start, type:0
I (14627) DUEROS: PERIPH_NOTIFY_KEY_REC
I (14627) REC_ENG: Recorder trigger start
I (14643) DUEROS: --- rec_engine_cb --- REC_EVENT_WAKEUP_START
I (14644) DUEROS: Recv Que DUER_CMD_START
I (14647) AUDIO_WRAPPER: duer_dcs_get_speaker_state
I (15399) DUEROS: PERIPH_NOTIFY_KEY_REC_QUIT
I (16643) REC_ENG: Wakeup time is out
I (16652) REC_ENG: Detect suspend, wakeup:0, flag:1
I (16652) DUEROS: Dueros DUER_CMD_STOP
I (16653) DUEROS: --- rec_engine_cb --- REC_EVENT_WAKEUP_END
I (16658) REC_ENG: state idle
I (16593,tid:3ffbd2e0) lightduer_dcs_router.c( 449): Directive name: StopListen
I (16751) AUDIO_WRAPPER: stop_listen, close mic
I (16705,tid:3ffbd2e0) lightduer_dcs_router.c( 449): Directive name: Speak
I (16865) AUDIO_WRAPPER: Playing speak: [url]http://res.iot.baidu.com:80/api/v1/tts/l[/url]
kIvpb_YPSYZUu3ilgx_d-upXM0bAXXo7psSAfr6Yxh7HqIdrgg3C8hS9QeXAqDhohO9yL1jpBQNedHjf
TW1UXt6B3h7IkqPWfMbtHcE6EQ.mp3
I (16878) ESP_AUDIO_CTRL: Func:media_ctrl_play, Line:301, MEM Total:4184412 Byte
s, Inter:192496 Bytes, Dram:133360 Bytes
field_set: 0xf, port: 80
field_data[0]: off: 0, len: 4, part: http
field_data[1]: off: 7, len: 17, part: res.iot.baidu.com
field_data[2]: off: 25, len: 2, part: 80
field_data[3]: off: 27, len: 123, part: /api/v1/tts/lkIvpb_YPSYZUu3ilgx_
d-upXM0bAXXo7psSAfr6Yxh7HqIdrgg3C8hS9QeXAqDhohO9yL1jpBQNedHjfTW1UXt6B3h7IkqPWfMb
tHcE6EQ.mp3
field_data[4]: unset
field_data[5]: unset
field_data[6]: unset
I (16927) ESP_AUDIO_CTRL: Request_CMD_Queue CMD:0, Available:5
I (16931) ESP_AUDIO_CTRL: Func:media_ctrl_play, Line:398, MEM Total:4183596 Byte
s, Inter:192332 Bytes, Dram:133196 Bytes
I (16932) ESP_AUDIO_TASK: It's a decoder.URI:http://res.iot.baidu.com:80/api/v1/
tts/lkIvpb_YPSYZUu3ilgx_d-upXM0bAXXo7psSAfr6Yxh7HqIdrgg3C8hS9QeXAqDhohO9yL1jpBQN
edHjfTW1UXt6B3h7IkqPWfMbtHcE6EQ.mp3
I (16961) ESP_AUDIO_TASK: 1.IN:[http],CODEC:[mp3],FILTER:[NULL],OUT:[iis],RESAMP
LE:[48000]
I (16970) ESP_AUDIO_TASK: 2.Handles,IN:0x3f80f938,CODEC:0x3f819758,FILTER:0x3f81
a890,OUT:0x3f8193d0
I (16979) ESP_AUDIO_TASK: 2.1 Update all pipelines
I (16993) ESP_AUDIO_TASK: in_rb:0x3f81a578,filter_rb:0x3f81b948,out_rb:0x3f81a5b
4
I (16994) ESP_AUDIO_TASK: 3. Previous starting...
I (16999) AUDIO_ELEMENT: [http] Element task created
I (17004) AUDIO_ELEMENT: [mp3] Element task created
I (17009) AUDIO_ELEMENT: [mp3] AEL_MSG_CMD_RESUME,state:1
I (17016) MP3_DECODER: MP3 opened
I (17010) AUDIO_ELEMENT: [iis] Element task created
I (17025) AUDIO_ELEMENT: [iis] AEL_MSG_CMD_RESUME,state:1
I (17031) I2S_STREAM: AUDIO_STREAM_WRITER
I (17010) AUDIO_ELEMENT: [http] AEL_MSG_CMD_RESUME,state:1
I (17135) MP3_DECODER: I2S setup: sample_rate = 16000 : channels = 1
I (17136) ESP_AUDIO_CTRL: Request_CMD_Queue CMD:1, Available:5
I (17137) ESP_AUDIO_TASK: Send MEDIA_CTRL_EVT_PLAY, line:525
I (17144) ESP_AUDIO_TASK: MEDIA_CTRL_EVT_PLAY, status:0
I (17155) AUDIO_ELEMENT: [resample] Element task created
I (17156) AUDIO_PIPELINE: Func:audio_pipeline_run, Line:260, MEM Total:4084508 B
ytes, Inter:165172 Bytes, Dram:106036 Bytes
I (17168) AUDIO_ELEMENT: [resample] AEL_MSG_CMD_RESUME,state:1
I (17169) AUDIO_PIPELINE: Pipeline started
input and output channel must be 1 or 2 channelE (17179) RSP_FILTER: Allocate me
mory failed,line:57
W (17030,tid:3ffbd2e0) lightduer_events.c( 80): [lightduer_ca] <== event end =
0x40130484, timespent = 337
0x40130484: duer_engine_data_available at ??:?
E (17189) AUDIO_ELEMENT: [resample] AEL_STATUS_ERROR_OPEN
I (17205) RSP_FILTER: rsp_filter_close
Guru Meditation Error: Core 0 panic'ed (LoadProhibited)
. Exception was unhandled.
Register dump:
PC : 0x401531d3 PS : 0x00060a30 A0 : 0x80152355 A1 : 0x3f
fe6020
0x401531d3: resample_close at /Users/maojianxin/duros/esp-adf-libs-source-dev/es
p_codec/./resample/resample.c:602
A2 : 0x00000000 A3 : 0x00000003 A4 : 0x3f41d795 A5 : 0x3f
fb6c34
A6 : 0x00000003 A7 : 0x3ffb6bb8 A8 : 0x8008568d A9 : 0x3f
fe5fb0
A10 : 0x00000032 A11 : 0x3ffe61e4 A12 : 0x3ffe5ff0 A13 : 0x00
00000c
A14 : 0x00000001 A15 : 0x00000000 SAR : 0x00000004 EXCCAUSE: 0x00
00001c
EXCVADDR: 0x00000008 LBEG : 0x40091071 LEND : 0x40091081 LCOUNT : 0xff
fffffd
0x40091071: strlen at /home/jeroen/esp8266/esp32/newlib_xtensa-2.2.0-bin/newlib_
xtensa-2.2.0/xtensa-esp32-elf/newlib/libc/machine/xtensa/../../../../.././newlib
/libc/machine/xtensa/strlen.S:84
0x40091081: strlen at /home/jeroen/esp8266/esp32/newlib_xtensa-2.2.0-bin/newlib_
xtensa-2.2.0/xtensa-esp32-elf/newlib/libc/machine/xtensa/../../../../.././newlib
/libc/machine/xtensa/strlen.S:96
Backtrace: 0x401531d3:0x3ffe6020 0x40152352:0x3ffe6040 0x4012be5f:0x3ffe6060 0x4
012d959:0x3ffe6090 0x4012c5cc:0x3ffe60d0
0x401531d3: resample_close at /Users/maojianxin/duros/esp-adf-libs-source-dev/es
p_codec/./resample/resample.c:602
0x40152352: rsp_filter_close at E:/esp/esp32_win32_msys2_environment_and_toolcha
in-20180110/msys32/home/esp/esp-adf/components/esp-adf-libs/esp_codec/filter_res
ample.c:97
0x4012be5f: audio_element_on_cmd at E:/esp/esp32_win32_msys2_environment_and_too
lchain-20180110/msys32/home/esp/esp-adf/components/audio_pipeline/audio_element.
c:681
0x4012d959: audio_event_iface_waiting_cmd_msg at E:/esp/esp32_win32_msys2_enviro
nment_and_toolchain-20180110/msys32/home/esp/esp-adf/components/audio_pipeline/a
udio_event_iface.c:243 (discriminator 1)
0x4012c5cc: audio_element_task at E:/esp/esp32_win32_msys2_environment_and_toolc
hain-20180110/msys32/home/esp/esp-adf/components/audio_pipeline/audio_element.c:
681
Entering gdb stub now.
$T0b#e6GNU gdb (crosstool-NG crosstool-ng-1.22.0-80-g6c4433a5) 7.10
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <[url]http://gnu.org/licenses/gpl.html[/url]>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "--host=i686-host_pc-mingw32 --target=xtensa-esp32-el
f".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<[url]http://www.gnu.org/software/gdb/bugs/[/url]>.
Find the GDB manual and other documentation resources online at:
<[url]http://www.gnu.org/software/gdb/documentation/[/url]>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from E:/esp/esp32_win32_msys2_environment_and_toolchain-20180110
/msys32/home/esp/esp-adf/examples/dueros/build/esp_dueros.elf...done.
COM10: No such file or directory.
(gdb)
页次: 1