Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.

HRDUERR
Posts: 4
Joined: Sat Sep 23, 2023 5:49 pm

Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.

Postby HRDUERR » Sat Sep 23, 2023 6:02 pm

I used the Arduino code for the Large digit driver from Sparkfun on an ESP-WROOM 32:

https://learn.sparkfun.com/tutorials/la ... -guide/all

I ended up with:
19:29:55.584 -> Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
19:29:55.677 -> Core 1 register dump:
19:29:55.677 -> PC : 0x400d0cdf PS : 0x00060530 A0 : 0x800d1539 A1 : 0x3ffb1f80
19:29:55.770 -> A2 : 0x3ffbdbb4 A3 : 0x3ffbdbb5 A4 : 0x3ffbfe90 A5 : 0x3ffbdbb6
19:29:55.864 -> A6 : 0x00000008 A7 : 0x00000001 A8 : 0x800d0cdf A9 : 0x3ffb1f60
19:29:55.956 -> A10 : 0x00000040 A11 : 0x00000000 A12 : 0x0800001c A13 : 0x00000003
19:29:56.049 -> A14 : 0x00000003 A15 : 0x00000000 SAR : 0x0000001a EXCCAUSE: 0x0000001c
19:29:56.141 -> EXCVADDR: 0x800d1539 LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xffffffff
19:29:56.235 ->
19:29:56.235 -> ELF file SHA256: 0000000000000000
19:29:56.281 ->
19:29:56.281 -> Backtrace: 0x400d0cdf:0x3ffb1f80 0x400d1536:0x3ffb1fb0 0x40086155:0x3ffb1fd0
19:29:56.373 ->
19:29:56.373 -> Rebooting...

Did anyone have an idea how to solve that problem? Any idea welcome.

hrduerr

ESP_Sprite
Posts: 9766
Joined: Thu Nov 26, 2015 4:08 am

Re: Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.

Postby ESP_Sprite » Sun Sep 24, 2023 1:48 am

Suggest you decode that backtrace first.

HRDUERR
Posts: 4
Joined: Sat Sep 23, 2023 5:49 pm

Re: Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.

Postby HRDUERR » Sun Sep 24, 2023 9:20 am

O.k., how shall I do that?

ESP_Sprite
Posts: 9766
Joined: Thu Nov 26, 2015 4:08 am

Re: Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.

Postby ESP_Sprite » Sun Sep 24, 2023 12:11 pm

See here.

HRDUERR
Posts: 4
Joined: Sat Sep 23, 2023 5:49 pm

Re: Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.

Postby HRDUERR » Mon Sep 25, 2023 5:42 pm

o.k. Decoding it to:

PC: 0x400d0d41: setup() at D:\Daten\Arduino\ESP32\TestLargeDigitDriver/TestLargeDigitDriver.ino line 44
EXCVADDR: 0x00000000

Decoding stack results
0x400d0d41: setup() at D:\Daten\Arduino\ESP32\TestLargeDigitDriver/TestLargeDigitDriver.ino line 44
0x4008618d: vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c line 143

Line 44 is " pinMode(segmentLatch, OUTPUT);"

HRDUERR
Posts: 4
Joined: Sat Sep 23, 2023 5:49 pm

Re: Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.

Postby HRDUERR » Mon Sep 25, 2023 6:08 pm

Help for own help is the best ...

I just changed the pins from 6,5,7 to 16,17 and 18. And it worked!
Thank you!

ESP_Sprite
Posts: 9766
Joined: Thu Nov 26, 2015 4:08 am

Re: Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.

Postby ESP_Sprite » Tue Sep 26, 2023 12:17 am

Fwiw, that code probably crashed as those GPIOs are used to interface with the flash; if you reconfigure those pins, the ESP32 can't read the program from flash anymore and crashes. The proper solution is indeed to use different IO pins, as you did.

Who is online

Users browsing this forum: Baidu [Spider] and 40 guests