How to debug backtrace under Arduino
-
Hi,
I'm a new user using an M5Core2 with the Arduino software as it's recommended in the documentation.
I'm facing an issue and I don't find any way to debug backtrace stack.
I tried with Esp Exception Decoder but I always receive this kind of exception:Guru Meditation Error: Core 1 panic'ed (LoadProhibited). Exception was unhandled. Core 1 register dump: PC : 0x400fb127 PS : 0x00060730 A0 : 0x800d1750 A1 : 0x3ffb1f30 A2 : 0xf3ef10b2 A3 : 0x00000064 A4 : 0x00000001 A5 : 0x3ffc8708 A6 : 0x3ffb8798 A7 : 0x00000018 A8 : 0x800fb14e A9 : 0x3ffb1ed0 A10 : 0x3ffb3500 A11 : 0x400fa95c A12 : 0x3ffb3524 A13 : 0x3ffb353c A14 : 0x00000001 A15 : 0x3ffc7a04 SAR : 0x0000001a EXCCAUSE: 0x0000001c EXCVADDR: 0xf3ef10d6 LBEG : 0x400f8d01 LEND : 0x400f8d14 LCOUNT : 0x00000000 ELF file SHA256: 0000000000000000 Backtrace: 0x400fb127:0x3ffb1f30 0x400d174d:0x3ffb1f50 0x400d1b9a:0x3ffb1f70 0x400d1e9d:0x3ffb1f90 0x401065bd:0x3ffb1fb0 0x4008b70a:0x3ffb1fd0
Is there a way to make these exceptions more human friendly? I don't know what to do with it, and it's funny because the ELF file is always
0000000000000000
. -
It seems no one is using Arduino software for M5Core2 :(
-
Not many users of Arduino on the Core2 - yet...
It looks to me like a lot of functionality must be developed for the Core2. As the firmware is being improved from earlier versions, I'm experiencing a lot of odd problems in UIFlow online and desktop, with connectivity, response to touch input, failure to execute subroutines, etc., which seem to be improving with each new release.
I expect the Arduino libraries to improve over time as well, but until these are known to be functionally complete, I am avoiding the Arduino RAD environment, mainly because it is not designed for (WYSIWYG) graphics.