Seithan / EasyNextionLibrary

A simple library for Nextion display that uses only four functions. You can easily benefit from Nextion's wide range of features and advantages in just a few easy steps. The library uses a custom protocol that can prove to be a powerful tool for advanced users as it can be easily modified to meet one’s needs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Crashes on ESP32

puhycz opened this issue · comments

Hello, this library on ESP 32 sometimes crashes:

Guru Meditation Error: Core  1 panic'ed (InstrFetchProhibited). Exception was unhandled.
Core 1 register dump:
PC      : 0x00000000  PS      : 0x00060230  A0      : 0x800e1ba0  A1      : 0x3ffcfb10
A2      : 0x3ffc4e20  A3      : 0x00000000  A4      : 0x63fd4400  A5      : 0x00000000  
A6      : 0x00000fff  A7      : 0x00060f23  A8      : 0x800e1c32  A9      : 0x00000054
A10     : 0x00000000  A11     : 0x00000000  A12     : 0x00005317  A13     : 0x00004c80  
A14     : 0x00050023  A15     : 0x3ffbb554  SAR     : 0x0000000a  EXCCAUSE: 0x00000014
EXCVADDR: 0x00000000  LBEG    : 0x4000c28c  LEND    : 0x4000c296  LCOUNT  : 0x00000000  

ELF file SHA256: 0000000000000000

Backtrace: 0x00000000:0x3ffcfb10 0x400e1b9d:0x3ffcfb30 0x400d64a5:0x3ffcfb50 0x400febdd:0x3ffcfc00 0x40090f1a:0x3ffcfc20
  #0  0x00000000:0x3ffcfb10 in ?? ??:0
  #1  0x400e1b9d:0x3ffcfb30 in EasyNex::NextionListen() at .pio\libdeps\Windows\Easy Nextion Library\src/EasyNextionLibrary.cpp:278
  #2  0x400d64a5:0x3ffcfb50 in loop() at src/main.cpp:1172
  #3  0x400febdd:0x3ffcfc00 in loopTask(void*) at C:\.platformio\packages\framework-arduinoespressif32\cores\esp32/main.cpp:23
  #4  0x40090f1a:0x3ffcfc20 in vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c:355 (discriminator 1)

On main.cpp 23 is #include <Wire.h> and on main.cpp 1172 is myNex.NextionListen(); .

With connected Nextion diplay it crash sometimes, when i disconnected Nextion displat it carsh wery offen (cca every five minutes). Please how fix it? Thanks.

Sorry I can't help you, this is out of the scope in here.