Physical serial required, otherwise hangs at boot
Posted: Mon May 04, 2015 2:38 am
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.
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.