schreibfaul1 / ESP32-MiniWebRadio

Internetradio with ESP32, I2S DAC and SPI TFT Display with Touchpad
https://www.youtube.com/watch?v=6QbPee2583o
325 stars 80 forks source link

7 Minutes(!) after reboot Radio plays first, latest Firmware and ESP32dev (4M) without PSRAM, VS1053, ILI9341 #222

Closed TubaFonse closed 1 year ago

TubaFonse commented 1 year ago

Dear Wolle! I'm using ESP32-ESP32dev (4M) module without PSRAM in standard configuration: VS1053, ILI9341 since 6 months. I flashed the latest Firmware and updated my SD-Card. After reboot the radio plays the first song after 7 MINUTES, (with Firmware based on Version 2.4.0 after 12 Seconds, no dropouts!). Please help to get a reliable MiniWebRadio V2 again - many thanks! See the following trace from today, Time: 11:30

Serial Monitor (nach FW-Update und Reset), es dauert 7 Minuten, bis das Radio spielt:

--- Terminal on COM3 | 115200 8-N-1 E (1015) psram: PSRAM ID read error: 0xffffffff [ 3][W][esp32-hal-psram.c:71] psramInit(): PSRAM init failed! ESP32 Chip: ESP32-D0WDQ6 Arduino Version: 2.0.9 ESP-IDF Version: 4.4.4 ARDUINO_LOOP_STACK_SIZE 8192 words (32 bit) PSRAM not found! MiniWebRadio will not work properly! 00:00:00 00:00:00 00:00:00 MiniWebRadio V2 00:00:00 00:00:00 00:00:00 setup: .... Arduino is pinned to core 1 00:00:00 tft_info: . init ILI9341 00:00:00 setup: .... Init SD card 00:00:00 setup: .... SD card found, 944.8 MB by 968.8 MB free 00:00:00 setup: .... seek for stations.csv 00:00:00 setup: .... stations.csv found 00:00:00 setup: .... seek for WiFi networks [ 855][I][WiFiMulti.cpp:84] addAP(): [WIFI][APlistAdd] add SSID: FRITZ!Box7490LF [ 7186][I][WiFiMulti.cpp:114] run(): [WIFI] scan done [ 7186][I][WiFiMulti.cpp:119] run(): [WIFI] 10 networks found [ 7187][I][WiFiMulti.cpp:160] run(): [WIFI] Connecting BSSID: C8:0E:14:0C:93:11 SSID: FRITZ!Box7490LF Channel: 6 (-39) [ 7235][W][WiFiGeneric.cpp:1057] _eventCallback(): Reason: 202 - AUTH_FAIL [ 7313][I][WiFiMulti.cpp:174] run(): [WIFI] Connecting done. 00:00:07 WiFI_info: Connecting WiFi... 00:00:07 setup: .... connected to FRITZ!Box7490LF, IP address is 192.168.178.35 00:00:07 ftpServer: Buffers allocated: 4622 bytes 00:00:07 rtime_info: Initializing SNTP 00:00:07 rtime_info: Waiting for system time to be set... (1/10) 00:00:09 rtime_info: Waiting for system time to be set... (2/10) 11:35:46 rtime_info: 11:35:46 11:35:46 audiotask: is pinned to core 1 11:35:46 audiotask: priority is 2 11:35:46 VS1053 chipID = 1279067256, version = 3 11:35:46 setup: .... Number of saved stations: 48 11:35:46 setup: .... current station number: 1 11:35:46 setup: .... current volume: 12 11:35:46 setup: .... last connected host: 11:35:46 setup: .... connection timeout: 500 ms 11:35:46 setup: .... connection timeout SSL: 2000 ms 11:35:46 action: ... current volume is 12 11:35:46 action: ... switch to station 1 11:35:46 AUDIO_info: Connect to new host: "http://streams.br.de/bayern1obb_2.m3u" 11:35:48 AUDIO_info: Song stopped incorrectly! 11:35:48 AUDIO_info: after song stopped incorrectly 11:35:48 AUDIO_info: REG dec bin hex 11:35:48 AUDIO_info: ----------- ------- ---------------- ------- 11:35:48 AUDIO_info: MODE 02056 0000100000001000 0808 11:35:48 AUDIO_info: STATUS 00576 0000001001000000 0240 11:35:48 AUDIO_info: BASS 00000 0000000000000000 0000 11:35:48 AUDIO_info: CLOCKF 24576 0110000000000000 6000 11:35:48 AUDIO_info: DECODE_TIME 00002 0000000000000010 0002 11:35:48 AUDIO_info: AUDATA 44101 1010110001000101 AC45 11:35:48 AUDIO_info: WRAM 00000 0000000000000000 0000 11:35:48 AUDIO_info: WRAMADDR 07682 0001111000000010 1E02 11:35:48 AUDIO_info: HDAT0 00000 0000000000000000 0000 11:35:48 AUDIO_info: HDAT1 00000 0000000000000000 0000 11:35:48 AUDIO_info: AIADDR 00000 0000000000000000 0000 11:35:48 AUDIO_info: VOL 06425 0001100100011001 1919 11:35:48 AUDIO_info: AICTRL0 00000 0000000000000000 0000 11:35:48 AUDIO_info: AICTRL1 00000 0000000000000000 0000 11:35:48 AUDIO_info: AICTRL2 00000 0000000000000000 0000 11:35:48 AUDIO_info: AICTRL3 00000 0000000000000000 0000 11:35:48 AUDIO_info: PSRAM not found, inputBufferSize: 14399 bytes 11:35:48 AUDIO_info: Connection has been established in 19 ms, free Heap: 116784 bytes 11:35:48 AUDIO_info: Connect to new host: "http://dispatcher.rndfnk.com/br/br1/obb/mp3/mid" 11:35:50 AUDIO_info: Song stopped incorrectly! 11:35:50 AUDIO_info: after song stopped incorrectly 11:35:50 AUDIO_info: REG dec bin hex 11:35:50 AUDIO_info: ----------- ------- ---------------- ------- 11:35:50 AUDIO_info: MODE 02056 0000100000001000 0808 11:35:50 AUDIO_info: STATUS 00588 0000001001001100 024C 11:35:50 AUDIO_info: BASS 00000 0000000000000000 0000 11:35:50 AUDIO_info: CLOCKF 24576 0110000000000000 6000 11:35:50 AUDIO_info: DECODE_TIME 00004 0000000000000100 0004 11:35:50 AUDIO_info: AUDATA 44101 1010110001000101 AC45 11:35:50 AUDIO_info: WRAM 00000 0000000000000000 0000 11:35:50 AUDIO_info: WRAMADDR 07682 0001111000000010 1E02 11:35:50 AUDIO_info: HDAT0 00000 0000000000000000 0000 11:35:50 AUDIO_info: HDAT1 00000 0000000000000000 0000 11:35:50 AUDIO_info: AIADDR 00000 0000000000000000 0000 11:35:50 AUDIO_info: VOL 65535 1111111111111111 FFFF 11:35:50 AUDIO_info: AICTRL0 00000 0000000000000000 0000 11:35:50 AUDIO_info: AICTRL1 00000 0000000000000000 0000 11:35:51 AUDIO_info: AICTRL2 00000 0000000000000000 0000 11:35:51 AUDIO_info: AICTRL3 00000 0000000000000000 0000 11:35:51 AUDIO_info: Connection has been established in 24 ms, free Heap: 116368 bytes 11:35:51 WiFI_info: RSSI is -41 dB 11:35:51 AUDIO_info: redirect to new host "http://f111.rndfnk.com/ard/br/br1/obb/mp3/128/stream.mp3?cid=01FB9ME7567MEQ5G72EVEEVVCS&sid=2S6O1oAzcHbbx686FgcDcwBmLUf&token=WtrGOm1vtORwlbqpfe8ex3xsAeKUrh5q1HvOJR39Me8&tvf=Ylph9B20bhdmMTExLnJuZGZuay5jb20" 11:35:51 AUDIO_info: Connect to new host: "http://f111.rndfnk.com/ard/br/br1/obb/mp3/128/stream.mp3?cid=01FB9ME7567MEQ5G72EVEEVVCS&sid=2S6O1oAzcHbbx686FgcDcwBmLUf&token=WtrGOm1vtORwlbqpfe8ex3xsAeKUrh5q1HvOJR39Me8&tvf=Ylph9B20bhdmMTExLnJuZGZuay5jb20" 11:35:51 DLNA_info: SSDP search for media servers started 11:35:53 AUDIO_info: Song stopped incorrectly! 11:35:53 AUDIO_info: after song stopped incorrectly 11:35:53 AUDIO_info: REG dec bin hex 11:35:53 AUDIO_info: ----------- ------- ---------------- ------- 11:35:53 AUDIO_info: MODE 02056 0000100000001000 0808 11:35:53 AUDIO_info: STATUS 00588 0000001001001100 024C 11:35:53 AUDIO_info: BASS 00000 0000000000000000 0000 11:35:53 AUDIO_info: CLOCKF 24576 0110000000000000 6000 11:35:53 AUDIO_info: DECODE_TIME 00006 0000000000000110 0006 11:35:53 AUDIO_info: AUDATA 44101 1010110001000101 AC45 11:35:53 AUDIO_info: WRAM 00000 0000000000000000 0000 11:35:53 AUDIO_info: WRAMADDR 07682 0001111000000010 1E02 11:35:53 AUDIO_info: HDAT0 00000 0000000000000000 0000 11:35:53 AUDIO_info: HDAT1 00000 0000000000000000 0000 11:35:53 AUDIO_info: AIADDR 00000 0000000000000000 0000 11:35:53 AUDIO_info: VOL 65535 1111111111111111 FFFF 11:35:53 AUDIO_info: AICTRL0 00000 0000000000000000 0000 11:35:53 AUDIO_info: AICTRL1 00000 0000000000000000 0000 11:35:53 AUDIO_info: AICTRL2 00000 0000000000000000 0000 11:35:53 AUDIO_info: AICTRL3 00000 0000000000000000 0000 11:35:53 AUDIO_info: Connection has been established in 16 ms, free Heap: 113564 bytes 11:35:53 bitRate: 128Kbit/s 11:35:53 icy-descr: BAYERN 1 Oberbayern 11:35:53 AUDIO_info: icy-name: BAYERN 1 Oberbayern 11:35:53 StationName: BAYERN 1 Oberbayern 11:35:53 lastURL: .. http://f111.rndfnk.com/ard/br/br1/obb/mp3/128/stream.mp3?cid=01FB9ME7567MEQ5G72EVEEVVCS&sid=2S6O1oAzcHbbx686FgcDcwBmLUf&token=WtrGOm1vtORwlbqpfe8ex3xsAeKUrh5q1HvOJR39Me8&tvf=Ylph9B20bhdmMTExLnJuZGZuay5jb20 11:35:53 AUDIO_info: stream ready 11:35:53 StreamTitle: Chicago: Hard To Say I'm Sorry 11:35:55 DLNA_info: SSDP query discovered 2 media servers 11:35:55 DLNA_info: connected successfully to 192.168.178.24:50001 11:35:55 DLNA_info: connected successfully to 192.168.178.29:2869 11:35:55 ftpServer: Ftp server waiting for connection on port 21 11:35:56 Audiocodec: MP3 11:35:56 AUDIO_info: slow stream, dropouts are possible 11:35:57 AUDIO_info: slow stream, dropouts are possible 11:35:58 AUDIO_info: slow stream, dropouts are possible 11:35:59 AUDIO_info: slow stream, dropouts are possible 11:36:00 AUDIO_info: slow stream, dropouts are possible 11:36:01 AUDIO_info: slow stream, dropouts are possible 11:36:02 AUDIO_info: slow stream, dropouts are possible 11:36:03 AUDIO_info: slow stream, dropouts are possible 11:36:04 AUDIO_info: slow stream, dropouts are possible 11:36:05 AUDIO_info: slow stream, dropouts are possible 11:36:06 AUDIO_info: slow stream, dropouts are possible 11:36:07 AUDIO_info: slow stream, dropouts are possible 11:36:08 AUDIO_info: slow stream, dropouts are possible 11:36:09 AUDIO_info: slow stream, dropouts are possible 11:36:10 AUDIO_info: slow stream, dropouts are possible 11:36:11 AUDIO_info: slow stream, dropouts are possible 11:36:12 StreamTitle: BAYERN 1 am Vormittag 11:36:12 AUDIO_info: slow stream, dropouts are possible 11:36:13 AUDIO_info: slow stream, dropouts are possible 11:36:14 AUDIO_info: slow stream, dropouts are possible 11:36:15 AUDIO_info: slow stream, dropouts are possible 11:36:16 AUDIO_info: slow stream, dropouts are possible 11:36:17 AUDIO_info: slow stream, dropouts are possible 11:36:18 AUDIO_info: slow stream, dropouts are possible 11:36:19 AUDIO_info: slow stream, dropouts are possible 11:36:20 AUDIO_info: slow stream, dropouts are possible 11:36:21 AUDIO_info: slow stream, dropouts are possible 11:36:22 AUDIO_info: slow stream, dropouts are possible 11:36:23 AUDIO_info: slow stream, dropouts are possible 11:36:24 AUDIO_info: slow stream, dropouts are possible 11:36:25 AUDIO_info: slow stream, dropouts are possible 11:36:26 AUDIO_info: slow stream, dropouts are possible 11:36:27 AUDIO_info: slow stream, dropouts are possible 11:36:28 AUDIO_info: slow stream, dropouts are possible 11:36:29 AUDIO_info: slow stream, dropouts are possible 11:36:30 AUDIO_info: slow stream, dropouts are possible 11:36:31 AUDIO_info: slow stream, dropouts are possible 11:36:32 AUDIO_info: slow stream, dropouts are possible 11:36:33 AUDIO_info: slow stream, dropouts are possible 11:36:34 AUDIO_info: slow stream, dropouts are possible 11:36:35 AUDIO_info: slow stream, dropouts are possible 11:36:36 AUDIO_info: slow stream, dropouts are possible 11:36:37 AUDIO_info: slow stream, dropouts are possible 11:36:38 AUDIO_info: slow stream, dropouts are possible 11:36:39 AUDIO_info: slow stream, dropouts are possible 11:36:40 AUDIO_info: slow stream, dropouts are possible 11:36:41 AUDIO_info: slow stream, dropouts are possible 11:36:42 AUDIO_info: slow stream, dropouts are possible 11:36:42 StreamTitle: Chicago: Hard To Say I'm Sorry 11:36:43 AUDIO_info: slow stream, dropouts are possible 11:36:44 AUDIO_info: slow stream, dropouts are possible 11:36:45 AUDIO_info: slow stream, dropouts are possible 11:36:46 AUDIO_info: slow stream, dropouts are possible 11:36:47 AUDIO_info: slow stream, dropouts are possible 11:36:48 AUDIO_info: slow stream, dropouts are possible 11:36:49 AUDIO_info: slow stream, dropouts are possible 11:36:50 AUDIO_info: slow stream, dropouts are possible 11:36:51 AUDIO_info: slow stream, dropouts are possible 11:36:52 AUDIO_info: slow stream, dropouts are possible 11:36:53 AUDIO_info: slow stream, dropouts are possible 11:36:54 AUDIO_info: slow stream, dropouts are possible 11:36:55 AUDIO_info: slow stream, dropouts are possible 11:36:56 AUDIO_info: slow stream, dropouts are possible 11:36:57 AUDIO_info: slow stream, dropouts are possible 11:36:58 AUDIO_info: slow stream, dropouts are possible 11:36:59 AUDIO_info: slow stream, dropouts are possible 11:37:00 AUDIO_info: slow stream, dropouts are possible 11:37:01 AUDIO_info: slow stream, dropouts are possible 11:37:02 AUDIO_info: slow stream, dropouts are possible 11:37:03 AUDIO_info: slow stream, dropouts are possible 11:37:04 AUDIO_info: slow stream, dropouts are possible 11:37:05 AUDIO_info: slow stream, dropouts are possible 11:37:06 AUDIO_info: slow stream, dropouts are possible 11:37:07 AUDIO_info: slow stream, dropouts are possible 11:37:08 AUDIO_info: slow stream, dropouts are possible 11:37:09 AUDIO_info: slow stream, dropouts are possible 11:37:10 AUDIO_info: slow stream, dropouts are possible 11:37:11 AUDIO_info: slow stream, dropouts are possible 11:37:12 AUDIO_info: slow stream, dropouts are possible 11:37:13 AUDIO_info: slow stream, dropouts are possible 11:37:14 AUDIO_info: slow stream, dropouts are possible 11:37:15 AUDIO_info: slow stream, dropouts are possible 11:37:16 AUDIO_info: slow stream, dropouts are possible 11:37:17 AUDIO_info: slow stream, dropouts are possible 11:37:18 AUDIO_info: slow stream, dropouts are possible 11:37:19 AUDIO_info: slow stream, dropouts are possible 11:37:20 AUDIO_info: slow stream, dropouts are possible 11:37:21 AUDIO_info: slow stream, dropouts are possible 11:37:22 AUDIO_info: slow stream, dropouts are possible 11:37:23 AUDIO_info: slow stream, dropouts are possible 11:37:24 AUDIO_info: slow stream, dropouts are possible 11:37:25 AUDIO_info: slow stream, dropouts are possible 11:37:26 AUDIO_info: slow stream, dropouts are possible 11:37:27 AUDIO_info: slow stream, dropouts are possible 11:37:28 AUDIO_info: slow stream, dropouts are possible 11:37:29 AUDIO_info: slow stream, dropouts are possible 11:37:30 AUDIO_info: slow stream, dropouts are possible 11:37:31 AUDIO_info: slow stream, dropouts are possible 11:37:32 AUDIO_info: slow stream, dropouts are possible 11:37:33 AUDIO_info: slow stream, dropouts are possible 11:37:34 AUDIO_info: slow stream, dropouts are possible 11:37:35 AUDIO_info: slow stream, dropouts are possible 11:37:36 AUDIO_info: slow stream, dropouts are possible 11:37:37 AUDIO_info: slow stream, dropouts are possible 11:37:38 AUDIO_info: slow stream, dropouts are possible 11:37:39 AUDIO_info: slow stream, dropouts are possible 11:37:40 AUDIO_info: slow stream, dropouts are possible 11:37:41 AUDIO_info: slow stream, dropouts are possible 11:37:42 AUDIO_info: slow stream, dropouts are possible 11:37:43 AUDIO_info: slow stream, dropouts are possible 11:37:44 AUDIO_info: slow stream, dropouts are possible 11:37:45 AUDIO_info: slow stream, dropouts are possible 11:37:46 AUDIO_info: slow stream, dropouts are possible 11:37:47 AUDIO_info: slow stream, dropouts are possible 11:37:48 AUDIO_info: slow stream, dropouts are possible 11:37:49 AUDIO_info: slow stream, dropouts are possible 11:37:50 AUDIO_info: slow stream, dropouts are possible 11:37:51 AUDIO_info: slow stream, dropouts are possible 11:37:52 AUDIO_info: slow stream, dropouts are possible 11:37:53 AUDIO_info: slow stream, dropouts are possible 11:37:54 AUDIO_info: slow stream, dropouts are possible 11:37:55 AUDIO_info: slow stream, dropouts are possible 11:37:56 AUDIO_info: slow stream, dropouts are possible 11:37:57 AUDIO_info: slow stream, dropouts are possible 11:37:58 AUDIO_info: slow stream, dropouts are possible 11:37:59 AUDIO_info: slow stream, dropouts are possible 11:38:00 AUDIO_info: slow stream, dropouts are possible 11:38:01 AUDIO_info: slow stream, dropouts are possible 11:38:02 AUDIO_info: slow stream, dropouts are possible 11:38:03 AUDIO_info: slow stream, dropouts are possible 11:38:04 AUDIO_info: slow stream, dropouts are possible 11:38:05 AUDIO_info: slow stream, dropouts are possible 11:38:06 AUDIO_info: slow stream, dropouts are possible 11:38:07 AUDIO_info: slow stream, dropouts are possible 11:38:08 AUDIO_info: slow stream, dropouts are possible 11:38:09 AUDIO_info: slow stream, dropouts are possible 11:38:10 AUDIO_info: slow stream, dropouts are possible 11:38:11 AUDIO_info: slow stream, dropouts are possible 11:38:12 AUDIO_info: slow stream, dropouts are possible 11:38:13 AUDIO_info: slow stream, dropouts are possible 11:38:14 AUDIO_info: slow stream, dropouts are possible 11:38:15 AUDIO_info: slow stream, dropouts are possible 11:38:16 AUDIO_info: slow stream, dropouts are possible 11:38:17 AUDIO_info: slow stream, dropouts are possible 11:38:18 AUDIO_info: slow stream, dropouts are possible 11:38:19 AUDIO_info: slow stream, dropouts are possible 11:38:20 AUDIO_info: slow stream, dropouts are possible 11:38:21 AUDIO_info: slow stream, dropouts are possible 11:38:22 AUDIO_info: slow stream, dropouts are possible 11:38:23 AUDIO_info: slow stream, dropouts are possible 11:38:24 AUDIO_info: slow stream, dropouts are possible 11:38:25 AUDIO_info: slow stream, dropouts are possible 11:38:26 AUDIO_info: slow stream, dropouts are possible 11:38:27 AUDIO_info: slow stream, dropouts are possible 11:38:28 AUDIO_info: slow stream, dropouts are possible 11:38:29 AUDIO_info: slow stream, dropouts are possible 11:38:30 AUDIO_info: slow stream, dropouts are possible 11:38:31 AUDIO_info: slow stream, dropouts are possible 11:38:32 AUDIO_info: slow stream, dropouts are possible 11:38:33 AUDIO_info: slow stream, dropouts are possible 11:38:34 AUDIO_info: slow stream, dropouts are possible 11:38:35 AUDIO_info: slow stream, dropouts are possible 11:38:36 AUDIO_info: slow stream, dropouts are possible 11:38:37 AUDIO_info: slow stream, dropouts are possible 11:38:38 AUDIO_info: slow stream, dropouts are possible 11:38:39 AUDIO_info: slow stream, dropouts are possible 11:38:40 AUDIO_info: slow stream, dropouts are possible 11:38:41 AUDIO_info: slow stream, dropouts are possible 11:38:42 AUDIO_info: slow stream, dropouts are possible 11:38:42 StreamTitle: Peter Kent: It's A Real Good Feeling 11:38:43 AUDIO_info: slow stream, dropouts are possible 11:38:44 AUDIO_info: slow stream, dropouts are possible 11:38:45 AUDIO_info: slow stream, dropouts are possible 11:38:46 AUDIO_info: slow stream, dropouts are possible 11:38:47 AUDIO_info: slow stream, dropouts are possible 11:38:48 AUDIO_info: slow stream, dropouts are possible 11:38:49 AUDIO_info: slow stream, dropouts are possible 11:38:50 AUDIO_info: slow stream, dropouts are possible 11:38:51 AUDIO_info: slow stream, dropouts are possible 11:38:52 AUDIO_info: slow stream, dropouts are possible 11:38:53 AUDIO_info: slow stream, dropouts are possible 11:38:54 AUDIO_info: slow stream, dropouts are possible 11:38:55 AUDIO_info: slow stream, dropouts are possible 11:38:56 AUDIO_info: slow stream, dropouts are possible 11:38:57 AUDIO_info: slow stream, dropouts are possible 11:38:58 AUDIO_info: slow stream, dropouts are possible 11:38:59 AUDIO_info: slow stream, dropouts are possible 11:39:00 AUDIO_info: slow stream, dropouts are possible 11:39:01 AUDIO_info: slow stream, dropouts are possible 11:39:02 AUDIO_info: slow stream, dropouts are possible 11:39:03 AUDIO_info: slow stream, dropouts are possible 11:39:04 AUDIO_info: slow stream, dropouts are possible 11:39:05 AUDIO_info: slow stream, dropouts are possible 11:39:06 AUDIO_info: slow stream, dropouts are possible 11:39:07 AUDIO_info: slow stream, dropouts are possible 11:39:08 AUDIO_info: slow stream, dropouts are possible 11:39:09 AUDIO_info: slow stream, dropouts are possible 11:39:10 AUDIO_info: slow stream, dropouts are possible 11:39:11 AUDIO_info: slow stream, dropouts are possible 11:39:12 AUDIO_info: slow stream, dropouts are possible 11:39:13 AUDIO_info: slow stream, dropouts are possible 11:39:14 AUDIO_info: slow stream, dropouts are possible 11:39:15 AUDIO_info: slow stream, dropouts are possible 11:39:16 AUDIO_info: slow stream, dropouts are possible 11:39:17 AUDIO_info: slow stream, dropouts are possible 11:39:18 AUDIO_info: slow stream, dropouts are possible 11:39:19 AUDIO_info: slow stream, dropouts are possible 11:39:20 AUDIO_info: slow stream, dropouts are possible 11:39:21 AUDIO_info: slow stream, dropouts are possible 11:39:22 AUDIO_info: slow stream, dropouts are possible 11:39:23 AUDIO_info: slow stream, dropouts are possible 11:39:24 AUDIO_info: slow stream, dropouts are possible 11:39:25 AUDIO_info: slow stream, dropouts are possible 11:39:26 AUDIO_info: slow stream, dropouts are possible 11:39:27 AUDIO_info: slow stream, dropouts are possible 11:39:28 AUDIO_info: slow stream, dropouts are possible 11:39:29 StreamTitle: BAYERN 1 am Vormittag 11:39:29 AUDIO_info: slow stream, dropouts are possible 11:39:30 AUDIO_info: slow stream, dropouts are possible 11:39:31 AUDIO_info: slow stream, dropouts are possible 11:39:32 AUDIO_info: slow stream, dropouts are possible 11:39:33 AUDIO_info: slow stream, dropouts are possible 11:39:34 AUDIO_info: slow stream, dropouts are possible 11:39:35 AUDIO_info: slow stream, dropouts are possible 11:39:36 AUDIO_info: slow stream, dropouts are possible 11:39:37 AUDIO_info: slow stream, dropouts are possible 11:39:38 AUDIO_info: slow stream, dropouts are possible 11:39:39 AUDIO_info: slow stream, dropouts are possible 11:39:40 AUDIO_info: slow stream, dropouts are possible 11:39:41 AUDIO_info: slow stream, dropouts are possible 11:39:42 AUDIO_info: slow stream, dropouts are possible 11:39:43 AUDIO_info: slow stream, dropouts are possible 11:39:44 AUDIO_info: slow stream, dropouts are possible 11:39:45 AUDIO_info: slow stream, dropouts are possible 11:39:46 AUDIO_info: slow stream, dropouts are possible 11:39:47 AUDIO_info: slow stream, dropouts are possible 11:39:48 AUDIO_info: slow stream, dropouts are possible 11:39:49 AUDIO_info: slow stream, dropouts are possible 11:39:50 AUDIO_info: slow stream, dropouts are possible 11:39:51 AUDIO_info: slow stream, dropouts are possible 11:39:52 AUDIO_info: slow stream, dropouts are possible 11:39:53 AUDIO_info: slow stream, dropouts are possible 11:39:54 AUDIO_info: slow stream, dropouts are possible 11:39:55 AUDIO_info: slow stream, dropouts are possible 11:39:56 AUDIO_info: slow stream, dropouts are possible 11:39:57 AUDIO_info: slow stream, dropouts are possible 11:39:58 AUDIO_info: slow stream, dropouts are possible 11:39:59 AUDIO_info: slow stream, dropouts are possible 11:40:00 AUDIO_info: slow stream, dropouts are possible 11:40:01 AUDIO_info: slow stream, dropouts are possible 11:40:02 AUDIO_info: slow stream, dropouts are possible 11:40:03 AUDIO_info: slow stream, dropouts are possible 11:40:04 AUDIO_info: slow stream, dropouts are possible 11:40:05 AUDIO_info: slow stream, dropouts are possible 11:40:06 AUDIO_info: slow stream, dropouts are possible 11:40:07 AUDIO_info: slow stream, dropouts are possible 11:40:08 AUDIO_info: slow stream, dropouts are possible 11:40:09 AUDIO_info: slow stream, dropouts are possible 11:40:10 AUDIO_info: slow stream, dropouts are possible 11:40:11 AUDIO_info: slow stream, dropouts are possible 11:40:12 AUDIO_info: slow stream, dropouts are possible 11:40:13 AUDIO_info: slow stream, dropouts are possible 11:40:14 AUDIO_info: slow stream, dropouts are possible 11:40:14 StreamTitle: Peter Kent: It's A Real Good Feeling 11:40:15 AUDIO_info: slow stream, dropouts are possible 11:40:16 AUDIO_info: slow stream, dropouts are possible 11:40:17 AUDIO_info: slow stream, dropouts are possible 11:40:18 AUDIO_info: slow stream, dropouts are possible 11:40:19 AUDIO_info: slow stream, dropouts are possible 11:40:20 AUDIO_info: slow stream, dropouts are possible 11:40:21 AUDIO_info: slow stream, dropouts are possible 11:40:22 AUDIO_info: slow stream, dropouts are possible 11:40:23 AUDIO_info: slow stream, dropouts are possible 11:40:24 AUDIO_info: slow stream, dropouts are possible 11:40:25 AUDIO_info: slow stream, dropouts are possible 11:40:26 AUDIO_info: slow stream, dropouts are possible 11:40:27 AUDIO_info: slow stream, dropouts are possible 11:40:28 AUDIO_info: slow stream, dropouts are possible 11:40:29 AUDIO_info: slow stream, dropouts are possible

