Disable watchdog

erimads@gmail.com
Posts: 9
Joined: Fri Jan 26, 2024 6:53 pm

Disable watchdog

Postby erimads@gmail.com » Sat Jun 29, 2024 1:19 pm

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

aliarifat794
Posts: 198
Joined: Sun Jun 23, 2024 6:18 pm

Re: Disable watchdog

Postby aliarifat794 » Sat Jun 29, 2024 7:24 pm


erimads@gmail.com
Posts: 9
Joined: Fri Jan 26, 2024 6:53 pm

Re: Disable watchdog

Postby erimads@gmail.com » Sun Jun 30, 2024 2:20 pm

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

erimads@gmail.com
Posts: 9
Joined: Fri Jan 26, 2024 6:53 pm

Re: Disable watchdog

Postby erimads@gmail.com » Thu Jul 04, 2024 10:28 am

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.

Who is online

Users browsing this forum: No registered users and 152 guests