Page 1 of 1

ESP32 - Crash detection

Posted: Mon Apr 25, 2022 8:31 pm
by R1Snake
Hello,

I have an ESP project that has worked wonderfully and so I have potted the board to protect it from water (use outside).

Updates I have always installed via OTA and this has always worked wonderfully

Now I have updated the entire project over the weekend and made a few changes to the code, these played on an ESP Dev Board and tested.

Now the worst case scenario happened, I played the latest firmware on my potted ESP and it always crashed. I found the cause, however I now have a potted ESP that I can no longer use.

To avoid this case in the future I want to somehow program a "crash detector" pure.

If the ESP crashes 5 times in a row, then it should be detected and an access point with web interface should be created where a new firmware can be installed.

Is there a way to read out the crashes? The counter could be written in a RTC variable.

Translated with www.DeepL.com/Translator (free version)

Re: ESP32 - Crash detection

Posted: Tue Apr 26, 2022 1:06 am
by ESP_Sprite
Not exactly what you want, but perhaps the rollback feature is good enough?