assert failed: xQueueSemaphoreTake IDF\components\freertos\queue.c:1549 (pxQueue->uxItemSize == 0)

Backtrace: 0x40084d71:0x3ffda980 0x4008f5ad:0x3ffda9a0 0x400996f9:0x3ffda9c0 0x400906e9:0x3ffdaaf0 0x400976ad:0x3ffdab30 0x40097504:0x3ffdab50 0x400974c2:0x3ffdab70 0x40096ced:0x3ffdab90 0x401a1dd4:0x3ffdabb0 0x400df68e:0x3ffdabd0 0x400df6bb:0x3ffdac00 0x400e9a04:0x3ffdac40 0x400ea771:0x3ffdaeb0 0x400d380b:0x3ffdaed0

0 0x40084d71:0x3ffda980 in panic_abort at C:\Users\Hoeckmayr.platformio\packages\framework-espidf@3.40404.0\components\esp_system/panic.c:408

1 0x4008f5ad:0x3ffda9a0 in esp_system_abort at C:\Users\Hoeckmayr.platformio\packages\framework-espidf@3.40404.0\components\esp_system/esp_system.c:137

2 0x400996f9:0x3ffda9c0 in __assert_func at C:\Users\Hoeckmayr.platformio\packages\framework-espidf@3.40404.0\components\newlib/assert.c:85

