eloquentarduino / EloquentEsp32cam

Use your Esp32-cam like an expert
GNU General Public License v3.0
111 stars 20 forks source link

Guru Meditation Error: Core 1 panic'ed (LoadProhibited) while running example code #7

Closed cversek closed 10 months ago

cversek commented 1 year ago

I'm running release v1.1.2 on an m5stack timer cam board. Using example code 3_Get_Your_First_Picture.ino, the system frequently crashes and reboots with error messages like:

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
Init
Camera OK
Jpeg size: 10393
Jpeg size: 12543
Jpeg size: 12450
Jpeg size: 26691
Jpeg size: 12516
Jpeg size: 12417
Jpeg size: 12488
Jpeg size: 12429
Jpeg size: 12462
Jpeg size: 12527
Jpeg size: 12622
Jpeg size: 12454
Guru Meditation Error: Core  1 panic'ed (LoadProhibited). Exception was unhandled.

Core  1 register dump:
PC      : 0x4008b1a0  PS      : 0x00060830  A0      : 0x800d71d9  A1      : 0x3ffc70f0  
A2      : 0xffffffff  A3      : 0xffffffff  A4      : 0xffffffff  A5      : 0x00060823  
A6      : 0x00060823  A7      : 0x00000001  A8      : 0x00000001  A9      : 0x00000004  
A10     : 0x00060823  A11     : 0x0000e4cf  A12     : 0x0000000a  A13     : 0x00000000  
A14     : 0x007bf318  A15     : 0x003fffff  SAR     : 0x0000000a  EXCCAUSE: 0x0000001c  
EXCVADDR: 0x0000003f  LBEG    : 0x40088311  LEND    : 0x40088321  LCOUNT  : 0xfffffffe  

Backtrace: 0x4008b19d:0x3ffc70f0 0x400d71d6:0x3ffc7130 0x400d7a59:0x3ffc7180 0x400d4a54:0x3ffc71b0 0x400d3a09:0x3ffc71d0 0x400d3e33:0x3ffc71f0 0x400d3ee4:0x3ffc7210 0x400d3f23:0x3ffc7260 0x400d3f3c:0x3ffc7280 0x400d2d49:0x3ffc72a0 0x400d4e0d:0x3ffc72e0

Any help would be much appreciated.

eloquentarduino commented 10 months ago

I cannot decode the backtrace you posted. Try to lower the resolution. Also, be sure you select ESP32 Dev Module as board in the Tools menu.