DLNA works bad at ESP32-Lyrat V4.3

Mike.fu
Posts: 3
Joined: Mon Nov 02, 2020 7:58 am

DLNA works bad at ESP32-Lyrat V4.3

Postby Mike.fu » Mon Nov 02, 2020 8:12 am

Hello,
I have a board ESP32-Lyrat V4.3 and I tried to flash with the dlna example but it worked very bad .
It's difficult to connect with ESP32-Lyrat V4.3 board DLNA, and song play delay too long time. The during logs which I got during dlna works. Anyone can help me? Thanks in advance!

Note that I work at esp-adf with master branch 999d825 Merge branch 'bugfix/skip_not_current_sip_session' into 'master'
and esp_idf is v4.1
======================================================================
rst:0x1 (POWERON_RESET),boot:0x13 (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:0x13 (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:0x3fff0030,len:4
load:0x3fff0034,len:6976
ho 0 tail 12 room 4
load:0x40078000,len:13556
load:0x40080400,len:3944
0x40080400: _init at ??:?

entry 0x40080688
I (31) boot: ESP-IDF v4.1 2nd stage bootloader
I (31) boot: compile time 15:15:35
I (31) boot: chip revision: 1
I (34) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (41) boot.esp32: SPI Speed : 80MHz
I (45) boot.esp32: SPI Mode : DIO
I (50) boot.esp32: SPI Flash Size : 4MB
I (54) boot: Enabling RNG early entropy source...
I (60) boot: Partition Table:
I (63) boot: ## Label Usage Type ST Offset Length
I (71) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (78) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (86) boot: 2 factory factory app 00 00 00010000 00200000
I (93) boot: End of partition table
I (97) boot_comm: chip revision: 1, min. application chip revision: 0
I (104) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x45d2c (285996) map
I (216) esp_image: segment 1: paddr=0x00055d54 vaddr=0x3ffb0000 size=0x037d4 ( 14292) load
I (222) esp_image: segment 2: paddr=0x00059530 vaddr=0x40080000 size=0x00404 ( 1028) load
0x40080000: _WindowOverflow4 at C:/Users/mike/Desktop/esp-idf/components/freertos/xtensa_vectors.S:1778

I (223) esp_image: segment 3: paddr=0x0005993c vaddr=0x40080404 size=0x066dc ( 26332) load
I (243) esp_image: segment 4: paddr=0x00060020 vaddr=0x400d0020 size=0xd5d00 (875776) map
0x400d0020: _stext at ??:?

I (556) esp_image: segment 5: paddr=0x00135d28 vaddr=0x40086ae0 size=0x13508 ( 79112) load
0x40086ae0: ram_chip_i2c_writeReg at /home/aiqin/git_tree/chip7.1_phy/chip_7.1/board_code/app_test/pp/phy/phy_chip_v7_ana.c:97

I (604) boot: Loaded app from partition at offset 0x10000
I (604) boot: Disabling RNG early entropy source...
I (604) psram: This chip is ESP32-D0WD
I (609) spiram: Found 64MBit SPI RAM device
I (613) spiram: SPI RAM mode: flash 80m sram 80m
I (619) spiram: PSRAM initialized, cache is in low/high (2-core) mode.
I (626) cpu_start: Pro cpu up.
I (630) cpu_start: Application information:
I (634) cpu_start: Project name: dlna_example
I (640) cpu_start: App version: 1
I (644) cpu_start: Compile time: Nov 2 2020 14:57:57
I (650) cpu_start: ELF file SHA256: 1477426375b48c8e...
I (656) cpu_start: ESP-IDF: v4.1
I (661) cpu_start: Starting app cpu, entry point is 0x4008160c
0x4008160c: call_start_cpu1 at C:/Users/mike/Desktop/esp-idf/components/esp32/cpu_start.c:271

I (0) cpu_start: App cpu up.
I (1168) spiram: SPI SRAM memory test OK
I (1168) heap_init: Initializing. RAM available for dynamic allocation:
I (1168) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (1175) heap_init: At 3FFB9470 len 00026B90 (154 KiB): DRAM
I (1181) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (1187) heap_init: At 3FFE4350 len 0001BCB0 (111 KiB): D/IRAM
I (1194) heap_init: At 40099FE8 len 00006018 (24 KiB): IRAM
I (1200) cpu_start: Pro cpu start user code
I (1205) spiram: Adding pool of 4096K of external SPI memory to heap allocator
I (1225) spi_flash: detected chip: gd
I (1226) spi_flash: flash io: dio
W (1226) spi_flash: Detected size(16384k) larger than the size in the binary image header(4096k). Using the size in the binary image header.
I (1237) cpu_start: Starting scheduler on PRO CPU.
I (0) cpu_start: Starting scheduler on APP CPU.
I (1247) spiram: Reserving pool of 32K of internal memory for DMA/internal allocations
I (1307) wifi:wifi driver task: 3ffcb0b8, prio:23, stack:6656, core=0
I (1307) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (1307) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE
I (1327) wifi:wifi firmware version: 3ea4c76
I (1327) wifi:config NVS flash: enabled
I (1327) wifi:config nano formating: disabled
I (1337) wifi:Init dynamic tx buffer num: 32
I (1337) wifi:Init data frame dynamic rx buffer num: 32
I (1337) wifi:Init management frame dynamic rx buffer num: 32
I (1347) wifi:Init management short buffer num: 32
I (1347) wifi:Init static tx buffer num: 16
I (1357) wifi:Init static rx buffer size: 1600
I (1357) wifi:Init static rx buffer num: 16
I (1367) wifi:Init dynamic rx buffer num: 32
I (1447) phy: phy_version: 4180, cb3948e, Sep 12 2019, 16:39:13, 0, 0
I (1447) wifi:mode : sta (f0:08:d1:60:ac:30)
I (1577) wifi:new:<5,2>, old:<1,0>, ap:<255,255>, sta:<5,2>, prof:1
I (1577) wifi:state: init -> auth (b0)
I (1577) wifi:state: auth -> assoc (0)
I (1597) wifi:state: assoc -> run (10)
I (2597) wifi:connected with Jobtech1, aid = 1, channel 5, 40D, bssid = bc:ee:7b:97:8b:25
I (2597) wifi:security: WPA2-PSK, phy: bgn, rssi: -64
I (2607) wifi:pm start, type: 1

W (2607) PERIPH_WIFI: WiFi Event cb, Unhandle event_base:WIFI_EVENT, event_id:4
I (2647) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (7297) PERIPH_WIFI: Got ip:10.88.88.110
I (7297) esp_netif_handlers: sta ip: 10.88.88.110, mask: 255.255.255.0, gw: 10.88.88.254
I (7297) gpio: GPIO[19]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 1| Pulldown: 0| Intr:3
E (7307) gpio: gpio_install_isr_service(438): GPIO isr service already installed
I (7327) gpio: GPIO[21]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
I (7327) ES8388_DRIVER: init,out:02, in:00
I (7337) AUDIO_HAL: Codec mode is 2, Ctrl:1
W (7337) AUIDO_MEM: Can't support stack on external memory due to ESP32 chip is 1
I (7337) ESP_AUDIO_TASK: media_ctrl_task running...,0x3f801090

----------------------------- ESP Audio Platform -----------------------------
| |
| ESP_AUDIO-v1.6.4-3-g428c5e9 |
| Compile date: Sep 24 2020-15:25:00 |
------------------------------------------------------------------------------
I (7387) ESP_DECODER: esp_decoder_init, stack size is 5120
I (7387) I2S: DMA Malloc info, datalen=blocksize=1200, dma_buf_count=3
I (7397) I2S: DMA Malloc info, datalen=blocksize=1200, dma_buf_count=3
I (7417) 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 (7427) LYRAT_V4_3: I2S0, MCLK output by GPIO0
W (7437) AUIDO_MEM: Can't support stack on external memory due to ESP32 chip is 1
I (7447) DLNA_EXAMPLE: DLNA Started...
I (8937) UPNP_NOTIFY: New Subscribe successful, sid = uuid:5851f42d-8ccf-f646-3129-30705b045db4, timeout = 1800
I (8937) UPNP_NOTIFY: New Subscribe successful, sid = uuid:1a8b7f78-59d8-4868-56a7-08cdb7ffd43f, timeout = 1800
I (8947) UPNP_NOTIFY: New Subscribe successful, sid = uuid:70a3a52b-baf1-41fc-6fd9-742d2f7a0796, timeout = 1800
I (38737) UPNP_NOTIFY: New Subscribe successful, sid = uuid:76035e09-702c-2ca5-4157-58a0df740364, timeout = 1800
I (39057) UPNP_NOTIFY: New Subscribe successful, sid = uuid:2e533cc4-5faf-b115-8628-7043bfa450e9, timeout = 1800
I (39377) UPNP_NOTIFY: New Subscribe successful, sid = uuid:37521657-2fdb-625e-5020-329b54fbc038, timeout = 1800
W (159437) httpd_txrx: httpd_sock_err: error in recv : 104
I (165167) UPNP_NOTIFY: New Subscribe successful, sid = uuid:5378d5a8-004e-87a6-c714-4c598d93d725, timeout = 300
I (165227) UPNP_NOTIFY: New Subscribe successful, sid = uuid:2b449456-8624-e644-32df-6db505597d8d, timeout = 300
I (176507) UPNP_NOTIFY: New Subscribe successful, sid = uuid:71dfed43-977b-bbbe-4b90-666d97169589, timeout = 1800
I (176807) UPNP_NOTIFY: New Subscribe successful, sid = uuid:6931589d-e07e-bb77-16c6-1dee132f7726, timeout = 1800
I (177077) UPNP_NOTIFY: New Subscribe successful, sid = uuid:00f32298-0688-8df5-79b4-1ae53a308dd4, timeout = 1800
I (205487) DLNA_EXAMPLE: Stop instance=0
W (205487) ESP_AUDIO_CTRL: [media_ctrl_stop]-Already stopped, status is UNKNOWN, phase:0
I (205497) DLNA_EXAMPLE: _avt_get_trans_state STOPPED
E (205497) HTTP_CLIENT: Connection failed
E (205507) HTTP_CLIENT: Asynchronous mode doesn't work for HTTP based connection
E (205507) UPNP_NOTIFY: Unsubscribe=uuid:2b449456-8624-e644-32df-6db505597d8d
I (205527) DLNA_EXAMPLE: Stop instance=0
W (205527) ESP_AUDIO_CTRL: [media_ctrl_stop]-Already stopped, status is UNKNOWN, phase:0
I (205537) DLNA_EXAMPLE: _avt_get_trans_state STOPPED
I (227597) UPNP_NOTIFY: New Subscribe successful, sid = uuid:2170b934-489d-1c3a-680d-249ad60fe6bd, timeout = 300
W (227617) httpd: httpd_accept_conn: error in accept (23)
W (227617) httpd: httpd_server: error accepting new connection
W (245457) httpd_txrx: httpd_sock_err: error in recv : 104
I (246597) DLNA_EXAMPLE: _avt_get_trans_state STOPPED
I (252147) UPNP_NOTIFY: New Subscribe successful, sid = uuid:526d022f-eda1-2ff7-210f-072790d99168, timeout = 300
I (252167) UPNP_NOTIFY: New Subscribe successful, sid = uuid:4c1ee2f4-02d9-c93c-2ba8-5536513506e5, timeout = 300
I (292387) DLNA_EXAMPLE: Stop instance=0
W (292387) ESP_AUDIO_CTRL: [media_ctrl_stop]-Already stopped, status is UNKNOWN, phase:0
I (292387) DLNA_EXAMPLE: _avt_get_trans_state STOPPED
E (292397) HTTP_CLIENT: Connection failed
E (292397) HTTP_CLIENT: Asynchronous mode doesn't work for HTTP based connection
E (292407) UPNP_NOTIFY: Unsubscribe=uuid:4c1ee2f4-02d9-c93c-2ba8-5536513506e5
I (292777) UPNP_NOTIFY: New Subscribe successful, sid = uuid:7091758f-fe2a-59cd-94c2-6e7b64400fc1, timeout = 300
I (292797) UPNP_NOTIFY: New Subscribe successful, sid = uuid:38479acf-2c52-6171-fe6a-49067a723b29, timeout = 300
I (324517) DLNA_EXAMPLE: Stop instance=0
W (324517) ESP_AUDIO_CTRL: [media_ctrl_stop]-Already stopped, status is UNKNOWN, phase:0
I (324517) DLNA_EXAMPLE: _avt_get_trans_state STOPPED
E (324517) HTTP_CLIENT: Connection failed
E (324527) HTTP_CLIENT: Asynchronous mode doesn't work for HTTP based connection
E (324537) UPNP_NOTIFY: Unsubscribe=uuid:38479acf-2c52-6171-fe6a-49067a723b29
I (332567) DLNA_EXAMPLE: _avt_get_trans_state STOPPED
I (333157) DLNA_EXAMPLE: Stop instance=0
W (333157) ESP_AUDIO_CTRL: [media_ctrl_stop]-Already stopped, status is UNKNOWN, phase:0
I (333157) DLNA_EXAMPLE: _avt_get_trans_state STOPPED
I (333177) DLNA_EXAMPLE: Stop instance=0
W (333177) ESP_AUDIO_CTRL: [media_ctrl_stop]-Already stopped, status is UNKNOWN, phase:0
I (333177) DLNA_EXAMPLE: _avt_get_trans_state STOPPED
I (373357) DLNA_EXAMPLE: _avt_get_trans_state STOPPED
I (376377) UPNP_NOTIFY: New Subscribe successful, sid = uuid:4fd30023-9db0-5a5b-a51b-44aeb1a3872a, timeout = 300
I (376407) UPNP_NOTIFY: New Subscribe successful, sid = uuid:4cbd7e82-9488-5b44-cc19-7b5f2b0e5630, timeout = 300
I (416917) DLNA_EXAMPLE: Stop instance=0
W (416917) ESP_AUDIO_CTRL: [media_ctrl_stop]-Already stopped, status is UNKNOWN, phase:0
I (416917) DLNA_EXAMPLE: _avt_get_trans_state STOPPED
E (416927) HTTP_CLIENT: Connection failed
E (416927) HTTP_CLIENT: Asynchronous mode doesn't work for HTTP based connection
E (416937) UPNP_NOTIFY: Unsubscribe=uuid:4cbd7e82-9488-5b44-cc19-7b5f2b0e5630
I (416947) DLNA_EXAMPLE: Stop instance=0
W (416947) ESP_AUDIO_CTRL: [media_ctrl_stop]-Already stopped, status is UNKNOWN, phase:0
I (416957) DLNA_EXAMPLE: _avt_get_trans_state STOPPED
I (436277) UPNP_NOTIFY: New Subscribe successful, sid = uuid:302d71f2-556b-6aa3-d8ae-512b300f8a84, timeout = 300
I (436307) UPNP_NOTIFY: New Subscribe successful, sid = uuid:2fbe7dcd-7f49-b6d6-e283-4b941d424c17, timeout = 300
W (436337) httpd: httpd_accept_conn: error in accept (23)
W (436337) httpd: httpd_server: error accepting new connection
W (436377) httpd: httpd_accept_conn: error in accept (23)
W (436377) httpd: httpd_server: error accepting new connection
W (436397) httpd: httpd_accept_conn: error in accept (23)
W (436397) httpd: httpd_server: error accepting new connection
W (436417) httpd: httpd_accept_conn: error in accept (23)
W (436417) httpd: httpd_server: error accepting new connection
W (436427) httpd: httpd_accept_conn: error in accept (23)
W (436427) httpd: httpd_server: error accepting new connection
I (437277) DLNA_EXAMPLE: SetAVTransportURI=http://10.88.88.111:8602/file?sid=2.wav
I (457027) DLNA_EXAMPLE: _avt_get_trans_state STOPPED
I (477457) DLNA_EXAMPLE: SetAVTransportURI=http://10.88.88.111:8602/file?sid=2.wav
I (477527) DLNA_EXAMPLE: _avt_get_trans_state STOPPED
I (517647) DLNA_EXAMPLE: Play with speed=1 trans_state STOPPED
I (517647) ESP_AUDIO_TASK: It's a decoder
I (517647) ESP_AUDIO_TASK: 1.CUR IN:[IN_http],CODEC:[DEC_auto],RESAMPLE:[48000],OUT:[OUT_iis],rate:0,ch:0,pos:0
I (517657) ESP_AUDIO_TASK: 2.Handles,IN:0x3f8017ac,CODEC:0x3f801960,FILTER:0x3f80bc88,OUT:0x3f801b0c
I (517667) ESP_AUDIO_TASK: 2.2 Update all pipeline
I (517677) ESP_AUDIO_TASK: 2.3 Linked new pipeline
I (517687) ESP_AUDIO_TASK: 3. Previous starting...
W (517687) AUIDO_MEM: Can't support stack on external memory due to ESP32 chip is 1
W (517697) AUIDO_MEM: Can't support stack on external memory due to ESP32 chip is 1
I (517707) ESP_AUDIO_TASK: Blocking MEDIA_CTRL_EVT_PLAY until received AEL_MSG_CMD_REPORT_MUSIC_INFO
I (517717) ESP_DECODER: Ready to do audio type check, pos:0, (line 104)
I (517757) HTTP_STREAM: total_bytes=3947852
I (517777) ESP_DECODER: Detect audio type is WAV
E (517787) ESP_DECODER: Audio type detect error (line 145)
E (517787) AUDIO_ELEMENT: [DEC_auto] AEL_STATUS_ERROR_OPEN,-1
E (517787) ESP_AUDIO_TASK: Got element[DEC_auto] error:ESP_ERR_AUDIO_OPEN, stop pipeline[0]
W (517807) HTTP_STREAM: No output due to stopping
E (517807) AUDIO_ELEMENT: [IN_http] Element already stopped
E (517807) AUDIO_ELEMENT: [DEC_auto] Element already stopped
W (517817) ESP_AUDIO_TASK: Destroy the old pipeline
W (517817) AUDIO_ELEMENT: [OUT_iis] Element has not create when AUDIO_ELEMENT_TERMINATE, tick:300
W (517827) AUDIO_ELEMENT: [resample] Element has not create when AUDIO_ELEMENT_TERMINATE, tick:300
W (517837) ESP_AUDIO_TASK: The old pipeline destroyed
I (517847) ESP_AUDIO_TASK: MEDIA_CTRL_EVT_PLAY, status:ERROR, 0
I (517857) DLNA_EXAMPLE: _avt_get_trans_state STOPPED
W (517857) ESP_AUDIO_CTRL: The bps[0] is not ready
E (517867) HTTP_CLIENT: Connection failed
E (517867) HTTP_CLIENT: Asynchronous mode doesn't work for HTTP based connection
E (517877) UPNP_NOTIFY: Unsubscribe=uuid:2fbe7dcd-7f49-b6d6-e283-4b941d424c17
W (517887) ESP_AUDIO_CTRL: The bps[0] is not ready
W (518677) ESP_AUDIO_CTRL: The bps[0] is not ready
I (527677) UPNP_NOTIFY: New Subscribe successful, sid = uuid:7044ffe7-1fa3-8039-0c93-446d8073abc6, timeout = 300
I (527707) UPNP_NOTIFY: New Subscribe successful, sid = uuid:76e04ee6-1ef1-048a-a8fe-26faac21241b, timeout = 300
W (557997) ESP_AUDIO_CTRL: The bps[0] is not ready
W (558007) ESP_AUDIO_CTRL: The bps[0] is not ready
W (558007) httpd: httpd_accept_conn: error in accept (23)
W (558007) httpd: httpd_server: error accepting new connection
W (558017) ESP_AUDIO_CTRL: The bps[0] is not ready
W (558057) httpd: httpd_accept_conn: error in accept (23)
W (558057) httpd: httpd_server: error accepting new connection
W (558067) httpd: httpd_accept_conn: error in accept (23)
W (558067) httpd: httpd_server: error accepting new connection
W (558087) httpd: httpd_accept_conn: error in accept (23)
W (558097) httpd: httpd_server: error accepting new connection
W (558107) httpd: httpd_accept_conn: error in accept (23)
W (558107) httpd: httpd_server: error accepting new connection
W (558137) httpd: httpd_accept_conn: error in accept (23)
W (558137) httpd: httpd_server: error accepting new connection
W (558157) httpd: httpd_accept_conn: error in accept (23)
W (558157) httpd: httpd_server: error accepting new connection
W (558167) httpd: httpd_accept_conn: error in accept (23)
W (558167) httpd: httpd_server: error accepting new connection
W (558177) httpd: httpd_accept_conn: error in accept (23)
W (558177) httpd: httpd_server: error accepting new connection
W (558207) httpd: httpd_accept_conn: error in accept (23)
W (558207) httpd: httpd_server: error accepting new connection
W (558217) httpd: httpd_accept_conn: error in accept (23)
W (558227) httpd: httpd_server: error accepting new connection
W (558227) httpd: httpd_accept_conn: error in accept (23)
W (558227) httpd: httpd_server: error accepting new connection
W (558237) httpd: httpd_accept_conn: error in accept (23)
W (558247) httpd: httpd_server: error accepting new connection
W (558247) httpd: httpd_accept_conn: error in accept (23)
W (558257) httpd: httpd_server: error accepting new connection
W (558267) httpd: httpd_accept_conn: error in accept (23)
W (558267) httpd: httpd_server: error accepting new connection
W (558277) httpd: httpd_accept_conn: error in accept (23)
W (558277) httpd: httpd_server: error accepting new connection
W (558287) httpd: httpd_accept_conn: error in accept (23)
W (558297) httpd: httpd_server: error accepting new connection
W (558307) httpd: httpd_accept_conn: error in accept (23)
W (558307) httpd: httpd_server: error accepting new connection
W (558317) httpd: httpd_accept_conn: error in accept (23)
W (558317) httpd: httpd_server: error accepting new connection
W (558327) httpd: httpd_accept_conn: error in accept (23)
W (558327) httpd: httpd_server: error accepting new connection
W (558337) httpd: httpd_accept_conn: error in accept (23)
W (558347) httpd: httpd_server: error accepting new connection
W (558347) httpd: httpd_accept_conn: error in accept (23)
W (558357) httpd: httpd_server: error accepting new connection
W (558367) httpd: httpd_accept_conn: error in accept (23)
W (558367) httpd: httpd_server: error accepting new connection
W (558377) httpd: httpd_accept_conn: error in accept (23)
W (558377) httpd: httpd_server: error accepting new connection
W (558387) httpd: httpd_accept_conn: error in accept (23)
W (558397) httpd: httpd_server: error accepting new connection
I (558837) DLNA_EXAMPLE: _avt_get_trans_state STOPPED
W (559417) httpd: httpd_accept_conn: error in accept (23)
W (559417) httpd: httpd_server: error accepting new connection
W (564537) httpd: httpd_accept_conn: error in accept (23)
W (564537) httpd: httpd_server: error accepting new connection
W (569657) httpd: httpd_accept_conn: error in accept (23)
W (569667) httpd: httpd_server: error accepting new connection
W (574787) httpd: httpd_accept_conn: error in accept (23)
W (574787) httpd: httpd_server: error accepting new connection
W (579907) httpd: httpd_accept_conn: error in accept (23)
W (579907) httpd: httpd_server: error accepting new connection
W (585017) httpd: httpd_accept_conn: error in accept (23)
W (585017) httpd: httpd_server: error accepting new connection
W (590747) httpd: httpd_accept_conn: error in accept (23)
W (590747) httpd: httpd_server: error accepting new connection
W (595877) httpd: httpd_accept_conn: error in accept (23)
W (595877) httpd: httpd_server: error accepting new connection
W (598267) ESP_AUDIO_CTRL: The bps[0] is not ready
W (598267) ESP_AUDIO_CTRL: The bps[0] is not ready
W (599977) ESP_AUDIO_CTRL: The bps[0] is not ready
I (640117) DLNA_EXAMPLE: _avt_get_trans_state STOPPED
W (681287) ESP_AUDIO_CTRL: The bps[0] is not ready
I (721367) DLNA_EXAMPLE: _avt_get_trans_state STOPPED
I (736467) UPNP_NOTIFY: New Subscribe successful, sid = uuid:0e63c119-8b7e-f8e4-6b75-70c23c8efcc6, timeout = 300
I (736497) UPNP_NOTIFY: New Subscribe successful, sid = uuid:205c9587-2085-bc58-54dd-340c302420e6, timeout = 300
W (762477) ESP_AUDIO_CTRL: The bps[0] is not ready
I (802747) DLNA_EXAMPLE: _avt_get_trans_state STOPPED
I (827917) UPNP_NOTIFY: New Subscribe successful, sid = uuid:75214e9d-5e5d-3244-6040-6e6aa68b905a, timeout = 300
I (827947) UPNP_NOTIFY: New Subscribe successful, sid = uuid:22c4f223-ba5e-5da9-5def-7325d2ecfe3f, timeout = 300
W (843887) ESP_AUDIO_CTRL: The bps[0] is not ready
I (886397) DLNA_EXAMPLE: _avt_get_trans_state STOPPED
W (927657) ESP_AUDIO_CTRL: The bps[0] is not ready
I (967797) DLNA_EXAMPLE: _avt_get_trans_state STOPPED
W (1008967) ESP_AUDIO_CTRL: The bps[0] is not ready
I (1036607) UPNP_NOTIFY: New Subscribe successful, sid = uuid:0e223791-199c-ab7a-aa41-0bbadf17db18, timeout = 300
I (1036627) UPNP_NOTIFY: New Subscribe successful, sid = uuid:00985972-aeeb-c606-7bf2-0dd45f9164ee, timeout = 300
I (1049097) DLNA_EXAMPLE: _avt_get_trans_state STOPPED
W (1090387) ESP_AUDIO_CTRL: The bps[0] is not ready

harlenfeng
Posts: 3
Joined: Mon Oct 25, 2021 6:59 am

Re: DLNA works bad at ESP32-Lyrat V4.3

Postby harlenfeng » Mon Oct 25, 2021 7:20 am

That occurs some errors when flash demo(hello-world) using esp32-lyrat v4.3,macos。can you help me? the detail log:
Traceback (most recent call last):
File "/Users/harlenfeng/Work/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 4535, in <module>
_main()
File "/Users/harlenfeng/Work/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 4528, in _main
main()
File "/Users/harlenfeng/Work/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 4027, in main
esp = esp or get_default_connected_device(ser_list, port=args.port, connect_attempts=args.connect_attempts,
File "/Users/harlenfeng/Work/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 121, in get_default_connected_device
_esp.connect(before, connect_attempts)
File "/Users/harlenfeng/Work/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 583, in connect
last_error = self._connect_attempt(mode=mode, esp32r0_delay=False)
File "/Users/harlenfeng/Work/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 552, in _connect_attempt
self.sync()
File "/Users/harlenfeng/Work/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 483, in sync
val, _ = self.command(self.ESP_SYNC, b'\x07\x07\x12\x20' + 32 * b'\x55',
File "/Users/harlenfeng/Work/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 432, in command
p = self.read()
File "/Users/harlenfeng/Work/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 377, in read
return next(self._slip_reader)
File "/Users/harlenfeng/Work/esp/esp-idf/components/esptool_py/esptool/esptool.py", line 2970, in slip_reader
read_bytes = port.read(1 if waiting == 0 else waiting)
File "/Users/harlenfeng/.espressif/python_env/idf4.3_py3.8_env/lib/python3.8/site-packages/serial/serialposix.py", line 595, in read
raise SerialException(
serial.serialutil.SerialException: device reports readiness to read but returned no data (device disconnected or multiple access on port?)

Who is online

Users browsing this forum: No registered users and 38 guests