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)
ESP32 - Crash detection
-
- Posts: 9746
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32 - Crash detection
Not exactly what you want, but perhaps the rollback feature is good enough?
Who is online
Users browsing this forum: No registered users and 75 guests