What i noticed is that if The switch is closed during power on (i.e. GPIO2 is connected to GND) the module is unable to boot normally (i get bunch of repeated garbage on the serial). If open (pulled up) or left floating boot up is normal.
Now i understand that connecting GPIO0 on bootup puts the ESP in firmware upload mode, but i'cant seem to find anything related to GPIO2?
Does pulling GPIO2 low on restart also put the ESP in firmware upload mode?
Can anyone tell me if any other GPIOs have the same effect on boot mode if connected to ground?
I plan to use the ESP together with the reed switch to sense the state of the garage doors (pulling GPIO low then door is open) and since power outages are quite common aroung here it might happen that the esp will reboot while the door is open and that could cause it to go in the loop which is unacceptable.
Thanks