Hello,
I’m getting
...
Usermods setup
Guru Meditation Error: Core 1 panic'ed (LoadProhibited)
...
when running WLED v0.14.0-b1 compiled with usermods USERMOD_FOUR_LINE_DISPLAY
and USERMOD_ROTARY_ENCODER_UI
. I don’t have problems with the sound reactive usermod.
This is my “platformio_override.ini”:
[platformio]
default_envs = esp32dev
[env:esp32dev]
board = esp32dev
platform = ${esp32.platform}
platform_packages = ${esp32.platform_packages}
build_unflags = ${common.build_unflags}
build_flags =
${common.build_flags_esp32}
-D WLED_DISABLE_BLYNK
-D WLED_DISABLE_ALEXA
-D WLED_DISABLE_HUESYNC
-D USERMOD_MODE_SORT
-D USERMOD_FOUR_LINE_DISPLAY
-D USERMOD_ROTARY_ENCODER_UI
-D WLED_DEBUG
lib_deps =
${esp32.lib_deps}
U8g2@~2.27.2
Wire
monitor_filters = esp32_exception_decoder
board_build.partitions = ${esp32.default_partitions}
I also tried using .../usermod_v2_rotary_encoder_ui/platformio_override.ini
, but it doesn’t compile with the specified library dependencies.
And this is the full output from serial:
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:DOUT, clock div:2
load:0x3fff0018,len:4
load:0x3fff001c,len:1044
load:0x40078000,len:10124
load:0x40080400,len:5828
entry 0x400806a8
---WLED 0.14.0-b1 2212222 INIT---
esp32 v3.3.6-16-gcc5440f6a2
arduino-esp32 v1.0.x
CPU: ESP32-D0WDQ5 rev.3, 2 core(s), 240MHz.
FLASH: 4MB, Mode 3 (DOUT), speed 40MHz.
heap 282176
PIN ALLOC: Pin 1 successfully allocated by 0x89 (137)
Registering usermods ...
Reading config
Reading settings from /wsec.json...
JSON buffer locked. (3)
JSON buffer released. (3)
JSON buffer locked. (1)
Reading settings from /cfg.json...
Removing all.
PIN ALLOC: Pin 0 successfully allocated by 0x85 (133)
Starting usermod config.
4LineDisplay config loaded.
Rotary-Encoder config loaded.
JSON buffer released. (1)
Initializing strip
No busses, init default
PIN ALLOC: Pin 16 successfully allocated by 0x82 (130)
Successfully inited strip 0 (len 30) with type 22 and pins 16,255 (itype 21)
Usermods setup
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x4010957c PS : 0x00060930 A0 : 0x800563e9 A1 : 0x3ffb1e50
A2 : 0x00000000 A3 : 0x3ffb96b0 A4 : 0x3f41c629 A5 : 0x00000000
A6 : 0x00000000 A7 : 0xffffffaa A8 : 0x3ffb939c A9 : 0x3ffb1e60
A10 : 0x3ffb9698 A11 : 0x00001800 A12 : 0x00000001 A13 : 0x00000000
A14 : 0x00000000 A15 : 0x00000019 SAR : 0x0000000a EXCCAUSE: 0x0000001c
EXCVADDR: 0x00000000 LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xfffffffb
ELF file SHA256: 0000000000000000
Backtrace: 0x40109579:0x3ffb1e50 0x400563e6:0x3ffb1e70 0x400564c9:0x3ffb1e90 0x40109e9d:0x3ffb1ee0 0x40109f05:0x3ffb1f00 0x401b379d:0x3ffb1f20 0x40112dfd:0x3ffb1f40 0x40113d6e:0x3ffb1f90 0x40133fae:0x3ffb1fb0 0x4008c082:0x3ffb1fd0
Rebooting...
Does someone know what is causing this issue or how I can debug further?