Page 1 of 1

Disable watchdog

Posted: Sat Jun 29, 2024 1:19 pm
by erimads@gmail.com
I have used the folloving code do disable the watchdog but it cant compile after som new libraries. how can I get this to work again.
TIMERG0.wdt_wprotect=TIMG_WDT_WKEY_VALUE;
TIMERG0.wdt_feed=1;
TIMERG0.wdt_wprotect=0;
TIMERG1.wdt_wprotect=TIMG_WDT_WKEY_VALUE;
TIMERG1.wdt_feed=1;
TIMERG1.wdt_wprotect=0;
Regards Erik

Re: Disable watchdog

Posted: Sat Jun 29, 2024 7:24 pm
by aliarifat794

Re: Disable watchdog

Posted: Sun Jun 30, 2024 2:20 pm
by erimads@gmail.com
I am not using ESP-IDF to program but arduino IDE, I only need how to du the code that is working before loading new libraries.
what du I have to change to get it to work again ?
Erik

Re: Disable watchdog

Posted: Thu Jul 04, 2024 10:28 am
by erimads@gmail.com
Is there not anyone that can help me rewrite the 6 lines of code that worked 100% to kill the watchdog before update of libraries, now after I have updated the libraries in Arduino IDE I got lots of compiler errors.