Chat freely about anything...

User avatar
By AcmeUK
#21962 Hi FabCa
What have you got connected to GPIO0 and GPIO2? If you look at post #3 in this thread http://www.esp8266.com/viewtopic.php?f=13&t=1730 you will see
For a regular boot both GPIO0 and GPIO2 need to be floating, or pulled up with a resistor to Vcc. If at a regular boot either GPIO0 or GPIO2 is LOW, it will not boot.

Update
I have just had a better look at your code. You are using 2 serial ports. I believe the esp8266-01 only has one. What software are you flashing, LUA or Arduino IDE?
Also start at a very basic level. Use only one serial port and try to get the esp-01 to echo back what you type.

If you are using the Arduino IDE then have a look at this simple ECHO sketch http://arduinobasics.blogspot.co.uk/2012/07/arduino-basics-simple-arduino-serial.html
I set my sketches to run a 74880 so that I can see the boot time messages.

I also see from the following message that Gerry has located a fundamental flaw in your code.
Last edited by AcmeUK on Mon Jun 29, 2015 7:11 am, edited 2 times in total.