Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Communication error with the LCD2004 display. #393

Open
hevet opened this issue Oct 19, 2020 · 13 comments
Open

Communication error with the LCD2004 display. #393

hevet opened this issue Oct 19, 2020 · 13 comments

Comments

@hevet
Copy link

hevet commented Oct 19, 2020

After uploading the latest version, there is a problem with the LCD2004 display. There is an error comunication error with the display in the terminal. The radio tries to initialize it, after an unsuccessful attempt, it restarts with the network and tries to initialize the display again. After several attempts, it finally succeeds, sometimes it takes a few minutes, but it can also start without a working display. Checked on two displays. I have downloaded an older version and there is no problem, the radio starts up quickly and there is no problem with initializing the display.

@Edzelf
Copy link
Owner

Edzelf commented Oct 19, 2020

Please show the logging.

@hevet
Copy link
Author

hevet commented Oct 19, 2020

`ets Jun 8 2016 00:22:57

rst:0x1 (POWERON_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:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5816
entry 0x400806ac

D: Starting ESP32-radio running on CPU 1 at 240 MHz. Version Sun, 18 Oct 2020 10:15:00 GMT. Free memory 287572
D: Display type is LCD2004
D: Partition nvs found, 20480 bytes
D: Read 66 keys from NVS
D: pin_ir set to 0
D: pin_enc_clk set to -1
D: pin_enc_dt set to -1
D: pin_enc_sw set to -1
D: pin_tft_cs set to 16
D: pin_tft_dc set to 17
D: pin_tft_scl set to 22
D: pin_tft_sda set to 21
D: pin_tft_bl set to -1
D: pin_tft_blx set to -1
D: pin_sd_cs set to -1
D: pin_ch376_cs set to -1
D: pin_ch376_int set to -1
D: pin_vs_cs set to 27
D: pin_vs_dcs set to 14
D: pin_vs_dreq set to 26
D: pin_shutdown set to -1
D: pin_shutdownx set to -1
D: pin_spi_sck set to 18
D: pin_spi_miso set to 19
D: pin_spi_mosi set to 23
D: GPIO0 is HIGH
D: GPIO2 is LOW, probably no PULL-UP
D: GPIO4 is HIGH
D: GPIO5 is HIGH
D: GPIO12 is HIGH
D: GPIO13 is HIGH
D: GPIO14 is HIGH
D: GPIO15 is HIGH
D: GPIO16 is HIGH
D: GPIO17 is HIGH
D: GPIO18 is HIGH
D: GPIO19 is LOW, probably no PULL-UP
D: GPIO21 is HIGH
D: GPIO22 is HIGH
D: GPIO23 is HIGH
D: GPIO25 is HIGH
D: GPIO26 is HIGH
D: GPIO27 is HIGH
D: GPIO32 is HIGH
D: GPIO33 is HIGH
D: GPIO34 is LOW, probably no PULL-UP
D: GPIO35 is LOW, probably no PULL-UP
D: GPIO39 is LOW, probably no PULL-UP
D: gpio_12 will execute upvolume = 2
D: gpio_13 will execute downvolume = 2
D: gpio_15 will execute downpreset = 1
D: Enable pin 0 for IR
D: Start display
D: Init LCD2004, I2C pins 21,22
D: LCD2004 communication error!
D: Create list with acceptable WiFi networks
D: Added HUAWEI to list of networks
D: Added SSID2 to list of networks
D: End adding networks
D: Scan Networks
D: Scan completed
D: Number of available networks: 3
D: 1 - HUAWEI Signal: -61 dBm, Encryption WPA2_PSK, Acceptable
D: 2 - Orange-6040 Signal: -73 dBm, Encryption WPA_WPA2_PSK,
D: 3 - PLAY INTERNET 4G LTE-729B Signal: -91 dBm, Encryption WPA2_PSK,
D: End of list
D: Command: clk_dst with parameter 1
D: Command: clk_offset with parameter 1
D: Command: clk_server with parameter pool.ntp.org
D: Command: gpio_12 with parameter upvolume = 2
D: Command: gpio_13 with parameter downvolume = 2
D: Command: gpio_15 with parameter downpreset = 1
D: Command: ir_10ef with parameter preset = 7
D: Command: ir_18e7 with parameter preset = 5
D: Command: ir_22dd with parameter downvolume = 2
D: Command: ir_30cf with parameter preset = 4
D: Command: ir_38c7 with parameter preset = 8
D: Command: ir_42bd with parameter mute
D: Command: ir_4ab5 with parameter preset = 0
D: Command: ir_5aa5 with parameter preset = 9
D: Command: ir_629d with parameter uppreset = 1
D: Command: ir_6897 with parameter preset = 1
D: Command: ir_7a85 with parameter preset = 6
D: Command: ir_9867 with parameter preset = 2
D: Command: ir_a857 with parameter downpreset = 1
D: Command: ir_b04f with parameter preset = 3
D: Command: ir_c23d with parameter upvolume = 2
D: Command: lstmods with parameter Tue, 14 Jul 2020 09:44:13 GMT
D: Command: mqttbroker with parameter none
D: Command: mqttpasswd with parameter *******
D: Command: mqttport with parameter 1883
D: Command: mqttprefix with parameter none
D: Command: mqttuser with parameter none
D: Command: pin_enc_clk with parameter -1
D: Command: pin_enc_dt with parameter -1
D: Command: pin_enc_sw with parameter -1
D: Command: pin_ir with parameter 0
D: Command: pin_sd_cs with parameter -1
D: Command: pin_tft_cs with parameter 16
D: Command: pin_tft_dc with parameter 17
D: Command: pin_tft_scl with parameter 22
D: Command: pin_tft_sda with parameter 21
D: Command: pin_vs_cs with parameter 27
D: Command: pin_vs_dcs with parameter 14
D: Command: pin_vs_dreq with parameter 26
D: Command: preset with parameter 7
D: Command: preset_00 with parameter zet-net-01.cdn.eurozet.pl:8400/
D: Command: preset_01 with parameter mel0101.cdn.eurozet.pl:8820/mel-trn.mp3
D: Command: preset_02 with parameter waw01-01.ic.smcdn.pl:8000/t054-1.mp3
D: Command: preset_03 with parameter plu-bdg-01.cdn.eurozet.pl:8302/
D: Command: preset_04 with parameter stream4.nadaje.com:8002/muzo
D: Command: preset_05 with parameter stream.super.fm:8000/superfm.mp3
D: Command: preset_06 with parameter rs6-krk2.rmfstream.pl/rmf_maxxx
D: Command: preset_07 with parameter stream14.radioagora.pl:80/tuba9006-1.mp3
D: Command: preset_08 with parameter mp3.polskieradio.pl:8906
D: Command: preset_09 with parameter stream.rcs.revma.com/ypqt40u0x1zuv
D: Command: preset_10 with parameter stream3.nadaje.com:9120/radiokrakow
D: Command: preset_11 with parameter 195.150.20.7:80/rmf_fm
D: Command: preset_12 with parameter media.wnet.fm:8000/wnet.fm
D: Command: preset_13 with parameter air.radiorecord.ru:8102/rock_320
D: Command: preset_14 with parameter stream10.radioagora.pl/zp_byd_128.mp3
D: Command: preset_15 with parameter stream10.radioagora.pl:80/pog_byd_128.mp3
D: Command: preset_16 with parameter stream.rcs.revma.com/yx6cub73kwzuv
D: Command: preset_17 with parameter 195.150.20.5:80/rmf_classic
D: Command: preset_18 with parameter waw01-02.ic.smcdn.pl:8000/t041-1.mp3
D: Command: toneha with parameter 5
D: Command: tonehf with parameter 4
D: Command: tonela with parameter 12
D: Command: tonelf with parameter 14
D: Command: volume with parameter 68
D: Slow SPI, Testing VS1053 read/write registers...
D: Fast SPI, Testing VS1053 read/write registers again...
D: endFillByte is 0
D: Connect to WiFi
D: Connected to HUAWEI
D: IP = 192.168.8.105
D: Start server for commands
D: Network found. Starting mqtt and OTA
D: MDNS responder started
D: Rotary encoder is disabled (-1/-1/-1)
D: Sync TOD
D: Sync TOD, new value is 10:51:04
D: STOP requested
D: New preset/file requested (7/0) from stream14.radioagora.pl:80/tuba9006-1.mp3
D: Connect to new host stream14.radioagora.pl:80/tuba9006-1.mp3
D: Song stopped correctly after 0 msec
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x4014806a PS : 0x00060630 A0 : 0x801490e9 A1 : 0x3ffb1c00
A2 : 0x3ffd8650 A3 : 0x3ffb1c30 A4 : 0x3ffd8690 A5 : 0x00000000
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3ffb1be0
A10 : 0x3ffd86b4 A11 : 0x00000014 A12 : 0x400861f0 A13 : 0x3ffd86a0
A14 : 0x3ffb867e A15 : 0x00000001 SAR : 0x00000012 EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000010 LBEG : 0x4000c46c LEND : 0x4000c477 LCOUNT : 0x00000000

Backtrace: 0x4014806a:0x3ffb1c00 0x401490e6:0x3ffb1c20 0x400d2389:0x3ffb1c60 0x400d23d2:0x3ffb1c80 0x400d23ff:0x3ffb1ca0 0x400d2410:0x3ffb1cc0 0x400d2539:0x3ffb1ce0 0x400d276a:0x3ffb1d10 0x400d6191:0x3ffb1d80 0x400d87a9:0x3ffb1ec0 0x400db8e7:0x3ffb1f60 0x400e3cd5:0x3ffb1fb0 0x4008aba9:0x3ffb1fd0

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:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5816
entry 0x400806ac

D: Starting ESP32-radio running on CPU 1 at 240 MHz. Version Sun, 18 Oct 2020 10:15:00 GMT. Free memory 287572
D: Display type is LCD2004
D: Partition nvs found, 20480 bytes
D: Read 66 keys from NVS
D: pin_ir set to 0
D: pin_enc_clk set to -1
D: pin_enc_dt set to -1
D: pin_enc_sw set to -1
D: pin_tft_cs set to 16
D: pin_tft_dc set to 17
D: pin_tft_scl set to 22
D: pin_tft_sda set to 21
D: pin_tft_bl set to -1
D: pin_tft_blx set to -1
D: pin_sd_cs set to -1
D: pin_ch376_cs set to -1
D: pin_ch376_int set to -1
D: pin_vs_cs set to 27
D: pin_vs_dcs set to 14
D: pin_vs_dreq set to 26
D: pin_shutdown set to -1
D: pin_shutdownx set to -1
D: pin_spi_sck set to 18
D: pin_spi_miso set to 19
D: pin_spi_mosi set to 23
D: GPIO0 is HIGH
D: GPIO2 is LOW, probably no PULL-UP
D: GPIO4 is HIGH
D: GPIO5 is HIGH
D: GPIO12 is HIGH
D: GPIO13 is HIGH
D: GPIO14 is HIGH
D: GPIO15 is HIGH
D: GPIO16 is HIGH
D: GPIO17 is HIGH
D: GPIO18 is LOW, probably no PULL-UP
D: GPIO19 is HIGH
D: GPIO21 is HIGH
D: GPIO22 is HIGH
D: GPIO23 is HIGH
D: GPIO25 is HIGH
D: GPIO26 is HIGH
D: GPIO27 is HIGH
D: GPIO32 is HIGH
D: GPIO33 is HIGH
D: GPIO34 is LOW, probably no PULL-UP
D: GPIO35 is LOW, probably no PULL-UP
D: GPIO39 is LOW, probably no PULL-UP
D: gpio_12 will execute upvolume = 2
D: gpio_13 will execute downvolume = 2
D: gpio_15 will execute downpreset = 1
D: Enable pin 0 for IR
D: Start display
D: Init LCD2004, I2C pins 21,22
D: LCD2004 communication error!
D: LCD2004 communication error!
D: Create list with acceptable WiFi networks
D: Added HUAWEI to list of networks
D: Added SSID2 to list of networks
D: End adding networks
D: Scan Networks
D: Scan completed
D: Number of available networks: 3
D: 1 - HUAWEI Signal: -51 dBm, Encryption WPA2_PSK, Acceptable
D: 2 - Orange-6040 Signal: -75 dBm, Encryption WPA_WPA2_PSK,
D: 3 - PLAY INTERNET 4G LTE-729B Signal: -92 dBm, Encryption WPA2_PSK,
D: End of list
D: Command: clk_dst with parameter 1
D: Command: clk_offset with parameter 1
D: Command: clk_server with parameter pool.ntp.org
D: Command: gpio_12 with parameter upvolume = 2
D: Command: gpio_13 with parameter downvolume = 2
D: Command: gpio_15 with parameter downpreset = 1
D: Command: ir_10ef with parameter preset = 7
D: Command: ir_18e7 with parameter preset = 5
D: Command: ir_22dd with parameter downvolume = 2
D: Command: ir_30cf with parameter preset = 4
D: Command: ir_38c7 with parameter preset = 8
D: Command: ir_42bd with parameter mute
D: Command: ir_4ab5 with parameter preset = 0
D: Command: ir_5aa5 with parameter preset = 9
D: Command: ir_629d with parameter uppreset = 1
D: Command: ir_6897 with parameter preset = 1
D: Command: ir_7a85 with parameter preset = 6
D: Command: ir_9867 with parameter preset = 2
D: Command: ir_a857 with parameter downpreset = 1
D: Command: ir_b04f with parameter preset = 3
D: Command: ir_c23d with parameter upvolume = 2
D: Command: lstmods with parameter Tue, 14 Jul 2020 09:44:13 GMT
D: Command: mqttbroker with parameter none
D: Command: mqttpasswd with parameter *******
D: Command: mqttport with parameter 1883
D: Command: mqttprefix with parameter none
D: Command: mqttuser with parameter none
D: Command: pin_enc_clk with parameter -1
D: Command: pin_enc_dt with parameter -1
D: Command: pin_enc_sw with parameter -1
D: Command: pin_ir with parameter 0
D: Command: pin_sd_cs with parameter -1
D: Command: pin_tft_cs with parameter 16
D: Command: pin_tft_dc with parameter 17
D: Command: pin_tft_scl with parameter 22
D: Command: pin_tft_sda with parameter 21
D: Command: pin_vs_cs with parameter 27
D: Command: pin_vs_dcs with parameter 14
D: Command: pin_vs_dreq with parameter 26
D: Command: preset with parameter 7
D: Command: preset_00 with parameter zet-net-01.cdn.eurozet.pl:8400/
D: Command: preset_01 with parameter mel0101.cdn.eurozet.pl:8820/mel-trn.mp3
D: Command: preset_02 with parameter waw01-01.ic.smcdn.pl:8000/t054-1.mp3
D: Command: preset_03 with parameter plu-bdg-01.cdn.eurozet.pl:8302/
D: Command: preset_04 with parameter stream4.nadaje.com:8002/muzo
D: Command: preset_05 with parameter stream.super.fm:8000/superfm.mp3
D: Command: preset_06 with parameter rs6-krk2.rmfstream.pl/rmf_maxxx
D: Command: preset_07 with parameter stream14.radioagora.pl:80/tuba9006-1.mp3
D: Command: preset_08 with parameter mp3.polskieradio.pl:8906
D: Command: preset_09 with parameter stream.rcs.revma.com/ypqt40u0x1zuv
D: Command: preset_10 with parameter stream3.nadaje.com:9120/radiokrakow
D: Command: preset_11 with parameter 195.150.20.7:80/rmf_fm
D: Command: preset_12 with parameter media.wnet.fm:8000/wnet.fm
D: Command: preset_13 with parameter air.radiorecord.ru:8102/rock_320
D: Command: preset_14 with parameter stream10.radioagora.pl/zp_byd_128.mp3
D: Command: preset_15 with parameter stream10.radioagora.pl:80/pog_byd_128.mp3
D: Command: preset_16 with parameter stream.rcs.revma.com/yx6cub73kwzuv
D: Command: preset_17 with parameter 195.150.20.5:80/rmf_classic
D: Command: preset_18 with parameter waw01-02.ic.smcdn.pl:8000/t041-1.mp3
D: Command: toneha with parameter 5
D: Command: tonehf with parameter 4
D: Command: tonela with parameter 12
D: Command: tonelf with parameter 14
D: Command: volume with parameter 68
D: Slow SPI, Testing VS1053 read/write registers...
D: Fast SPI, Testing VS1053 read/write registers again...
D: endFillByte is 0
D: Connect to WiFi
D: Connected to HUAWEI
D: IP = 192.168.8.105
D: Start server for commands
D: Network found. Starting mqtt and OTA
D: MDNS responder started
D: Rotary encoder is disabled (-1/-1/-1)
D: Sync TOD
D: Sync TOD, new value is 10:51:16
D: STOP requested
D: New preset/file requested (7/0) from stream14.radioagora.pl:80/tuba9006-1.mp3
D: Connect to new host stream14.radioagora.pl:80/tuba9006-1.mp3
D: Song stopped correctly after 0 msec
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x4014806a PS : 0x00060130 A0 : 0x8014906e A1 : 0x3ffb1c00
A2 : 0x3ffd3dcc A3 : 0x3ffb1c30 A4 : 0x3ffd3a28 A5 : 0x00000000
A6 : 0x00000000 A7 : 0x00000000 A8 : 0x00000000 A9 : 0x3ffb1be0
A10 : 0x3ffd39e0 A11 : 0x00000014 A12 : 0x400861f0 A13 : 0x3ffd3a38
A14 : 0x3ffb8609 A15 : 0x00000001 SAR : 0x00000012 EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000010 LBEG : 0x4000c46c LEND : 0x4000c477 LCOUNT : 0x00000000

Backtrace: 0x4014806a:0x3ffb1c00 0x4014906b:0x3ffb1c20 0x400d2394:0x3ffb1c60 0x400d23d2:0x3ffb1c80 0x400d23ff:0x3ffb1ca0 0x400d2410:0x3ffb1cc0 0x400d2539:0x3ffb1ce0 0x400d276a:0x3ffb1d10 0x400d6191:0x3ffb1d80 0x400d87a9:0x3ffb1ec0 0x400db8e7:0x3ffb1f60 0x400e3cd5:0x3ffb1fb0 0x4008aba9:0x3ffb1fd0

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:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5816
entry 0x400806ac

D: Starting ESP32-radio running on CPU 1 at 240 MHz. Version Sun, 18 Oct 2020 10:15:00 GMT. Free memory 287572
D: Display type is LCD2004
D: Partition nvs found, 20480 bytes
D: Read 66 keys from NVS
D: pin_ir set to 0
D: pin_enc_clk set to -1
D: pin_enc_dt set to -1
D: pin_enc_sw set to -1
D: pin_tft_cs set to 16
D: pin_tft_dc set to 17
D: pin_tft_scl set to 22
D: pin_tft_sda set to 21
D: pin_tft_bl set to -1
D: pin_tft_blx set to -1
D: pin_sd_cs set to -1
D: pin_ch376_cs set to -1
D: pin_ch376_int set to -1
D: pin_vs_cs set to 27
D: pin_vs_dcs set to 14
D: pin_vs_dreq set to 26
D: pin_shutdown set to -1
D: pin_shutdownx set to -1
D: pin_spi_sck set to 18
D: pin_spi_miso set to 19
D: pin_spi_mosi set to 23
D: GPIO0 is HIGH
D: GPIO2 is LOW, probably no PULL-UP
D: GPIO4 is HIGH
D: GPIO5 is HIGH
D: GPIO12 is HIGH
D: GPIO13 is HIGH
D: GPIO14 is HIGH
D: GPIO15 is HIGH
D: GPIO16 is HIGH
D: GPIO17 is HIGH
D: GPIO18 is LOW, probably no PULL-UP
D: GPIO19 is HIGH
D: GPIO21 is HIGH
D: GPIO22 is HIGH
D: GPIO23 is HIGH
D: GPIO25 is HIGH
D: GPIO26 is HIGH
D: GPIO27 is HIGH
D: GPIO32 is HIGH
D: GPIO33 is HIGH
D: GPIO34 is LOW, probably no PULL-UP
D: GPIO35 is LOW, probably no PULL-UP
D: GPIO39 is LOW, probably no PULL-UP
D: gpio_12 will execute upvolume = 2
D: gpio_13 will execute downvolume = 2
D: gpio_15 will execute downpreset = 1
D: Enable pin 0 for IR
D: Start display
D: Init LCD2004, I2C pins 21,22
D: LCD2004 communication error!
D: LCD2004 communication error!
D: Create list with acceptable WiFi networks
D: Added HUAWEI to list of networks
D: Added SSID2 to list of networks
D: End adding networks
D: Scan Networks
D: Scan completed
D: Number of available networks: 2
D: 1 - HUAWEI Signal: -61 dBm, Encryption WPA2_PSK, Acceptable
D: 2 - Orange-6040 Signal: -70 dBm, Encryption WPA_WPA2_PSK,
D: End of list
D: Command: clk_dst with parameter 1
D: Command: clk_offset with parameter 1
D: Command: clk_server with parameter pool.ntp.org
D: Command: gpio_12 with parameter upvolume = 2
D: Command: gpio_13 with parameter downvolume = 2
D: Command: gpio_15 with parameter downpreset = 1
D: Command: ir_10ef with parameter preset = 7
D: Command: ir_18e7 with parameter preset = 5
D: Command: ir_22dd with parameter downvolume = 2
D: Command: ir_30cf with parameter preset = 4
D: Command: ir_38c7 with parameter preset = 8
D: Command: ir_42bd with parameter mute
D: Command: ir_4ab5 with parameter preset = 0
D: Command: ir_5aa5 with parameter preset = 9
D: Command: ir_629d with parameter uppreset = 1
D: Command: ir_6897 with parameter preset = 1
D: Command: ir_7a85 with parameter preset = 6
D: Command: ir_9867 with parameter preset = 2
D: Command: ir_a857 with parameter downpreset = 1
D: Command: ir_b04f with parameter preset = 3
D: Command: ir_c23d with parameter upvolume = 2
D: Command: lstmods with parameter Tue, 14 Jul 2020 09:44:13 GMT
D: Command: mqttbroker with parameter none
D: Command: mqttpasswd with parameter *******
D: Command: mqttport with parameter 1883
D: Command: mqttprefix with parameter none
D: Command: mqttuser with parameter none
D: Command: pin_enc_clk with parameter -1
D: Command: pin_enc_dt with parameter -1
D: Command: pin_enc_sw with parameter -1
D: Command: pin_ir with parameter 0
D: Command: pin_sd_cs with parameter -1
D: Command: pin_tft_cs with parameter 16
D: Command: pin_tft_dc with parameter 17
D: Command: pin_tft_scl with parameter 22
D: Command: pin_tft_sda with parameter 21
D: Command: pin_vs_cs with parameter 27
D: Command: pin_vs_dcs with parameter 14
D: Command: pin_vs_dreq with parameter 26
D: Command: preset with parameter 7
D: Command: preset_00 with parameter zet-net-01.cdn.eurozet.pl:8400/
D: Command: preset_01 with parameter mel0101.cdn.eurozet.pl:8820/mel-trn.mp3
D: Command: preset_02 with parameter waw01-01.ic.smcdn.pl:8000/t054-1.mp3
D: Command: preset_03 with parameter plu-bdg-01.cdn.eurozet.pl:8302/
D: Command: preset_04 with parameter stream4.nadaje.com:8002/muzo
D: Command: preset_05 with parameter stream.super.fm:8000/superfm.mp3
D: Command: preset_06 with parameter rs6-krk2.rmfstream.pl/rmf_maxxx
D: Command: preset_07 with parameter stream14.radioagora.pl:80/tuba9006-1.mp3
D: Command: preset_08 with parameter mp3.polskieradio.pl:8906
D: Command: preset_09 with parameter stream.rcs.revma.com/ypqt40u0x1zuv
D: Command: preset_10 with parameter stream3.nadaje.com:9120/radiokrakow
D: Command: preset_11 with parameter 195.150.20.7:80/rmf_fm
D: Command: preset_12 with parameter media.wnet.fm:8000/wnet.fm
D: Command: preset_13 with parameter air.radiorecord.ru:8102/rock_320
D: Command: preset_14 with parameter stream10.radioagora.pl/zp_byd_128.mp3
D: Command: preset_15 with parameter stream10.radioagora.pl:80/pog_byd_128.mp3
D: Command: preset_16 with parameter stream.rcs.revma.com/yx6cub73kwzuv
D: Command: preset_17 with parameter 195.150.20.5:80/rmf_classic
D: Command: preset_18 with parameter waw01-02.ic.smcdn.pl:8000/t041-1.mp3
D: Command: toneha with parameter 5
D: Command: tonehf with parameter 4
D: Command: tonela with parameter 12
D: Command: tonelf with parameter 14
D: Command: volume with parameter 68
D: Slow SPI, Testing VS1053 read/write registers...
D: Fast SPI, Testing VS1053 read/write registers again...
D: endFillByte is 0
D: Connect to WiFi
D: Connected to HUAWEI
D: IP = 192.168.8.105
D: Start server for commands
D: Network found. Starting mqtt and OTA
D: MDNS responder started
D: Rotary encoder is disabled (-1/-1/-1)
D: Sync TOD
D: Sync TOD, new value is 10:51:28
D: STOP requested
D: New preset/file requested (7/0) from stream14.radioagora.pl:80/tuba9006-1.mp3
D: Connect to new host stream14.radioagora.pl:80/tuba9006-1.mp3
E (12557) i2c: i2c command link malloc error
D: LCD2004 communication error!
D: LCD2004 communication error!
D: LCD2004 communication error!
D: LCD2004 communication error!
D: LCD2004 communication error!
D: LCD2004 communication error!
D: LCD2004 communication error!
D: LCD2004 communication error!
D: LCD2004 communication error!
D: LCD2004 communication error!
D: LCD2004 communication error!
D: LCD2004 communication error!
D: LCD2004 communication error!
D: LCD2004 communication error!
D: LCD2004 communication error!
D: LCD2004 communication error!
D: LCD2004 communication error!
D: LCD2004 communication error!
D: LCD2004 communication error!
D: LCD2004 communication error!
D: LCD2004 communication error!
D: LCD2004 communication error!
D: LCD2004 communication error!
D: LCD2004 communication error!
D: LCD2004 communication error!
D: SPI semaphore not taken within 270 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 280 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 290 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 300 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 310 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 320 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 330 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 340 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 350 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 360 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 370 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 380 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 390 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 400 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 410 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 420 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 430 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 440 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 450 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 460 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 470 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 480 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 490 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 500 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 510 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 520 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 530 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 540 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 550 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 560 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 570 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 580 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 590 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 600 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 610 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 620 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 630 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 640 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 650 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 660 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 670 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 680 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 690 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 700 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 710 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 720 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 730 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 740 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 750 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 760 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 770 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 780 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 790 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 800 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 810 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 820 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 830 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 840 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: SPI semaphore not taken within 850 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
D: Connect to stream14.radioagora.pl on port 80, extension /tuba9006-1.mp3
D: SPI semaphore not taken within 860 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 870 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 880 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 890 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 900 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 910 ticks by CPU 0, id stopsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
assertion "heap != NULL && "free() target pointer is outside heap areas"" failed: file "/homeD: SP/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/heap/heap_caps.c", line 267D, function: heap_caps_free
abort() was called at PC 0x4011b68b on core 1

Backtrace: 0x4008e498:0x3ffd8140 0x4008e6c9:0x3ffd8160 0x4011b68b:0x3ffd8180 0x4008536b:0x3ffd81b0 0x400861d5:0x3ffd81d0 0x4000bec7:0x3ffd81f0 0x40148f83:0x3ffd8210 0x400d23b7:0x3ffd8230 0x400d23cb:0x3ffd8250 0x400d23f1:0x3ffd8270 0x400d2410:0x3ffd8290 0x400d2516:0x3ffd82b0 0x400d26de:0x3ffd82e0 0x400d46a9:0x3ffd8300 0x400d46d6:0x3ffd8320 0x4008aba9:0x3ffd8340

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:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5816
entry 0x400806ac

D: Starting ESP32-radio running on CPU 1 at 240 MHz. Version Sun, 18 Oct 2020 10:15:00 GMT. Free memory 287572
D: Display type is LCD2004
D: Partition nvs found, 20480 bytes
D: Read 66 keys from NVS
D: pin_ir set to 0
D: pin_enc_clk set to -1
D: pin_enc_dt set to -1
D: pin_enc_sw set to -1
D: pin_tft_cs set to 16
D: pin_tft_dc set to 17
D: pin_tft_scl set to 22
D: pin_tft_sda set to 21
D: pin_tft_bl set to -1
D: pin_tft_blx set to -1
D: pin_sd_cs set to -1
D: pin_ch376_cs set to -1
D: pin_ch376_int set to -1
D: pin_vs_cs set to 27
D: pin_vs_dcs set to 14
D: pin_vs_dreq set to 26
D: pin_shutdown set to -1
D: pin_shutdownx set to -1
D: pin_spi_sck set to 18
D: pin_spi_miso set to 19
D: pin_spi_mosi set to 23
D: GPIO0 is HIGH
D: GPIO2 is LOW, probably no PULL-UP
D: GPIO4 is HIGH
D: GPIO5 is HIGH
D: GPIO12 is HIGH
D: GPIO13 is HIGH
D: GPIO14 is HIGH
D: GPIO15 is HIGH
D: GPIO16 is HIGH
D: GPIO17 is HIGH
D: GPIO18 is LOW, probably no PULL-UP
D: GPIO19 is HIGH
D: GPIO21 is HIGH
D: GPIO22 is HIGH
D: GPIO23 is HIGH
D: GPIO25 is HIGH
D: GPIO26 is HIGH
D: GPIO27 is HIGH
D: GPIO32 is HIGH
D: GPIO33 is HIGH
D: GPIO34 is LOW, probably no PULL-UP
D: GPIO35 is LOW, probably no PULL-UP
D: GPIO39 is LOW, probably no PULL-UP
D: gpio_12 will execute upvolume = 2
D: gpio_13 will execute downvolume = 2
D: gpio_15 will execute downpreset = 1
D: Enable pin 0 for IR
D: Start display
D: Init LCD2004, I2C pins 21,22
D: LCD2004 communication error!
D: LCD2004 communication error!
D: Create list with acceptable WiFi networks
D: Added HUAWEI to list of networks
D: Added SSID2 to list of networks
D: End adding networks
D: Scan Networks
D: Scan completed
D: Number of available networks: 4
D: 1 - HUAWEI Signal: -54 dBm, Encryption WPA2_PSK, Acceptable
D: 2 - Orange-6040 Signal: -71 dBm, Encryption WPA_WPA2_PSK,
D: 3 - 70mai_d02_6440 Signal: -93 dBm, Encryption WPA_WPA2_PSK,
D: 4 - PLAY INTERNET 4G LTE-729B Signal: -94 dBm, Encryption WPA2_PSK,
D: End of list
D: Command: clk_dst with parameter 1
D: Command: clk_offset with parameter 1
D: Command: clk_server with parameter pool.ntp.org
D: Command: gpio_12 with parameter upvolume = 2
D: Command: gpio_13 with parameter downvolume = 2
D: Command: gpio_15 with parameter downpreset = 1
D: Command: ir_10ef with parameter preset = 7
D: Command: ir_18e7 with parameter preset = 5
D: Command: ir_22dd with parameter downvolume = 2
D: Command: ir_30cf with parameter preset = 4
D: Command: ir_38c7 with parameter preset = 8
D: Command: ir_42bd with parameter mute
D: Command: ir_4ab5 with parameter preset = 0
D: Command: ir_5aa5 with parameter preset = 9
D: Command: ir_629d with parameter uppreset = 1
D: Command: ir_6897 with parameter preset = 1
D: Command: ir_7a85 with parameter preset = 6
D: Command: ir_9867 with parameter preset = 2
D: Command: ir_a857 with parameter downpreset = 1
D: Command: ir_b04f with parameter preset = 3
D: Command: ir_c23d with parameter upvolume = 2
D: Command: lstmods with parameter Tue, 14 Jul 2020 09:44:13 GMT
D: Command: mqttbroker with parameter none
D: Command: mqttpasswd with parameter *******
D: Command: mqttport with parameter 1883
D: Command: mqttprefix with parameter none
D: Command: mqttuser with parameter none
D: Command: pin_enc_clk with parameter -1
D: Command: pin_enc_dt with parameter -1
D: Command: pin_enc_sw with parameter -1
D: Command: pin_ir with parameter 0
D: Command: pin_sd_cs with parameter -1
D: Command: pin_tft_cs with parameter 16
D: Command: pin_tft_dc with parameter 17
D: Command: pin_tft_scl with parameter 22
D: Command: pin_tft_sda with parameter 21
D: Command: pin_vs_cs with parameter 27
D: Command: pin_vs_dcs with parameter 14
D: Command: pin_vs_dreq with parameter 26
D: Command: preset with parameter 7
D: Command: preset_00 with parameter zet-net-01.cdn.eurozet.pl:8400/
D: Command: preset_01 with parameter mel0101.cdn.eurozet.pl:8820/mel-trn.mp3
D: Command: preset_02 with parameter waw01-01.ic.smcdn.pl:8000/t054-1.mp3
D: Command: preset_03 with parameter plu-bdg-01.cdn.eurozet.pl:8302/
D: Command: preset_04 with parameter stream4.nadaje.com:8002/muzo
D: Command: preset_05 with parameter stream.super.fm:8000/superfm.mp3
D: Command: preset_06 with parameter rs6-krk2.rmfstream.pl/rmf_maxxx
D: Command: preset_07 with parameter stream14.radioagora.pl:80/tuba9006-1.mp3
D: Command: preset_08 with parameter mp3.polskieradio.pl:8906
D: Command: preset_09 with parameter stream.rcs.revma.com/ypqt40u0x1zuv
D: Command: preset_10 with parameter stream3.nadaje.com:9120/radiokrakow
D: Command: preset_11 with parameter 195.150.20.7:80/rmf_fm
D: Command: preset_12 with parameter media.wnet.fm:8000/wnet.fm
D: Command: preset_13 with parameter air.radiorecord.ru:8102/rock_320
D: Command: preset_14 with parameter stream10.radioagora.pl/zp_byd_128.mp3
D: Command: preset_15 with parameter stream10.radioagora.pl:80/pog_byd_128.mp3
D: Command: preset_16 with parameter stream.rcs.revma.com/yx6cub73kwzuv
D: Command: preset_17 with parameter 195.150.20.5:80/rmf_classic
D: Command: preset_18 with parameter waw01-02.ic.smcdn.pl:8000/t041-1.mp3
D: Command: toneha with parameter 5
D: Command: tonehf with parameter 4
D: Command: tonela with parameter 12
D: Command: tonelf with parameter 14
D: Command: volume with parameter 68
D: Slow SPI, Testing VS1053 read/write registers...
D: Fast SPI, Testing VS1053 read/write registers again...
D: endFillByte is 0
D: Connect to WiFi
D: Connected to HUAWEI
D: IP = 192.168.8.105
D: Start server for commands
D: Network found. Starting mqtt and OTA
D: MDNS responder started
D: Rotary encoder is disabled (-1/-1/-1)
D: Sync TOD
D: Sync TOD, new value is 10:51:41
D: STOP requested
D: New preset/file requested (7/0) from stream14.radioagora.pl:80/tuba9006-1.mp3
D: Connect to new host stream14.radioagora.pl:80/tuba9006-1.mp3
D: Song stopped correctly after 0 msec
D: LCD2004 communication error!
E (12535) i2c: i2c command link malloc error
D: LCD2004 communication error!
D: LCD2004 communication error!
D: Connect to stream14.radioagora.pl on port 80, extension /tuba9006-1.mp3
D: Connected to server
D: Duration mp3loop 1
D: Switch to HEADER
D: Headerline: Server: Icecast 2.4.4
D: Headerline: Connection: Close
D: Headerline: Content-Type: audio/mpeg
D: audio/mpeg seen.
D: Headerline: Cache-Control: no-cache, no-store
D: Headerline: Expires: Mon, 26 Jul 1997 05:00:00 GMT
D: Headerline: Pragma: no-cache
D: Headerline: icy-br:128
D: Headerline: ice-audio-info: ice-samplerate=44100;ice-bitrate=128;ice-channels=2
D: Headerline: icy-br:128
D: Headerline: icy-genre:Rock
D: Headerline: icy-name:Rock Radio Warszawa
D: Headerline: icy-private:0
D: Headerline: icy-pub:1
D: Headerline: icy-metaint:16000
D: Switch to DATA, bitrate is 128, metaint is 16000
D: Duration mp3loop 46
D: SPI semaphore not taken within 270 ticks by CPU 0, id startsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 280 ticks by CPU 0, id startsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 290 ticks by CPU 0, id startsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 300 ticks by CPU 0, id startsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 310 ticks by CPU 0, id startsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 320 ticks by CPU 0, id startsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 330 ticks by CPU 0, id startsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 340 ticks by CPU 0, id startsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 350 ticks by CPU 0, id startsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 360 ticks by CPU 0, id startsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 370 ticks by CPU 0, id startsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 380 ticks by CPU 0, id startsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 390 ticks by CPU 0, id startsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 400 ticks by CPU 0, id startsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 410 ticks by CPU 0, id startsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 420 ticks by CPU 0, id startsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 430 ticks by CPU 0, id startsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 440 ticks by CPU 0, id startsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 450 ticks by CPU 0, id startsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 460 ticks by CPU 0, id startsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 470 ticks by CPU 0, id startsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 480 ticks by CPU 0, id startsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 490 ticks by CPU 0, id startsong
D: Semaphore is claimed by hspec
D: SPI semaphore not taken within 500 ticks by CPU 0, id startsong
D: Semaphore is claimed by hspec
D: LCD2004 communication error!
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x40148f7c PS : 0x00060b30 A0 : 0x800d23ba A1 : 0x3ffd81b0
A2 : 0x3ffd37c4 A3 : 0x3ffc6214 A4 : 0x0000000a A5 : 0x3ffb8658
A6 : 0x00002cdf A7 : 0x3ffd7a7c A8 : 0x800d1fba A9 : 0x3ffd8160
A10 : 0xbaad5678 A11 : 0x0000001c A12 : 0x3f4013ba A13 : 0x3ffd81b0
A14 : 0x3ffd8180 A15 : 0x00000004 SAR : 0x0000000a EXCCAUSE: 0x0000001c
EXCVADDR: 0xbaad5688 LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xffffffff

Backtrace: 0x40148f7c:0x3ffd81b0 0x400d23b7:0x3ffd81d0 0x400d23cb:0x3ffd81f0 0x400d23ff:0x3ffd8210 0x400d2424:0x3ffd8230 0x400d245f:0x3ffd8250 0x400d24e1:0x3ffd8280 0x400d276a:0x3ffd82b0 0x400d46a6:0x3ffd8320 0x400d46d6:0x3ffd8340 0x4008aba9:0x3ffd8360

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:1
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:8896
load:0x40080400,len:5816
entry 0x400806ac

D: Starting ESP32-radio running on CPU 1 at 240 MHz. Version Sun, 18 Oct 2020 10:15:00 GMT. Free memory 287572
D: Display type is LCD2004
D: Partition nvs found, 20480 bytes
D: Read 66 keys from NVS
D: pin_ir set to 0
D: pin_enc_clk set to -1
D: pin_enc_dt set to -1
D: pin_enc_sw set to -1
D: pin_tft_cs set to 16
D: pin_tft_dc set to 17
D: pin_tft_scl set to 22
D: pin_tft_sda set to 21
D: pin_tft_bl set to -1
D: pin_tft_blx set to -1
D: pin_sd_cs set to -1
D: pin_ch376_cs set to -1
D: pin_ch376_int set to -1
D: pin_vs_cs set to 27
D: pin_vs_dcs set to 14
D: pin_vs_dreq set to 26
D: pin_shutdown set to -1
D: pin_shutdownx set to -1
D: pin_spi_sck set to 18
D: pin_spi_miso set to 19
D: pin_spi_mosi set to 23
D: GPIO0 is HIGH
D: GPIO2 is LOW, probably no PULL-UP
D: GPIO4 is HIGH
D: GPIO5 is HIGH
D: GPIO12 is HIGH
D: GPIO13 is HIGH
D: GPIO14 is HIGH
D: GPIO15 is HIGH
D: GPIO16 is HIGH
D: GPIO17 is HIGH
D: GPIO18 is LOW, probably no PULL-UP
D: GPIO19 is HIGH
D: GPIO21 is HIGH
D: GPIO22 is HIGH
D: GPIO23 is HIGH
D: GPIO25 is HIGH
D: GPIO26 is HIGH
D: GPIO27 is HIGH
D: GPIO32 is HIGH
D: GPIO33 is HIGH
D: GPIO34 is LOW, probably no PULL-UP
D: GPIO35 is LOW, probably no PULL-UP
D: GPIO39 is LOW, probably no PULL-UP
D: gpio_12 will execute upvolume = 2
D: gpio_13 will execute downvolume = 2
D: gpio_15 will execute downpreset = 1
D: Enable pin 0 for IR
D: Start display
D: Init LCD2004, I2C pins 21,22
D: LCD2004 communication error!
D: LCD2004 communication error!
D: Create list with acceptable WiFi networks
D: Added HUAWEI to list of networks
D: Added SSID2 to list of networks
D: End adding networks
D: Scan Networks
D: Scan completed
D: Number of available networks: 3
D: 1 - HUAWEI Signal: -62 dBm, Encryption WPA2_PSK, Acceptable
D: 2 - Orange-6040 Signal: -71 dBm, Encryption WPA_WPA2_PSK,
D: 3 - 70mai_d02_6440 Signal: -92 dBm, Encryption WPA_WPA2_PSK,
D: End of list
D: Command: clk_dst with parameter 1
D: Command: clk_offset with parameter 1
D: Command: clk_server with parameter pool.ntp.org
D: Command: gpio_12 with parameter upvolume = 2
D: Command: gpio_13 with parameter downvolume = 2
D: Command: gpio_15 with parameter downpreset = 1
D: Command: ir_10ef with parameter preset = 7
D: Command: ir_18e7 with parameter preset = 5
D: Command: ir_22dd with parameter downvolume = 2
D: Command: ir_30cf with parameter preset = 4
D: Command: ir_38c7 with parameter preset = 8
D: Command: ir_42bd with parameter mute
D: Command: ir_4ab5 with parameter preset = 0
D: Command: ir_5aa5 with parameter preset = 9
D: Command: ir_629d with parameter uppreset = 1
D: Command: ir_6897 with parameter preset = 1
D: Command: ir_7a85 with parameter preset = 6
D: Command: ir_9867 with parameter preset = 2
D: Command: ir_a857 with parameter downpreset = 1
D: Command: ir_b04f with parameter preset = 3
D: Command: ir_c23d with parameter upvolume = 2
D: Command: lstmods with parameter Tue, 14 Jul 2020 09:44:13 GMT
D: Command: mqttbroker with parameter none
D: Command: mqttpasswd with parameter *******
D: Command: mqttport with parameter 1883
D: Command: mqttprefix with parameter none
D: Command: mqttuser with parameter none
D: Command: pin_enc_clk with parameter -1
D: Command: pin_enc_dt with parameter -1
D: Command: pin_enc_sw with parameter -1
D: Command: pin_ir with parameter 0
D: Command: pin_sd_cs with parameter -1
D: Command: pin_tft_cs with parameter 16
D: Command: pin_tft_dc with parameter 17
D: Command: pin_tft_scl with parameter 22
D: Command: pin_tft_sda with parameter 21
D: Command: pin_vs_cs with parameter 27
D: Command: pin_vs_dcs with parameter 14
D: Command: pin_vs_dreq with parameter 26
D: Command: preset with parameter 7
D: Command: preset_00 with parameter zet-net-01.cdn.eurozet.pl:8400/
D: Command: preset_01 with parameter mel0101.cdn.eurozet.pl:8820/mel-trn.mp3
D: Command: preset_02 with parameter waw01-01.ic.smcdn.pl:8000/t054-1.mp3
D: Command: preset_03 with parameter plu-bdg-01.cdn.eurozet.pl:8302/
D: Command: preset_04 with parameter stream4.nadaje.com:8002/muzo
D: Command: preset_05 with parameter stream.super.fm:8000/superfm.mp3
D: Command: preset_06 with parameter rs6-krk2.rmfstream.pl/rmf_maxxx
D: Command: preset_07 with parameter stream14.radioagora.pl:80/tuba9006-1.mp3
D: Command: preset_08 with parameter mp3.polskieradio.pl:8906
D: Command: preset_09 with parameter stream.rcs.revma.com/ypqt40u0x1zuv
D: Command: preset_10 with parameter stream3.nadaje.com:9120/radiokrakow
D: Command: preset_11 with parameter 195.150.20.7:80/rmf_fm
D: Command: preset_12 with parameter media.wnet.fm:8000/wnet.fm
D: Command: preset_13 with parameter air.radiorecord.ru:8102/rock_320
D: Command: preset_14 with parameter stream10.radioagora.pl/zp_byd_128.mp3
D: Command: preset_15 with parameter stream10.radioagora.pl:80/pog_byd_128.mp3
D: Command: preset_16 with parameter stream.rcs.revma.com/yx6cub73kwzuv
D: Command: preset_17 with parameter 195.150.20.5:80/rmf_classic
D: Command: preset_18 with parameter waw01-02.ic.smcdn.pl:8000/t041-1.mp3
D: Command: toneha with parameter 5
D: Command: tonehf with parameter 4
D: Command: tonela with parameter 12
D: Command: tonelf with parameter 14
D: Command: volume with parameter 68
D: Slow SPI, Testing VS1053 read/write registers...
D: Fast SPI, Testing VS1053 read/write registers again...
D: endFillByte is 0
D: Connect to WiFi
D: Connected to HUAWEI
D: IP = 192.168.8.105
D: Start server for commands
D: Network found. Starting mqtt and OTA
D: MDNS responder started
D: Rotary encoder is disabled (-1/-1/-1)
D: Sync TOD
D: Sync TOD, new value is 10:51:55
D: STOP requested
D: New preset/file requested (7/0) from stream14.radioagora.pl:80/tuba9006-1.mp3
D: Connect to new host stream14.radioagora.pl:80/tuba9006-1.mp3
D: Song stopped correctly after 0 msec
D: Connect to stream14.radioagora.pl on port 80, extension /tuba9006-1.mp3
D: Connected to server
D: Duration mp3loop 1
D: Switch to HEADER
D: Headerline: Server: Icecast 2.4.4
D: Headerline: Connection: Close
D: Headerline: Content-Type: audio/mpeg
D: audio/mpeg seen.
D: Headerline: Cache-Control: no-cache, no-store
D: Headerline: Expires: Mon, 26 Jul 1997 05:00:00 GMT
D: Headerline: Pragma: no-cache
D: Headerline: icy-br:128
D: Headerline: ice-audio-info: ice-samplerate=44100;ice-bitrate=128;ice-channels=2
D: Headerline: icy-br:128
D: Headerline: icy-genre:Rock
D: Headerline: icy-name:Rock Radio Warszawa
D: Headerline: icy-private:0
D: Headerline: icy-pub:1
D: Headerline: icy-metaint:16000
D: Switch to DATA, bitrate is 128, metaint is 16000
D: Duration mp3loop 46
D: Metadata block 48 bytes
D: Streamtitle found, 47 bytes
D: StreamTitle='RAINBOW / SINCE YOU'VE BEEN GONE';
`

