Help understanding crash reports....
Posted: Sat Feb 06, 2021 6:43 am
Hi all!
I'm looking for help in understanding this crash report I am getting:
I get this message when my code calls a function from the TFT_eSPI Library - https://github.com/Bodmer/TFT_eSPI. The function I'm calling copies the data of the display into a buffer. The code that causes the error msg is running on core1, so why is core0 involved?
Here's what I am using: ESP32 WROOM and 2.8in spi LCD display. I wrote a class to handle displaying a popup window on the LCD. When the class is used to draw a popup window, it copies the current display data to a buffer. When the popup window closes, the display data stored in the buffer is copied back to the LCD. The code I wrote to do this works fine, as stand alone code. The problem happens when the code was moved to a more complex project.
I am running on core0 code that handles a 3G cell connection via an adafruit 3G module (a simCom5320A module) and I have experienced problems coding for both cores before. But this one has me a bit baffled...
Can someone point me in the direction I need to be looking at?? Should I be looking at FreeRTOS??
Thanks for any help,
Randy
I'm looking for help in understanding this crash report I am getting:
Code: Select all
Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x40092577 PS : 0x00060633 A0 : 0x80092b75 A1 : 0x3ffe0dd0
A2 : 0x3ffc6cb8 A3 : 0x0000005c A4 : 0x3ffdeb04 A5 : 0x00000001
A6 : 0x00060020 A7 : 0x00000000 A8 : 0x00000001 A9 : 0xef7bef7b
A10 : 0x3ffdf7a0 A11 : 0x00000000 A12 : 0x3ffdf7a4 A13 : 0x3ffdea98
A14 : 0x000009b0 A15 : 0x00000000 SAR : 0x00000003 EXCCAUSE: 0x0000001c
EXCVADDR: 0xef7bef7b LBEG : 0x400012c5 LEND : 0x400012d5 LCOUNT : 0xfffffffc
Backtrace: 0x40092577:0x3ffe0dd0 0x40092b72:0x3ffe0df0 0x40084b24:0x3ffe0e10 0x40084b59:0x3ffe0e30 0x400866d5:0x3ffe0e50 0x4000beaf:0x3ffe0e70 0x4008eede:0x3ffe0e90 0x4008f124:0x3ffe0eb0 0x400867a8:0x3ffe0ed0 0x400867d8:0x3ffe0ef0 0x40086929:0x3ffe0f20 0x400f2777:0x3ffe0f40 0x400ed125:0x3ffe1200 0x400ea850:0x3ffe1250 0x400906b5:0x3ffe1280 0x4008f589:0x3ffe12b0 0x400db00d:0x3ffe12d0 0x400d9e39:0x3ffe12f0 0x4017bfa6:0x3ffe1310 0x400d42a2:0x3ffe1330 0x400d4355:0x3ffe1350 0x400d4963:0x3ffe1370 0x400d49fd:0x3ffe1390 0x400d3c11:0x3ffe13c0 0x4008f69d:0x3ffe13e0
Rebooting...
ets Jun 8 2016 00:22:57
Here's what I am using: ESP32 WROOM and 2.8in spi LCD display. I wrote a class to handle displaying a popup window on the LCD. When the class is used to draw a popup window, it copies the current display data to a buffer. When the popup window closes, the display data stored in the buffer is copied back to the LCD. The code I wrote to do this works fine, as stand alone code. The problem happens when the code was moved to a more complex project.
I am running on core0 code that handles a 3G cell connection via an adafruit 3G module (a simCom5320A module) and I have experienced problems coding for both cores before. But this one has me a bit baffled...
Can someone point me in the direction I need to be looking at?? Should I be looking at FreeRTOS??
Thanks for any help,
Randy