Hi,
I'm testing out an ESP32-S3 dev-kit, and I'm noticing that data within RTC fast+slow memory are being cleared when I press the reset button on the board. Is it possible to make the memory persist when I reset via the button?
I recall being able to externally reset an ESP8266 without losing RTC memory contents.
Is there any work arounds to this so I can the ESP32 to handle RTC memory like the ESP8266 did?
Thanks
ESP32-S3 RTC memory
-
- Posts: 9730
- Joined: Thu Nov 26, 2015 4:08 am
Re: ESP32-S3 RTC memory
Technically, no. The reset input on the chip powers down everything, including RTC memory, meaning that when the power comes back up, the RTC memory is likely to be corrupted. That's why ESP-IDF clears it when it detects a reset. The ESP8266 has the same issue but I think the SDK doesn't clear it, meaning whatever corruption sneaked in needs to be handled by the user.
Re: ESP32-S3 RTC memory
I see. Could you point me in the direction of where that would be happening in the SDK?
My hope was to use an external microcontroller to toggled the EN pin really quickly without affecting the RTC memory.
It's off-topic, but I learned through experience that the ESP8266 (ESP-WROOM-02) could go "off the rails" due to unstable power conditions, and never recover even though it has a watch dog timer. Is it possible that the ESP32-S3 could fall into an unresponsive state due to the built in brown-out detector or watch dog timer failing to kick in? If that isn't a possibility on the ESP32-S3 then I won't need to incorporate an external reset source.
My hope was to use an external microcontroller to toggled the EN pin really quickly without affecting the RTC memory.
It's off-topic, but I learned through experience that the ESP8266 (ESP-WROOM-02) could go "off the rails" due to unstable power conditions, and never recover even though it has a watch dog timer. Is it possible that the ESP32-S3 could fall into an unresponsive state due to the built in brown-out detector or watch dog timer failing to kick in? If that isn't a possibility on the ESP32-S3 then I won't need to incorporate an external reset source.
Who is online
Users browsing this forum: ok-home and 107 guests