@h1aji
Copy link

h1aji commented Oct 19, 2020

@hevet comment displaytime part in LCD2004.h. Works for me.
I think latest commit is breaking it

@Edzelf
Copy link
Owner

Edzelf commented Oct 19, 2020

Pin 21 and 22 are also used for I2C. Please remove them in the config page of the web interface.

@hevet
Copy link
Author

hevet commented Oct 19, 2020

Pin 21 and 22 are also used for I2C. Please remove them in the config page of the web interface.

I don't really understand, for me the pins 21 and 22 are I2C, I can't remove them, because then there will be no display support.

@Edzelf
Copy link
Owner

Edzelf commented Oct 19, 2020

Yes, you are right. LCD2004 is I2C. I forgot.
I will try to reproduce the error.

@Edzelf
Copy link
Owner

Edzelf commented Oct 19, 2020

Fixed.

@hevet
Copy link
Author

hevet commented Oct 19, 2020

Cool, looks like it's working fine.

Unfortunately, the volume level has disappeared.
In line 475 it is,

dline[3].str += "\x7F" ; // Add block character

and from what I can see it's a blank character, the dash is x2D.

Unless it is meant to be?

@Edzelf
Copy link
Owner

Edzelf commented Oct 19, 2020

I guess it depends on the display. You may use any character you like.

@hevet
Copy link
Author

hevet commented Oct 19, 2020

I did, thanks for the quick fixes.

@h1aji
Copy link

h1aji commented Oct 19, 2020

Correct. It depends on i2c controller. I couldnt find block and used \x23 (hash char)

@w1up
Copy link

w1up commented May 5, 2021

Hello - where do the I2C pins get set? My debug output has:
D: pin_tft_scl set to -1
D: pin_tft_sda set to -1

and I believe it should be:
D: pin_tft_scl set to 22
D: pin_tft_sda set to 21

@Edzelf
Copy link
Owner

Edzelf commented May 6, 2021

You can set the pins in the config page of the webinterface. Read the documentation, page 19.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants