Guru Meditation Error

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
kgschlosser
Posts: 22
Joined: Fri Apr 10, 2020 6:18 pm

Guru Meditation Error

Post by kgschlosser » Wed Jul 07, 2021 9:17 pm

I am running the latest 4.x SPIRAM version of MicroPython and I am getting this error over and over again. Maybe someone can chime in as to what would cause this error.

The project I am working on is a bit large and I do not know at what point in the code this is taking place. I do have debugging information that is supposed to be output but it is not happening at all. I have been cleaning up some coding mistakes so I know what areas should be OK. It appears to be a problem when I start the WiFi up. On the downloads page it states that LAN is not available using 4.x , I didn't think that the ESP has LAN functionality at all so either it is a typo and should read WiFi or WiFi is supported and LAN means something else.

Code: Select all

▒Guru Meditation Error: Core  0 panic'ed (StoreProhibited). Exception was unhandled.

Core  0 register dump:
PC      : 0x401d98a7  PS      : 0x00060b30  A0      : 0x800fdeb6  A1      : 0x3ffcc6e0
A2      : 0x3ffcc810  A3      : 0x00000000  A4      : 0x3f8202f0  A5      : 0x00000000
A6      : 0x00000030  A7      : 0x00000030  A8      : 0x801d984c  A9      : 0x00000000
A10     : 0x3ffcc810  A11     : 0x00000000  A12     : 0x3ffc3da4  A13     : 0x00060021
A14     : 0x000000fe  A15     : 0x00000001  SAR     : 0x0000001c  EXCCAUSE: 0x0000001d
EXCVADDR: 0x00000020  LBEG    : 0x40092f5a  LEND    : 0x40092f65  LCOUNT  : 0x00000000

Backtrace:0x401d98a4:0x3ffcc6e0 0x400fdeb3:0x3ffcc710 0x400fdf1d:0x3ffcc730 0x400fe38a:0x3ffcc750 0x400fe591:0x3ffcc770 0x400ff946:0x3ffcc7a0 0x400fe591:0x3ffcc7c0 0x4010097b:0x3ffcc7f0 0x40101181:0x3ffcc810 0x400e27d3:0x3ffcc870 0x400fd9c9:0x3ffcc900 0x400fdcd7:0x3ffcc930 0x400e2906:0x3ffcca10 0x400e30e7:0x3ffcca50 0x400e52fd:0x3ffccab0 0x400dc1f0:0x3ffccb50 0x400e2731:0x3ffccba0 0x400e275a:0x3ffccbc0 0x400e27de:0x3ffccbe0 0x400fd9c9:0x3ffccc70 0x400fdcd7:0x3ffccca0 0x400e2906:0x3ffccd80 0x400e30e7:0x3ffccdc0 0x400e52fd:0x3ffcce20 0x400dc1f0:0x3ffccec0 0x400e2731:0x3ffccf20 0x400e275a:0x3ffccf40 0x400e27de:0x3ffccf60 0x400fd9c9:0x3ffccff0 0x400fdd66:0x3ffcd020 0x400e2906:0x3ffcd100 0x400e52ca:0x3ffcd140 0x400dc1f0:0x3ffcd1e0 0x400e2731:0x3ffcd230 0x400e275a:0x3ffcd250 0x400f5c76:0x3ffcd270 0x400f6041:0x3ffcd300 0x400f60a5:0x3ffcd320 0x400d5ce2:0x3ffcd340


ELF file SHA256: cfb0f5586b7de139

Rebooting...
ets Jun  8 2016 00:22:57

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:2
load:0x3fff0030,len:5640
load:0x40078000,len:13136
load:0x40080400,len:4356
entry 0x400806b0
Guru Meditation Error: Core  0 panic'ed (StoreProhibited). Exception was unhandled.

Core  0 register dump:
PC      : 0x401d98a7  PS      : 0x00060b30  A0      : 0x800fdeb6  A1      : 0x3ffcc6e0
A2      : 0x3ffcc810  A3      : 0x00000000  A4      : 0x3f8202f0  A5      : 0x00000000
A6      : 0x00000030  A7      : 0x00000030  A8      : 0x801d984c  A9      : 0x00000000
A10     : 0x3ffcc810  A11     : 0x00000000  A12     : 0x3ffc3da4  A13     : 0x00060021
A14     : 0x000000fe  A15     : 0x00000001  SAR     : 0x0000001c  EXCCAUSE: 0x0000001d
EXCVADDR: 0x00000020  LBEG    : 0x40092f5a  LEND    : 0x40092f65  LCOUNT  : 0x00000000

Backtrace:0x401d98a4:0x3ffcc6e0 0x400fdeb3:0x3ffcc710 0x400fdf1d:0x3ffcc730 0x400fe38a:0x3ffcc750 0x400fe591:0x3ffcc770 0x400ff946:0x3ffcc7a0 0x400fe591:0x3ffcc7c0 0x4010097b:0x3ffcc7f0 0x40101181:0x3ffcc810 0x400e27d3:0x3ffcc870 0x400fd9c9:0x3ffcc900 0x400fdcd7:0x3ffcc930 0x400e2906:0x3ffcca10 0x400e30e7:0x3ffcca50 0x400e52fd:0x3ffccab0 0x400dc1f0:0x3ffccb50 0x400e2731:0x3ffccba0 0x400e275a:0x3ffccbc0 0x400e27de:0x3ffccbe0 0x400fd9c9:0x3ffccc70 0x400fdcd7:0x3ffccca0 0x400e2906:0x3ffccd80 0x400e30e7:0x3ffccdc0 0x400e52fd:0x3ffcce20 0x400dc1f0:0x3ffccec0 0x400e2731:0x3ffccf20 0x400e275a:0x3ffccf40 0x400e27de:0x3ffccf60 0x400fd9c9:0x3ffccff0 0x400fdd66:0x3ffcd020 0x400e2906:0x3ffcd100 0x400e52ca:0x3ffcd140 0x400dc1f0:0x3ffcd1e0 0x400e2731:0x3ffcd230 0x400e275a:0x3ffcd250 0x400f5c76:0x3ffcd270 0x400f6041:0x3ffcd300 0x400f60a5:0x3ffcd320 0x400d5ce2:0x3ffcd340


