Page 1 of 1

Accurate reset reason

Posted: Fri Jul 13, 2018 12:21 pm
by urbanze
I need an more accurate reset reason in idf, how can I do this? See:

Cause ::: Reset reason

Interrupt wdt ::: 12 (SW_CPU_RST)
Task wdt ::: 12 (SW_CPU_RST)
ESP_RESTART() ::: 12 (SW_CPU_RST)
and etc...

Can I accurate this? I need to log when is task wdt or interrupt wdt (never occur but necessary), but all reasons are 12 :(

I thought of something with coredump, but maybe it's too complex for something simple.

Re: Accurate reset reason

Posted: Thu Mar 12, 2020 6:59 pm
by felipealmeida43
Hi, I have a similiar issue, the esp got the same reset reasons no matter if i powered up or when i press the reset button. :(

CPU0 POWERON RESET
CPU1 EXT_CPU_RESET

Re: Accurate reset reason

Posted: Sat Mar 14, 2020 9:36 pm
by chegewara