I have a pretty big sketch that has intermitand crashes after several hours.
If a crash has occured the ESP32 keeps on rebooting. So storing values into flash will quickly wear-out the flash-memory (I had 33000 reboots over night)
For narrowing down the problem I would like store data into the RTC-RAM
I did some tests but the data in RTC-RAM gets lost over a ESP.restart() or a resetbutton reboot.
So is there a way to avoid erasing the RTC-RAM during a reset?
Of course I can connect some FRAM to my ESP32 which has billions of writecycles
or I can add a second serial interface that sends data whch will be recorded in a logfile
but I would like to avoid this.
best regards Stefan