ESP8266 Developer Zone The Official ESP8266 Forum 2015-06-14T04:46:28+08:00 https://bbs.espressif.com:443/feed.php?f=7&t=574 2015-06-14T04:46:28+08:00 2015-06-14T04:46:28+08:00 https://bbs.espressif.com:443/viewtopic.php?t=574&p=2207#p2207 <![CDATA[Re: system_restart() hangs]]> Statistics: Posted by FrenkR — Sun Jun 14, 2015 4:46 am


]]>
2015-06-10T11:51:55+08:00 2015-06-10T11:51:55+08:00 https://bbs.espressif.com:443/viewtopic.php?t=574&p=2145#p2145 <![CDATA[Re: system_restart() hangs]]>
Espressif_Faye wrote:
Hi,

It seems that your GPIO 0 is not in high level.

While downloading bin files, it is MTDO: 0, GPIO 0 : 0, GPIO 2 : 1

While running program, it needs to be MTDO: 0, GPIO 0 : 1, GPIO 2 : 1

Thanks for your interest in ESP8266 !



Add a little more. It seems that we should make sure a low level of GPIO0 have been sampled during the last "POR(Power on Reset)or reset pin reset to the chip. Just with a wdt reset for any reasons, the boot selection pins might not be sampled even you released the GPIO0 during the wdt reset, and you may check to find that the boot_sel in the boot info are still (1,6) as an example. That is, we may have to have POR to the chip or provide a low-to-high transient to the nReset pin with the GPIO released.

Statistics: Posted by Guest — Wed Jun 10, 2015 11:51 am


]]>
2015-06-10T10:50:24+08:00 2015-06-10T10:50:24+08:00 https://bbs.espressif.com:443/viewtopic.php?t=574&p=2141#p2141 <![CDATA[Re: system_restart() hangs]]>
It seems that your GPIO 0 is not in high level.

While downloading bin files, it is MTDO: 0, GPIO 0 : 0, GPIO 2 : 1

While running program, it needs to be MTDO: 0, GPIO 0 : 1, GPIO 2 : 1

Thanks for your interest in ESP8266 !

Statistics: Posted by ESP_Faye — Wed Jun 10, 2015 10:50 am


]]>
2015-06-10T06:18:31+08:00 2015-06-10T06:18:31+08:00 https://bbs.espressif.com:443/viewtopic.php?t=574&p=2134#p2134 <![CDATA[system_restart() hangs]]> Debug on UART1 is as follows:

Code:

System will be rebooted... <-- my own message, notifying that system_restart() was called
 
station: 2c:f0:ee:e7:fc:ad leave, AID = 1
rm match
bcn 0
del if1
usl
sul 0 0

 ets Jan  8 2013,rst cause:4, boot mode:(1,6)

wdt reset


Are there any rules to take care of to successfully reboot device?
Rgds,
Frenk

Statistics: Posted by FrenkR — Wed Jun 10, 2015 6:18 am


]]>