Closed eloebo closed 6 months ago
we can not help just like that, going just by the info you gave. No code, you did not decode the backtrace with the exception decoder... all I can say so far is that you probably have corrupted heap
try erasing the flash and see if it works better
we can not help just like that, going just by the info you gave. No code, you did not decode the backtrace with the exception decoder... all I can say so far is that you probably have corrupted heap With the precompiled elf bootloaders and no solution like https://github.com/MathieuDeprez/ESP32_CoreDump_Arduino_1.0.6 the esp32 platform is not very accessable for arduino developers.
Giving up using esp32 for arduino
you do not need coredump in the logs above. You need the exception decoder to turn the backtrace into meaningful trace. And while we do not offer that specific thing, we do offer other ways to understand what is going on (JTAG, ExceptionDecorder)
you do not need coredump in the logs above. You need the exception decoder to turn the backtrace into meaningful trace. And while we do not offer that specific thing, we do offer other ways to understand what is going on (JTAG, ExceptionDecorder)
I tried a J-link debugger but could not get connection to the cores either through esp-if tools (openocd and gdb running esp32.cfg with interface/jlink.cfg) or the one in arduino package (even worse, since could not connect to the debugger since some standard config with some ROOVER board) Is ExeptionDecoder something that relies on HW or is it something in SW that could be added easily?
https://github.com/me-no-dev/EspExceptionDecoder it's software and runs in the Arduino IDE. Even if your project is not in the IDE, once you compile it, you can start the tool in the ide and point it to your project elf file. The rest will happen after you paste the backtrace
there are other versions of it online that do not require IDE, but I can not say how well they work
Board
ESP32-D0WD-V3 audiokit
Device Description
Audiokit 2.2
Hardware Configuration
Default Audiokit
Version
latest master (checkout manually)
IDE Name
Arduino IDE
Operating System
Windows 11
Flash frequency
80MHz
PSRAM enabled
no
Upload speed
921600
Description
After new ESP board package 2.0.15 I got this problem. Since the default arduino behaviour is just to reboot and not show crashdump I cannot see in detail what went wrong.
Sketch
Debug Message
Other Steps to Reproduce
Suggestion: Add in the boot code to print out readable crashdump from flash from latest crash like: https://github.com/MathieuDeprez/ESP32_CoreDump_Arduino_1.0.6
I have checked existing issues, online documentation and the Troubleshooting Guide