Search found 7 matches

by erimads@gmail.com
Thu Jul 04, 2024 10:28 am
Forum: ESP32 Arduino
Topic: Disable watchdog
Replies: 3
Views: 1811

Re: Disable watchdog

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.
by erimads@gmail.com
Sun Jun 30, 2024 2:20 pm
Forum: ESP32 Arduino
Topic: Disable watchdog
Replies: 3
Views: 1811

Re: Disable watchdog

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
by erimads@gmail.com
Sat Jun 29, 2024 1:19 pm
Forum: ESP32 Arduino
Topic: Disable watchdog
Replies: 3
Views: 1811

Disable watchdog

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_wprote...
by erimads@gmail.com
Fri Feb 23, 2024 1:40 pm
Forum: ESP-IDF
Topic: reset the on chip RTC?
Replies: 1
Views: 456

reset the on chip RTC?

Hello
Is it in anyway possible to reset the internal RTC or write to RTC's registre?
I need to do this to make shore I get the newest when calling localtime_r after calling sntp_init.
by erimads@gmail.com
Sun Feb 11, 2024 12:57 pm
Forum: ESP-IDF
Topic: Can't update time from SNTP
Replies: 0
Views: 319

Can't update time from SNTP

I are making a clock to this I need to update the time every 24 hours, but I only got the correct time with the first call. Here is the code for the to calls, the wifi is connected at the first call. First time I call the GetLocalTime, and it gives me the correct time. the following call goes to Get...
by erimads@gmail.com
Sat Jan 27, 2024 7:18 pm
Forum: ESP-IDF
Topic: Problem with watchdog !
Replies: 4
Views: 1540

Re: Problem with watchdog !

dont work with vtaskdelay it has to be more than 10 ms to work at this my scan will go most to slow.
I just needded a command/function to feed the dog or maybe to kill the dog.
I try to run it with timer interrupt task 1000 times a secund but it gives the same problev or it is worse
by erimads@gmail.com
Fri Jan 26, 2024 7:17 pm
Forum: ESP-IDF
Topic: Problem with watchdog !
Replies: 4
Views: 1540

Problem with watchdog !

Every ca. 6 secund I get this out of ESP32. E (85334) task_wdt: Task watchdog got triggered. The following tasks/users did not reset the watchdog in time: E (85334) task_wdt: - IDLE (CPU 0) E (85334) task_wdt: Tasks currently running: E (85334) task_wdt: CPU 0: Task1 E (85334) task_wdt: CPU 1: IDLE ...