-->
Page 2 of 2

Re: NodeMCU : reboot reasons distinction

PostPosted: Mon Jan 23, 2017 10:13 am
by Jep
Thanks torntrousers for your contribution!!
So I'm not the only one in that case, great :)
What seems strange is that my SDK version is quite a recent one (1.5.2) and according to the following post on espressif forum, SDK was already throwing the correct REASON_DEFAULT_RST reason for "power on" before SDK 1.3! :?
http://bbs.espressif.com/viewtopic.php?t=777

Re: NodeMCU : reboot reasons distinction

PostPosted: Tue Jan 24, 2017 2:42 am
by torntrousers
I looked at this a bit more, I think its a problem with the NodeMCU board itself. Trying with a bare ESP12 I do get REASON_DEFAULT_RST at power on. I wonder if its the NodeMCU auto-reset circuitry thats doing a reset at power on or something like that.

Re: NodeMCU : reboot reasons distinction

PostPosted: Thu Jan 26, 2017 4:17 am
by Jep
hum ... interesting!
that could indeed be due to the auto-reset circuitry ... but as the auto-reset depends on DTR/RTS states I would have thought that only power-on through USB cable could give a wrong reboot cause ...

Re: NodeMCU : reboot reasons distinction

PostPosted: Wed Feb 01, 2017 3:43 am
by Jep
Hello,
I have some news on this problem.
To check if the wrong reset reason was linked to the auto-reset circuitry of the NodeMCU board, I build a new board including only the esp8266 12E and I still have this damned EXT_SYS_RST when I power on the board!!! :o
Just to be sure, here are the only connections I have on the board:
- GPIO2 / GPIO0 / EN / RST => pullup to 3,3V through 10K
- GPIO15 => pulldown to GND through 10K
Any idea ?? :idea: