Page 1 of 1

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

Posted: Tue Mar 26, 2024 2:47 am
by ripper_jack
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

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

Posted: Tue Mar 26, 2024 3:30 am
by ripper_jack
log info
Snipaste_2024-03-26_10-41-08.png
Snipaste_2024-03-26_10-41-08.png (43.66 KiB) Viewed 1240 times

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

Posted: Tue Mar 26, 2024 3:53 am
by boarchuz
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)