How to use software to trigger system reset

strangeman
Posts: 4
Joined: Thu Sep 16, 2021 11:40 am

How to use software to trigger system reset

Postby strangeman » Sat Aug 31, 2024 1:10 am

After my esp32 wakes up from deep-sleep mode in some cases, some RTC-io can't work normally. I hope I can use software to reset this system. esp_restart can only trigger cpu-reset, but can't reset RTC domain.

boarchuz
Posts: 611
Joined: Tue Aug 21, 2018 5:28 am

Re: How to use software to trigger system reset

Postby boarchuz » Sat Aug 31, 2024 5:06 am

https://gist.github.com/boarchuz/1a40a6 ... b61388436f

Note the 'WDT_STAGE_ACTION_RESET_RTC'

Who is online

Users browsing this forum: Baidu [Spider], Bing [Bot], dzungpv and 80 guests