How to feed watch dog?
How to feed watch dog?
Postby baoshi » Sat Feb 14, 2015 11:53 pm
I'm using RTOS SDK and I have some operations (filling a LCD frame buffer) that takes a while. It causes watch dog reset.
I would like to know:
1. How long exact is watch dog timeout?
2. How to feed watch dog?
Thanks
Baoshi
I would like to know:
1. How long exact is watch dog timeout?
2. How to feed watch dog?
Thanks
Baoshi
Re: How to feed watch dog?
Postby ESP_Faye » Sun Feb 15, 2015 10:24 am
Hi,
Thanks for your interest in ESP8266 !
1. watch dog timeout is about 1 second
2. sorry that we don't have any API to feed the dog,so please call vTaskDelay in your while 1
Thanks for your interest in ESP8266 !
1. watch dog timeout is about 1 second
2. sorry that we don't have any API to feed the dog,so please call vTaskDelay in your while 1
Re: How to feed watch dog?
Postby kolban » Wed Nov 11, 2015 9:05 am
In a sample I wrote, I coded a vTaskDelay in my loop but unfortunately, the WDT still fires ... see the following post:
viewtopic.php?f=7&t=1360
viewtopic.php?f=7&t=1360
-
- Posts: 10
- Joined: Sat Nov 21, 2015 5:08 pm
Re: How to feed watch dog?
Postby EliteScientist » Sat Nov 21, 2015 5:12 pm
Is there any updates for this? Also I'm getting a WDT Reset when sending data using espconn_send under RTOS 1.3.0
The first connection is fine. the second connection never actually sends the data then results in a WDT reset.
The first connection is fine. the second connection never actually sends the data then results in a WDT reset.
-
- Posts: 10
- Joined: Sat Nov 21, 2015 5:08 pm
Re: How to feed watch dog?
Postby EliteScientist » Thu Nov 26, 2015 7:44 am
It was my error. I ended up changing my routine to write data -> if busy then queue data-> when data sent free data and process next item in queue. This fixed my issues of the WDT in espconn_send.
I still have several outstanding issues with espconn. I probably should start a new thread. I'm seeing occasional fatal exceptions which appear to be caused by a pvPortRealloc call after calling espconn_send, after a connection closes I'm not getting a callback, after calling espconn_igmp_join, I am not getting a callback for the multicast packets.
I think I'll try to isolate these issues in separate projects and send them to you guys. That will help differentiate between errors that may be in my code and errors that may be caused by the SDK.
I still have several outstanding issues with espconn. I probably should start a new thread. I'm seeing occasional fatal exceptions which appear to be caused by a pvPortRealloc call after calling espconn_send, after a connection closes I'm not getting a callback, after calling espconn_igmp_join, I am not getting a callback for the multicast packets.
I think I'll try to isolate these issues in separate projects and send them to you guys. That will help differentiate between errors that may be in my code and errors that may be caused by the SDK.
Who is online
Users browsing this forum: No registered users and 22 guests
Login
Newbies Start Here
Are you new to ESP8266?
Unsure what to do?
Dunno where to start?
Start right here!
Latest SDK
Documentation
Complete listing of the official ESP8266 related documentation release by ESPRESSIF!
Must read here!
- All times are UTC+08:00
- Top
- Delete all board cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. We are the manufacturer of ESP8266EX.