VCC -> 3.3V
GND -> ground
CH_PD -> 3.3V
RST -> 3.3V
GPIO0 -> ground for uploading firmware/not connected for booting in normal mode
GPIO2 -> connected to LED anode
I'm trying to set GPIO2 LOW and HIGH, alternating. I'm able to do this and after uploading the firmware my LED starts blinking at the right interval.
Now when I try to reboot the chip the LED isn't blinking anymore. When I reboot the chip without GPIO2 connected to the anode, and connecting it after a few seconds, the LED starts blinking.
Why am I unable to correctly boot the chip with GPIO2 connected to the anode? What steps can I take to solve this problem?