3 0x400906e9:0x3ffdaaf0 in xQueueSemaphoreTake at C:\Users\Hoeckmayr.platformio\packages\framework-espidf@3.40404.0\components\freertos/queue.c:1549 (discriminator 1)

4 0x400976ad:0x3ffdab30 in sys_mutex_lock at C:\Users\Hoeckmayr.platformio\packages\framework-espidf@3.40404.0\components\lwip\port\esp32\freertos/sys_arch.c:82

5 0x40097504:0x3ffdab50 in sock_inc_used at C:\Users\Hoeckmayr.platformio\packages\framework-espidf@3.40404.0\components\lwip\lwip\src\api/sockets.c:351

  (inlined by) tryget_socket_unconn at C:\Users\Hoeckmayr\.platformio\packages\framework-espidf@3.40404.0\components\lwip\lwip\src\api/sockets.c:472

6 0x400974c2:0x3ffdab70 in tryget_socket at C:\Users\Hoeckmayr.platformio\packages\framework-espidf@3.40404.0\components\lwip\lwip\src\api/sockets.c:505

7 0x40096ced:0x3ffdab90 in get_socket at C:\Users\Hoeckmayr.platformio\packages\framework-espidf@3.40404.0\components\lwip\lwip\src\api/sockets.c:524

8 0x401a1dd4:0x3ffdabb0 in lwip_ioctl at C:\Users\Hoeckmayr.platformio\packages\framework-espidf@3.40404.0\components\lwip\lwip\src\api/sockets.c:3895

