Skip to content

ESP32 ESP32.enableWifi(false) causes an Guru Meditation Error #2663

@vgorn

Description

@vgorn

After executing the code ESP32.enableWifi(false), esp32 constantly restarts with an error:

>ESP32.enableWifi(false)
Erasing saved code.
Done!
I (10418) wifi:flush txq
I (10419) wifi:stop sw txq
I (10420) wifi:lmac stop hw txq
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:0x3fff0018,len:4
load:0x3fff001c,len:2984
load:0x40078000,len:10700
load:0x40080400,len:5236
entry 0x40080658
E (572) psram: PSRAM ID read error: 0xffffffff
E (572) spiram: SPI RAM enabled but initialization failed. Bailing out.
E (572) spiram: SPI RAM not initialized

 ____                 _ 
|  __|___ ___ ___ _ _|_|___ ___ 
|  __|_ -| . |  _| | | |   | . |
|____|___|  _|_| |___|_|_|_|___|
         |_| espruino.com
 2v27.82 (c) 2025 G.Williams

Espruino is Open Source. Our work is supported
only by sales of official boards and donations:
http://espruino.com/Donate

Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.
Core 0 register dump:
PC      : 0x401caed0  PS      : 0x00060430  A0      : 0x801bc4b3  A1      : 0x3ffea170  
A2      : 0x3ffcf354  A3      : 0x3ffea1a0  A4      : 0x00000006  A5      : 0x00000001  
A6      : 0xb33fffff  A7      : 0x000004ba  A8      : 0x00000000  A9      : 0x3ffea170  
A10     : 0x00000002  A11     : 0x3ffea170  A12     : 0xffffffff  A13     : 0x00000000  
A14     : 0xb33fffff  A15     : 0x00000043  SAR     : 0x0000000c  EXCCAUSE: 0x0000001c  
EXCVADDR: 0x00000000  LBEG    : 0x40092712  LEND    : 0x4009271d  LCOUNT  : 0x00000000  

ELF file SHA256: 0000000000000000

Backtrace: 0x401caecd:0x3ffea170 0x401bc4b0:0x3ffea1a0 0x401cb47d:0x3ffea1d0 0x401cb60e:0x3ffea1f0 0x401bb629:0x3ffea230 0x40135d45:0x3ffea250 0x40133de8:0x3ffea2b0 0x401522b5:0x3ffea2d0 0x40152569:0x3ffea2f0 0x40124668:0x3ffea350 0x40129ad6:0x3ffea370 0x40129cbd:0x3ffea460 0x40138994:0x3ffea480

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

Board esp-wroom-32

Metadata

Metadata

Assignees

No one assigned

    Labels

    ESP32This is only a problem on ESP32-based devices

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions