ESP32 crash - Exception decoder not of any help
Posted: Thu Dec 09, 2021 8:13 pm
Hello, I had an application running on ESP8266 and it worked fine on 5 devices for more than 3 years, it controls the 5 canvas of my home. Presently it is still running on 4 of them, while on the 5th I am testing my porting on ESP32. I have really a lot of crashes and, most of the times, it doesn't reboot and I am required to reset it manually (force EN low) to reboot.
So, I connected a serial port to investigate the crash, but the output seems not consistent. Exception Decoder just says:
Decoding 2 results
0x4008743e: _xt_user_exit at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/xtensa_vectors.S line 79
The output on the serial port is:
Power is in excess of 1A and there is a huge capacitor on the 3.3V power line (4700uF) and, of course, a small 0.1uF near the ESP.
I don't tamper with core 0 - all my code is [presently] just in one task and running in core 1.
I just would like to know where I can start to investigate while all the tools I used up to date seems not effective! (on ESP8266 I had the beautiful SaveCrash functions to trap my programming errors).
Thanks!
So, I connected a serial port to investigate the crash, but the output seems not consistent. Exception Decoder just says:
Decoding 2 results
0x4008743e: _xt_user_exit at /home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/freertos/xtensa_vectors.S line 79
The output on the serial port is:
- Guru Meditation Error: Core panic'ed (Interrupt wdt timeout on CPU0)
- Core 0 register dump:
- PC 0x4008743e PS 0x00060334 A0 0x8012c25 A1 0x3fbe0
- A2 0x3fb260 A3 0x3fbec A4 0x00000007 A5 0x000137d
- A6 0x00000000 A7 0x00000011 A8 0x8013ae A9 0x3fbe0
- A10 0x00000000 A11 0x3fbec A12 0x3fb2c A13 0x00000000
- A14 0x00000001 A15 0x00000000 SAR 0x00000010 EXCCAUSE 0x00000005
- EXCVADDR 0x00000000 LBEG 0x4000ce LEND 0x4000cf LCOUNT 0xffff
- ELF file SHA256: 000000000000000
- Backtrace:0x4008743e0x3fbe00x4012c22:0x3fbe0 0x401275a:0x3fbe0 0x4008a46:0x3fbe0
- ore 1 register dump:
- PC 0x4000c71 PS 0x00060034 A0 0x8008a60 A1 0x3fbd0
- A2 0x3fb058 A3 0x3f15134 A4 0x00000014 A5 0x3fc0e
- A6 0x3fc128 A7 0x00000001 A8 0x00000001 A9 0x3f15135
- A10 0x000000a A11 0x3fc43c A12 0x8008b17 A13 0x3fc0b
- A14 0x00000008 A15 0x00000001 SAR 0x0000001f EXCCAUSE 0x00000005
- EXCVADDR 0x00000000 LBEG 0x400012e LEND 0x40001309 LCOUNT 0x800e230
- ELF file SHA256: 000000000000000
- Backtrace:0x4000c71:0x3fbd00x4008a5d0x3fbe00x4008c30:0x3fbe00x4008ce:0x00060320
Power is in excess of 1A and there is a huge capacitor on the 3.3V power line (4700uF) and, of course, a small 0.1uF near the ESP.
I don't tamper with core 0 - all my code is [presently] just in one task and running in core 1.
I just would like to know where I can start to investigate while all the tools I used up to date seems not effective! (on ESP8266 I had the beautiful SaveCrash functions to trap my programming errors).
Thanks!