After completing the flashing process, it stay with the code for aprox. 5 secs and then resets.
I'm using Arduino IDE for ESP8266 v2.0.
GPIO0 to GND.
Reset to a Tact Switch to GND.
CH_DT to VCC 3.3V.
Using FTDI FT232RL in 3.3V.
Using external power source for the ESP8266.
What could it be?