Using the esp_restart function will cause the RTC watchdog to reset when the software is reset

ripper_jack
Posts: 4
Joined: Fri Jul 07, 2023 2:35 am

Using the esp_restart function will cause the RTC watchdog to reset when the software is reset

Postby ripper_jack » Tue Mar 26, 2024 2:47 am

Snipaste_2024-03-26_10-41-08.png
Development environment:platformIO esp-idf version4.4.2 ArduinoV2.0.5‘
However, not every sw reset will cause the rtc watchdog to reset

ripper_jack
Posts: 4
Joined: Fri Jul 07, 2023 2:35 am

Re: Using the esp_restart function will cause the RTC watchdog to reset when the software is reset

Postby ripper_jack » Tue Mar 26, 2024 3:30 am

log info
Snipaste_2024-03-26_10-41-08.png
Snipaste_2024-03-26_10-41-08.png (43.66 KiB) Viewed 1371 times

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

Re: Using the esp_restart function will cause the RTC watchdog to reset when the software is reset

Postby boarchuz » Tue Mar 26, 2024 3:53 am

I guess it's doing its job. Everything in the RTC domain will be untouched with a SW reset so there's always the chance that some configuration or ongoing activity interferes with reinitialisation. A RTC WDT reset will clear everything for a clean slate.
What do you get with this?:

Code: Select all

xtensa-esp32-elf-addr2line -pfiaC -e build/bootloader/bootloader.elf 0x40079ce9
(That address might be wrong if you have altered the build since capturing the provided output)

Who is online

Users browsing this forum: Bing [Bot] and 88 guests