eps8266连DNS会被看门狗复位,这是怎么回事?请问如何给eps8266喂看门狗?
下面是串口调试输出信息:
【2015-03-05 15:26:34(167)收到】
ets Jan 8 2013,rst cause:4, boot mode:(3,7)
wdt reset
load 0x40100000, len 25496, room 16
tail 8
chksum 0xaf
load 0x3ffe8000, len 2652, room 0
tail 12
chksum 0x54
ho 0 tail 12 room 4
load 0x3ffe8a60, len 4524, room 12
tail 0
chksum 0xfd
csum 0xfd
eps8266连DNS会被看门狗复位,这是怎么回事?请问如何给eps8266喂看门狗?
Re: eps8266连DNS会被看门狗复位,这是怎么回事?请问如何给eps8266喂看门狗?
Postby ESP_Faye » Fri Mar 06, 2015 9:38 am
您好,
底层大约 1s 喂一次狗,上层并没有喂狗的接口,因此建议您在上层代码中不要使用 while 1 之类一直占用 CPU 的代码。
您可以参考 BBS http://bbs.espressif.com/viewtopic.php?f=21&t=232 使用 DNS 功能。
感谢您对 ESP8266 的关注!
底层大约 1s 喂一次狗,上层并没有喂狗的接口,因此建议您在上层代码中不要使用 while 1 之类一直占用 CPU 的代码。
您可以参考 BBS http://bbs.espressif.com/viewtopic.php?f=21&t=232 使用 DNS 功能。
感谢您对 ESP8266 的关注!
Re: eps8266连DNS会被看门狗复位,这是怎么回事?请问如何给eps8266喂看门狗?
Postby younger » Sat Mar 07, 2015 8:53 am
Espressif_Faye wrote:您好,
底层大约 1s 喂一次狗,上层并没有喂狗的接口,因此建议您在上层代码中不要使用 while 1 之类一直占用 CPU 的代码。
您可以参考 BBS http://bbs.espressif.com/viewtopic.php?f=21&t=232 使用 DNS 功能。
感谢您对 ESP8266 的关注!
1s喂狗是否有点频繁了? 目前看到很多重启的原因都是因为看门狗复位
Who is online
Users browsing this forum: No registered users and 180 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.