9 0x400df68e:0x3ffdabd0 in WiFiClientRxBuffer::r_available() at C:/Users/Hoeckmayr/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.cpp:51

10 0x400df6bb:0x3ffdac00 in WiFiClientRxBuffer::available() at C:/Users/Hoeckmayr/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.cpp:154

  (inlined by) WiFiClient::available() at C:/Users/Hoeckmayr/.platformio/packages/framework-arduinoespressif32/libraries/WiFi/src/WiFiClient.cpp:493

11 0x400e9a04:0x3ffdac40 in VS1053::processWebStream() at .pio/libdeps/esp32/ESP32-vs1053_ext/src/vs1053_ext.cpp:784

12 0x400ea771:0x3ffdaeb0 in VS1053::loop() at .pio/libdeps/esp32/ESP32-vs1053_ext/src/vs1053_ext.cpp:576 (discriminator 1)

13 0x400d380b:0x3ffdaed0 in audioTask(void*) at src/audiotask.cpp:174

ELF file SHA256: e2a8cc77fa1457eb

Rebooting... ets Jun 8 2016 00:22:57

rst:0xc (SW_CPU_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:2 load:0x3fff0030,len:1344 load:0x40078000,len:13924 ho 0 tail 12 room 4 load:0x40080400,len:3600 entry 0x400805f0 E (1015) psram: PSRAM ID read error: 0xffffffff [ 3][W][esp32-hal-psram.c:71] psramInit(): PSRAM init failed!

ESP32 Chip: ESP32-D0WDQ6 Arduino Version: 2.0.9 ESP-IDF Version: 4.4.4 ARDUINO_LOOP_STACK_SIZE 8192 words (32 bit) PSRAM not found! MiniWebRadio will not work properly! 09:40:24 09:40:24 09:40:24 MiniWebRadio V2
09:40:24
09:40:24 09:40:24 setup: .... Arduino is pinned to core 1 09:40:24 tft_info: . init ILI9341 09:40:25 setup: .... Init SD card 09:40:25 setup: .... SD card found, 944.8 MB by 968.8 MB free 09:40:25 setup: .... seek for stations.csv 09:40:25 setup: .... stations.csv found 09:40:25 setup: .... seek for WiFi networks [ 857][I][WiFiMulti.cpp:84] addAP(): [WIFI][APlistAdd] add SSID: FRITZ!Box7490LF [ 7189][I][WiFiMulti.cpp:114] run(): [WIFI] scan done [ 7189][I][WiFiMulti.cpp:119] run(): [WIFI] 10 networks found [ 7191][I][WiFiMulti.cpp:160] run(): [WIFI] Connecting BSSID: C8:0E:14:0C:93:11 SSID: FRITZ!Box7490LF Channel: 6 (-36) [ 7227][W][WiFiGeneric.cpp:1057] _eventCallback(): Reason: 202 - AUTH_FAIL [ 7316][I][WiFiMulti.cpp:174] run(): [WIFI] Connecting done. 09:40:32 WiFI_info: Connecting WiFi... 09:40:32 setup: .... connected to FRITZ!Box7490LF, IP address is 192.168.178.35 09:40:32 ftpServer: Buffers allocated: 4622 bytes 09:40:32 rtime_info: Initializing SNTP 11:40:32 rtime_info: 11:40:32 11:40:32 audiotask: is pinned to core 1 11:40:32 audiotask: priority is 2 11:40:32 VS1053 chipID = 1279067256, version = 3 11:40:32 setup: .... Number of saved stations: 48 11:40:32 setup: .... current station number: 1 11:40:32 setup: .... current volume: 12 11:40:32 setup: .... last connected host: http://f111.rndfnk.com/ard/br/br1/obb/mp3/128/stream.mp3?cid=01FB9ME7567MEQ5G72EVEEVVCS&sid=2S6O1oAzcHbbx686FgcDcwBmLUf&token=WtrGOm1vtORwlbqpfe8ex3xsAeKUrh5q1HvOJR39Me8&tvf=Ylph9B20bhdmMTExLnJuZGZuay5jb20 11:40:32 setup: .... connection timeout: 500 ms 11:40:32 setup: .... connection timeout SSL: 2000 ms 11:40:32 action: ... current volume is 12 11:40:32 action: ... switch to station 1 11:40:32 AUDIO_info: Connect to new host: "http://streams.br.de/bayern1obb_2.m3u" 11:40:32 AUDIO_info: Song stopped correctly after 0 msec 11:40:32 AUDIO_info: PSRAM not found, inputBufferSize: 14399 bytes 11:40:32 AUDIO_info: Connection has been established in 25 ms, free Heap: 116572 bytes 11:40:32 AUDIO_info: Connect to new host: "http://dispatcher.rndfnk.com/br/br1/obb/mp3/mid" 11:40:32 AUDIO_info: Song stopped correctly after 0 msec 11:40:32 AUDIO_info: Connection has been established in 33 ms, free Heap: 115948 bytes 11:40:32 AUDIO_info: redirect to new host "http://d111.rndfnk.com/ard/br/br1/obb/mp3/128/stream.mp3?cid=01FB9ME7567MEQ5G72EVEEVVCS&sid=2S6Oc4xNUAsFFzr6HsaBXadHiKH&token=9JcpE5StgXSX5otsLHeOgvMstsdmdeDsrD5ahjWcTag&tvf=0hvxKmG0bhdkMTExLnJuZGZuay5jb20" 11:40:32 AUDIO_info: Connect to new host: "http://d111.rndfnk.com/ard/br/br1/obb/mp3/128/stream.mp3?cid=01FB9ME7567MEQ5G72EVEEVVCS&sid=2S6Oc4xNUAsFFzr6HsaBXadHiKH&token=9JcpE5StgXSX5otsLHeOgvMstsdmdeDsrD5ahjWcTag&tvf=0hvxKmG0bhdkMTExLnJuZGZuay5jb20" 11:40:32 AUDIO_info: Song stopped correctly after 0 msec 11:40:33 AUDIO_info: Connection has been established in 28 ms, free Heap: 115652 bytes 11:40:33 WiFI_info: RSSI is -43 dB 11:40:33 bitRate: 128Kbit/s 11:40:33 icy-descr: BAYERN 1 Oberbayern 11:40:33 AUDIO_info: icy-name: BAYERN 1 Oberbayern 11:40:33 StationName: BAYERN 1 Oberbayern 11:40:33 lastURL: .. http://d111.rndfnk.com/ard/br/br1/obb/mp3/128/stream.mp3?cid=01FB9ME7567MEQ5G72EVEEVVCS&sid=2S6Oc4xNUAsFFzr6HsaBXadHiKH&token=9JcpE5StgXSX5otsLHeOgvMstsdmdeDsrD5ahjWcTag&tvf=0hvxKmG0bhdkMTExLnJuZGZuay5jb20 11:40:33 DLNA_info: SSDP search for media servers started 11:40:33 AUDIO_info: stream ready 11:40:33 StreamTitle: Peter Kent: It's A Real Good Feeling 11:40:37 DLNA_info: SSDP query discovered 2 media servers 11:40:37 DLNA_info: connected successfully to 192.168.178.24:50001 11:40:37 DLNA_info: connected successfully to 192.168.178.29:2869 11:40:37 ftpServer: Ftp server waiting for connection on port 21 11:40:38 Audiocodec: MP3 11:42:21 StreamTitle: Amy MacDonald: This Is The Life 11:45:41 StreamTitle: Udo Lindenberg: Horizont 11:46:13 StreamTitle: BAYERN 1 am Vormittag 11:46:50 StreamTitle: Udo Lindenberg: Horizont 11:49:19 StreamTitle: Roxette: Joyride

valera39 commented 1 year ago

TubaFonse, It's probably because The latest firmware requires ESP32 with PSRAM https://github.com/schreibfaul1/ESP32-MiniWebRadio/blob/master/README.md

schreibfaul1 commented 1 year ago

Hallo TubaFonse, das ist schon richtig, was valera39 hier schreibt. Wenn du einen externen DAC benutzt geht nichts ohne PSRAM. In deinem Fall hast du einen HW Dekoder und damit wird es gerade so funktionieren. Mein allererstes Radio hat auch nur einen ESP32 ohne PSRAM und läuft trotzdem. Aber das interne SRAM ist extrem knapp. Ich denke, du hast einen älteren VS1053, der nicht mit dem Userpatch kompatibel ist. Leider habe ich dieses Patch eingeschaltet (war in den Vorgängerversionen immer deaktiviert) Nimm bitte die neueste Version und aktualisiere bitte auch den Inhalt der SD, sichere vorher die stations.csv damit deine Senderliste nicht überschrieben wird. Und jetzt das wichtige: in der vs1053_ext.cpp muss LOAD_VS0153_PLUGINdeaktiviert werden. image

Im Projekt kann es die Datei doppelt geben, für ESP32 und ESP32-S3. Das wird die Problemursache sei. Ohne den Userpatch funktioniert das VU Meter leider nicht.

Überlege, ob du nicht lieber einen exteren DAC, z.B. PCM5102 einsetzen möchtest.

viele Grüße aus Berlin Wolle

TubaFonse commented 1 year ago

Hallo Wolle, erstmals herzlichen Dank für Deine vorbildliche Unterstützung mit Erklärungen! Ich war nur etwas irritiert von der Notwendigkeit des PSRAM, da meine Konfiguration mit einfachem ESP32 (ohne PSRAM) mit der aktuellen FW und gepatchtem VS1053 gerade so läuft (sogar das VU-Meter!). Jedoch erst nachdem der Controller nach ca. 7 Minuten ab Power-On und unzähligen dropouts in die Gänge kommt (siehe o.g. Trace) spielt das Radio. Heute ist der ESP32-S3-WROOM-1-N16R8 und PCM5102A angekommen, aber ich finde nicht das Menü bzw menuconfig, wo ich OCTAL einstellen muss, wo ist das im VisualStudio / PlatformIO zu finden? Dein Hinweis in platformio.ini: in menuconfig the type of PSRAM must be changed from QUAD to OCTAL! ; component config ---> ESP32S3-Specific ---> SPI RAM config ---> MODE (QUAD/OCT)... ---> (x) Octal Mode PSRAM

viele Grüße vom Starnberger See TubaFonse

schreibfaul1 commented 1 year ago

ja, das menuconfig ist etwas versteckt, aber auch das gibt es doppelt je nach Umgebung.

image

TubaFonse commented 1 year ago

danke Wolle, endlich geschafft das PSRAM zu konfigurieren und dank Deiner professionellen Hilfe wieder sehr viel dazugelernt. Bin gerade dabei den Fehler einzugrenzen, weil der Zugriff auf die SD-Card mit meinem neuen ESP32-S3-WROOM-1-N16R8 leider nicht funktioniert, bin fast am verzweifeln (d.h. bootet endlos, wenn die SD-Karte eingesteckt ist). Hat mein folgendes Problem evtl. mit dem Boot-Loop-Problem des ESP32-S3 zu tun? ece3808,len:0x44c load:0x403c9700,len:0xbe4 load:0x403cc700,len:0x2a38 entry 0x403c98d4 [ 981][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled ESP-ROM:esp32s3-20210327 Build:Mar 27 2021 rst:0x8 (TG1WDT_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT) Saved PC:0x40377991 SPIWP:0xee mode:DIO, clock div:1 load:0x3fce3808,len:0x44c load:0x403c9700,len:0xbe4 load:0x403cc700,len:0x2a38 entry 0x403c98d4 [ 985][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled ESP-ROM:esp32s3-20210327 Build:Mar 27 2021 rst:0x8 (TG1WDT_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT) Saved PC:0x40377991 SPIWP:0xee mode:DIO, clock div:1 load:0x3fce3808,len:0x44c load:0x403c9700,len:0xbe4 load:0x403cc700,len:0x2a38 entry 0x403c98d4 [ 985][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled ESP-ROM:esp32s3-20210327 Build:Mar 27 2021 rst:0x8 (TG1WDT_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT) Saved PC:0x40377991 SPIWP:0xee mode:DIO, clock div:1 load:0x3fce3808,len:0x44c load:0x403c9700,len:0xbe4 load:0x403cc700,len:0x2a38 entry 0x403c98d4 [ 985][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled ESP-ROM:esp32s3-20210327

P.S.: Ich warte noch Deine Antwort ab, werde dann aber dieses Issue schließen, weil es mit dem ursprünglichen Problem (siehe Titel) in diesem Chat nichts mehr zu tun hat. Schönen Sonntag und LG, TubaFonse

schreibfaul1 commented 1 year ago

Hallo @TubaFonse, das sieht soweit gut aus, die Konfiguration ist okay. Aber du kommst nicht bis ins setup(), da ist vorher schon ein Problem. Ich hoffe, dein Board befindet sich noch auf einem Steckbrett. Ich vermute einen Fehler in der Außenbeschaltung. Wenn du das Board aus der Schaltung ziehst, müsste es bis zur SD_MMC laufen und erkennen, dass diese fehlt. Und das ohne WDT1 SYS_RST Bei mir sieht es dann so aus: image Wenn du auch soweit kommst liegt der Fehler in der Beschaltung, andernfalls ist das Board defekt (glaube ich aber nicht) dann kannst du vielleicht runter vom 16MB auf die 8MB Version, vom Flash werden nur fast 4MB benutzt,

TubaFonse commented 1 year ago

Problem gelöst mit aktueller Firmware.