"error talking"

I know that this topic has been discussed many times over the years, but I still can’t figure out how to fix this problem using the ESP8266 shield on an UNO or RedBoard:

Press any key to begin.

Error talking to ESP8266.

Error: 0

Looping forever.

Sometimes the error message is -2 or -3.

I have two of these shields and one works but the other one doesn’t. It’s POSSIBLE that on the bad board i initially tried to use it with the UART switch in the HW rather than SW position. If so, can this be fixed or is the board permanently damaged? (I tried quickly shorting RESET to GND.)

Any solution you can provide will be greatly appreciated.

There are a couple of possibilities that might be causing you trouble.

1- Having the switch in HW might have corrupted the firmware in the ESP8266 and that would cause the error you’re seeing.

2- Might have been a bad board from the start.

PM me your order number and I’ll have a look and see if we can do anything to help. :slight_smile:

I am also having trouble connecting - the blue light fast flashes almost as soon as I apply power. Red light is solid. SparkFun ESP8266 WiFi shield. Any code that I run seems to stall at initializing the 8266. Any thoughts?

Double check that the switch is set to “SW” and that nothing else is connected to pins D8 and D9 on your Arduino.

I am also having this problem. I have tried my WIFI Shield with both a brand-new, well-functioning Redboard and an old Arduino Uno R1. On either of these the WiFi Shield powers up but all of the sample programs exit with error on esp8266.begin().

Nothing connected to D8, D9 or any other pins – just trying to run the sample programs.

I also inadvertently loaded a program the first time with the switch set to “HW”. Sorry. If this could be the problem, is there an easy way to reset the WIFI Shield?