Issues running LovyanGFX ScreenShotReceiver

I'm trying to run Lovyan ScreenshotReceiver demo code but I'm having some issues. I'm compiling the source code with the latest version of ESP32 Core (2.0.14) for Arduino and the latest version of LovyanGFX (1.1.12), when I send a screenshot, it does not reach render completely. It renders up to about 25% and then restarts rendering from scratch, that loop repeats 3 or 4 times and then the ESP32 crashes.
Log:

 0 fps
 0 fps
data request
Guru Meditation Error: Core  0 panic'ed (StoreProhibited). Exception was unhandled.

Core  0 register dump:
PC      : 0x40089a14  PS      : 0x00060f30  A0      : 0x800d3194  A1      : 0x3ffd2b50  
A2      : 0x00000000  A3      : 0x3ffd2c2c  A4      : 0x00000030  A5      : 0x00000000  
A6      : 0x19252525  A7      : 0x22221919  A8      : 0x00000000  A9      : 0x80000000  
A10     : 0x00000000  A11     : 0x00000000  A12     : 0x80000020  A13     : 0x00000007  
A14     : 0x00000005  A15     : 0x00000001  SAR     : 0x00000001  EXCCAUSE: 0x0000001d  
EXCVADDR: 0x00000000  LBEG    : 0x40089a10  LEND    : 0x40089a26  LCOUNT  : 0x00000002  

Backtrace: 0x40089a11:0x3ffd2b50 0x400d3191:0x3ffd2b60 0x40153865:0x3ffd2b80 0x400d420d:0x3ffd2bb0 0x400d427e:0x3ffd2c20

ELF file SHA256: e06386c8f8d5a86b

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:0x3fff0030,len:1184
load:0x40078000,len:13260
load:0x40080400,len:3028
entry 0x400805e4
TCPReceiver setup.
display byte per pixel:3
color depth: 18 
TCPReceiver setup done.

0 fps
data request
Guru Meditation Error: Core  0 panic'ed (StoreProhibited). Exception was unhandled.

Core  0 register dump:
PC      : 0x40089a14  PS      : 0x00060f30  A0      : 0x800d3194  A1      : 0x3ffd2b50  
A2      : 0x00000000  A3      : 0x3ffd2c2c  A4      : 0x00000030  A5      : 0x00000000  
A6      : 0x19252525  A7      : 0x22221919  A8      : 0x00000000  A9      : 0x3ffd2af0  
A10     : 0x3ffca4d8  A11     : 0x3ffca4d8  A12     : 0x3ffca4d8  A13     : 0x00060523  
A14     : 0x00060520  A15     : 0x00000001  SAR     : 0x00000001  EXCCAUSE: 0x0000001d  
EXCVADDR: 0x00000000  LBEG    : 0x40089a10  LEND    : 0x40089a26  LCOUNT  : 0x00000002  

Backtrace: 0x40089a11:0x3ffd2b50 0x400d3191:0x3ffd2b60 0x40153865:0x3ffd2b80 0x400d420d:0x3ffd2bb0 0x400d427e:0x3ffd2c20

ELF file SHA256: e06386c8f8d5a86b

Rebooting...

Another test I did was to compile the firmware with the original versions of both the LovyanGFX library and the ESP32 Core from when the project was created:
Arduino 1.8.12
ESP32 Core 1.0.4
LovyanGFX 0.1.14

As a result, the display is not initialized but it sends the image and fps correctly. I have come to this conclusion based on the information in the log. The amount of FPS and the delay are displayed. Even so, random restarts of the ESP32 occur as in the first test.
Log:

58 fps / delay214
57 fps / delay238
58 fps / delay212
Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC      : 0x400d5550  PS      : 0x00060630  A0      : 0x800d5624  A1      : 0x3ffb1b00  
A2      : 0x00000000  A3      : 0x3ffc153c  A4      : 0x0000044b  A5      : 0x00000001  
A6      : 0x00000020  A7      : 0x000000ea  A8      : 0x00000000  A9      : 0x00000000  
A10     : 0x00000003  A11     : 0x00060023  A12     : 0x00060021  A13     : 0x00000008  
A14     : 0x00000004  A15     : 0x3ffc10a0  SAR     : 0x0000001f  EXCCAUSE: 0x0000001c  
EXCVADDR: 0x00000008  LBEG    : 0x40142ab6  LEND    : 0x40142ac0  LCOUNT  : 0x00000000  

Backtrace: 0x400d5550:0x3ffb1b00 0x400d5621:0x3ffb1b20 0x400d1a55:0x3ffb1b40 0x40142a4f:0x3ffb1b60 0x400d48fd:0x3ffb1b90 0x400d5145:0x3ffb1bf0 0x400d42c5:0x3ffb1f50 0x400d7da5:0x3ffb1fb0 0x40088dc1:0x3ffb1fd0

Rebooting...

Hardware used:
LCD TFT 4" ILI9486 SPI (4 wires) 480x320 Display
DO IT ESP32 DevKit V1 Board

Any kind of help will be appreciated.
Thanks in advance.
Best regards.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.