Register / Login | Desktop view |
Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled.
Core 1 register dump:
PC : 0x40101be2 PS : 0x00060930 A0 : 0x800ea545 A1 : 0x3ffb1f10
A2 : 0x3ffc2654 A3 : 0x00000000 A4 : 0x3ffc14e4 A5 : 0x00000001
A6 : 0x00000000 A7 : 0x3ffb0060 A8 : 0x3f41036c A9 : 0x00000000
A10 : 0x3ffb8388 A11 : 0x11400000 A12 : 0x3ffc14e4 A13 : 0x00000001
A14 : 0x00000000 A15 : 0x00000000 SAR : 0x0000000a EXCCAUSE: 0x0000001c
EXCVADDR: 0x800ea56d LBEG : 0x400014fd LEND : 0x4000150d LCOUNT : 0xfffffffc
ELF file SHA256: 0000000000000000
Backtrace: 0x40101be2:0x3ffb1f10 0x400ea542:0x3ffb1f30 0x400ea5dd:0x3ffb1f50 0x400d1cb6:0x3ffb1f70 0x400d1bf2:0x3ffb1f90 0x400d3655:0x3ffb1fb0 0x40086df6:0x3ffb1fd0
#0 0x40101be2:0x3ffb1f10 in onSwitchesInterrupt(unsigned char) at .pio\libdeps\REPTestOSV3\IoAbstraction\src/SwitchInput.cpp:267
#1 0x400ea542:0x3ffb1f30 in TaskManager::dealWithInterrupt() at .pio\libdeps\REPTestOSV3\TaskManagerIO\src/TaskManagerIO.cpp:411
#2 0x400ea5dd:0x3ffb1f50 in TaskManager::runLoop() at .pio\libdeps\REPTestOSV3\TaskManagerIO\src/TaskManagerIO.cpp:411
#3 0x400d1cb6:0x3ffb1f70 in REPTestOS::runOS() at c:\users\benne\.platformio\packages\toolchain-xtensa32\xtensa-esp32-elf\include\c++\5.2.0/functional:1873
#4 0x400d1bf2:0x3ffb1f90 in loop() at src/main.cpp:15
#5 0x400d3655:0x3ffb1fb0 in loopTask(void*) at C:\Users\benne\.platformio\packages\framework-arduinoespressif32\cores\esp32/main.cpp:23
#6 0x40086df6:0x3ffb1fd0 in vPortTaskWrapper at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/port.c:355 (discriminator 1)
So I had a fairly rough time porting my program from an ATMega to the ESP32
I'm not sure if this is enough to give you a direction to point me. I'm not currently using any of the Taskmanager/IoAbstraction interrupts in my software.