Re: Connectiong GPIO2 to GND on Startup results in junk in
Posted: Fri Jun 05, 2015 1:14 am
Connect via a resistor is ok. That won't pull GPIO2 too low.
-->
Open Community Forum for ESP8266, Come share Arduino and IoT (Internet of Things)
https://www.esp8266.com/
uber4 wrote:pzwolinski wrote:I'm having the same problem...
I have an LED connected to between GPIO2 and GND. When my ESP01 is restarted, it will not boot normally, which is a bummer. If I temporarily disconnect the LED circuit, the board will boot normally, and after reconnecting, my program works as desired (able to toggle the LED over wifi).
Is there anything I can do to get this unit booting normally without having to leave GPIO2 floating?
I had the same problem and I fixed with a 2,2k pull up resistor (4,7k or higher was not working).
Doing this GPIO2 will be high by default while it resets (1-2 seconds), but you allways can write to low.
TRIROG wrote:Yeah ... Thought of that... The problem is that there could be an unfortunate ocrurence where the module will reboot but the switch would be closed/open which is unacceptable... Do you happen to know if GPIO 0 and 2 are only such GPIOS that cause such results i.e. module not booting to normal mode if connected to GND.?
What happens if GPIO2 is conncted to GND during boot i guess it's not a firmware upload mode .