custom crash callback #6959
JesusCarrascoCarrillo
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I am starting to use the ESP32 module with the Arduino IDE and I have detected that it produces a reset sometimes, on more occasions than the ESP8266. It is probably for security, although the program I use is the same on both platforms.
In order to debug the error, I would need to have a function similar to the one that the ESP8266 has (extern "C" void custom_crash_callback) to be able to analyze the stack dump. If I work through the serial port I can get the screen dump and analyze it with "ESP exception decoder" but if the equipment is already in production it is impossible.
1.- I would like to propose making this function public, which surely exists since to print the dump on the screen some function must be used.
2.- Another proposal is to dump the produced dumps into a flash file, which can be handled with LittleFS, which would simplify things.
Cheers,
Beta Was this translation helpful? Give feedback.
All reactions