Max number of page reached?!

Hi!
Thanks for the amazing tool SquareLine Studio, I’m trying to export my project using this new tool, and actually I’ve implemented about 15 of the 20 screens that are used in my project.
Until the now was perfectly fine, I’ve created all the screens easily, but now I’ve an issue.
After uploading the code, the first page is not rendered entirely, if I remove one of the screens that I’ve in my project, works fine.
I’ve tested with more than 15 screens, and I’ve the following issue …

20:20:18.325 -> load:0x3fce3808,len:0x44c
20:20:18.325 -> load:0x403c9700,len:0xbe4
20:20:18.359 -> load:0x403cc700,len:0x2a38
20:20:18.359 -> entry 0x403c98d4
20:20:18.491 -> Hello Arduino! V8.3.6
20:20:18.491 -> I am LVGL_Arduino
20:20:18.921 -> Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.
20:20:18.986 -> 
20:20:18.986 -> Core  1 register dump:
20:20:18.986 -> PC      : 0x42008d20  PS      : 0x00060430  A0      : 0x82013a89  A1      : 0x3fcebb20  
20:20:18.986 -> A2      : 0x3fca9a34  A3      : 0x3fc9e30c  A4      : 0x00000020  A5      : 0x00000000  
20:20:19.019 -> A6      : 0x00000000  A7      : 0x3fca99fc  A8      : 0x00000004  A9      : 0x00000020  
20:20:19.019 -> A10     : 0x00000000  A11     : 0x00000018  A12     : 0x3fca9a88  A13     : 0x00000001  
20:20:19.019 -> A14     : 0x00000000  A15     : 0x00000001  SAR     : 0x0000001f  EXCCAUSE: 0x0000001c  
20:20:19.019 -> EXCVADDR: 0x00000018  LBEG    : 0x4201c6f1  LEND    : 0x4201c714  LCOUNT  : 0x00000005  
20:20:19.052 -> 
20:20:19.052 -> 
20:20:19.052 -> Backtrace: 0x42008d1d:0x3fcebb20 0x42013a86:0x3fcebb40 0x42051345:0x3fcebb60 0x4200aa39:0x3fcebb80 0x42005492:0x3fcebba0 0x4201ee8f:0x3fcebbc0 0x4202ade8:0x3fcebbe0 0x4202d4e3:0x3fcebc00 0x4200222c:0x3fcebc20 0x4203018a:0x3fcebc90
20:20:19.052 -> 
20:20:19.052 -> 
20:20:19.052 -> 
20:20:19.052 -> 
20:20:19.052 -> ELF file SHA256: 103c29f0bd1953a6

My ESP32S3 Dev Kit continues to reboot, I’m using an ILI9488 SPI as screen, so il very slow in transition, but I’m working now on export the logic, then I will work on the new parallel display hardware when will arrive…
Can someone help me with this issue?! :confused:
Thanks in advanve!

This is how is configured my board :

PS : probably there is a bug on the “Auto Save” checkbox, I’ve checked for a while and was working fine, but once I’ve uncheck, appears that is still saving, at least I can see the popup of the save on screen.

for a screen with 10 widgets, the estimated memory footprint would be around 1,000-2,000 bytes. Then maybe your issue is RAM depleted… but more probability is app flash depleted as your scheme is only 1.2M for app

Thanks for your reply!
Probably now I’ve solved!
This is the new configuration :

Screenshot 2023-06-25 at 22.37.49

But was also necessary to change the value In the lv_conf.h file in this way :

#define LV_MEM_SIZE (72U * 1024U) /*[bytes]*/

Before was defined as :

#define LV_MEM_SIZE (48U * 1024U) /*[bytes]*/

Need to understand how use LittleFS to store the configuration file from TFT_eSPI , because I can’t actually got it working, I need to declare in the setup() the values of the calibration :

    tft.setRotation(1);
    uint16_t calData[5] = { 254, 3716, 218, 3643, 7 };
    tft.setTouch(calData);

store the calibration data in NVRAM

Non-volatile Storage Library - ESP32 - — ESP-IDF Programming Guide latest documentation (espressif.com)

1 Like

ciao @kdschlosser , i will try this solution!Maybe with ESP32s3 and LittleFS there is such an compatibly issue, or simply I don’t know how to do it works :slight_smile: