-->
Page 1 of 2

Physical serial required, otherwise hangs at boot

PostPosted: Mon May 04, 2015 2:38 am
by jh1995
Got the Arduino + ESP8266 working with the sample HelloWebServer code. Since my target is a "plug-and-forget" standalone WiFi sensor, I don't need serial output. So I commented out all code containing Serial*, from the init to all prints.

Compiled, uploaded and ... the ESP8266 doesn't boot unless I do connect something to the hardware serial. If I leave it floating the code hangs to what is the beginning of setup(), since it doesn't log into the AP.

If I add a jumper between RX and TX lines of the 8266, everything boots up and works.
If I connect the serial adapter then I see some boot gibberish and then no output, confirming the latest sketch is running.

Is this normal?

Thanks.

Re: Physical serial required, otherwise hangs at boot

PostPosted: Mon May 04, 2015 8:18 pm
by swilson
Doesn't sound right to me. Maybe if we could see some of your code it might help.

Re: Physical serial required, otherwise hangs at boot

PostPosted: Wed May 06, 2015 7:27 pm
by chris153002
Maybe the rx like left floating causes it to think it is constantly receiving data and locks up the esp8266 as a result? I've had similar issues on other platforms like that.

Re: Physical serial required, otherwise hangs at boot

PostPosted: Wed May 06, 2015 8:23 pm
by Makuna
I am seeing the same thing.

I am using a ESP-01.