Hi, I have a sketch that work great and runs continuously collecting data from a water flux sensor.
From time to time it reboots with no apparent reason.
I have a sort of log that tracks system reboots and other conditions (during boot process it records time of the boot).
What are the resources available to catch the reason for such spurious reboots?
Thanks
Paulo
ESP32 reboots somewhat once a day. How to capture the conditions?
Re: ESP32 reboots somewhat once a day. How to capture the conditions?
The best way I have found is to use the ESP's core dump to flash feature, and then analyze the core dump afterwards. ESP supplies tools to make this easy, and usually it's just a matter of loading the core dump and running the bt (backtrace) command to see where it happened.
See: https://docs.espressif.com/projects/esp ... p-to-flash
Jason
See: https://docs.espressif.com/projects/esp ... p-to-flash
Jason
Who is online
Users browsing this forum: No registered users and 89 guests