ELF file SHA256: cfb0f5586b7de139

Rebooting...
ets Jun  8 2016 00:22:57

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:2
load:0x3fff0030,len:5640
load:0x40078000,len:13136
load:0x40080400,len:4356
entry 0x400806b0
Guru Meditation Error: Core  0 panic'ed (StoreProhibited). Exception was unhandled.

Core  0 register dump:
PC      : 0x401d98a7  PS      : 0x00060b30  A0      : 0x800fdeb6  A1      : 0x3ffcc6e0
A2      : 0x3ffcc810  A3      : 0x00000000  A4      : 0x3f8202f0  A5      : 0x00000000
A6      : 0x00000030  A7      : 0x00000030  A8      : 0x801d984c  A9      : 0x00000000
A10     : 0x3ffcc810  A11     : 0x00000000  A12     : 0x3ffc3da4  A13     : 0x00060021
A14     : 0x000000fe  A15     : 0x00000001  SAR     : 0x0000001c  EXCCAUSE: 0x0000001d
EXCVADDR: 0x00000020  LBEG    : 0x40092f5a  LEND    : 0x40092f65  LCOUNT  : 0x00000000

Backtrace:0x401d98a4:0x3ffcc6e0 0x400fdeb3:0x3ffcc710 0x400fdf1d:0x3ffcc730 0x400fe38a:0x3ffcc750 0x400fe591:0x3ffcc770 0x400ff946:0x3ffcc7a0 0x400fe591:0x3ffcc7c0 0x4010097b:0x3ffcc7f0 0x40101181:0x3ffcc810 0x400e27d3:0x3ffcc870 0x400fd9c9:0x3ffcc900 0x400fdcd7:0x3ffcc930 0x400e2906:0x3ffcca10 0x400e30e7:0x3ffcca50 0x400e52fd:0x3ffccab0 0x400dc1f0:0x3ffccb50 0x400e2731:0x3ffccba0 0x400e275a:0x3ffccbc0 0x400e27de:0x3ffccbe0 0x400fd9c9:0x3ffccc70 0x400fdcd7:0x3ffccca0 0x400e2906:0x3ffccd80 0x400e30e7:0x3ffccdc0 0x400e52fd:0x3ffcce20 0x400dc1f0:0x3ffccec0 0x400e2731:0x3ffccf20 0x400e275a:0x3ffccf40 0x400e27de:0x3ffccf60 0x400fd9c9:0x3ffccff0 0x400fdd66:0x3ffcd020 0x400e2906:0x3ffcd100 0x400e52ca:0x3ffcd140 0x400dc1f0:0x3ffcd1e0 0x400e2731:0x3ffcd230 0x400e275a:0x3ffcd250 0x400f5c76:0x3ffcd270 0x400f6041:0x3ffcd300 0x400f60a5:0x3ffcd320 0x400d5ce2:0x3ffcd340


ELF file SHA256: cfb0f5586b7de139

Rebooting...

Oh after many many times of the core panic happening it finally booted and I am getting an error when i set the WiFi authentication mode to WEP.

Code: Select all

RuntimeError: Wifi Unknown Error 0x0102

kgschlosser
Posts: 22
Joined: Fri Apr 10, 2020 6:18 pm

Re: Guru Meditation Error

Post by kgschlosser » Wed Jul 07, 2021 9:39 pm

These are the AP settings I am using.


essid = 'ActiveHeadlights'
password = 'blankpassword'
authmode = 1
channel = 11
hidden = 0
max_clients = 3
ip = '192.168.0.100'
subnet = '255.255.255.0'

and here is the code to set the settings

Code: Select all

ap.config(essid=essid)
ap.config(authmode=authmode)
ap.config(password=password)
ap.config(channel=channel)
ap.config(hidden=hidden)
ap.config(dhcp_hostname=essid)
ap.config(max_clients=3)

ap.ifconfig(
    (ip, subnet, ip, ip)
)
it fails at

Code: Select all

ap.config(authmode=authmode)
I moved that line to the bottom and it still fails with setting the auth mode.

The boot loop seems to be gone so I am not sure what happened there.

kgschlosser
Posts: 22
Joined: Fri Apr 10, 2020 6:18 pm

Re: Guru Meditation Error

Post by kgschlosser » Wed Jul 07, 2021 9:59 pm

well that's curious..

I'm using

Code: Select all

ap = network.WLAN(network.AP_IF)
to set up the wifi network and that constant mean I am setting the esp up as an access point which is what I want to do.

this error

Code: Select all

RuntimeError: Wifi Unknown Error 0x0102
means no access points found. why is that error happening when I am trying to set up an access point.

davef
Posts: 811
Joined: Thu Apr 30, 2020 1:03 am
Location: Christchurch, NZ

Re: Guru Meditation Error

Post by davef » Wed Jul 07, 2021 10:06 pm

I sometimes get that error if I forget to do a manual reset after changing network parameters.

Post Reply