Downloading and installing the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By Zhem
#38125 Hi!
I'm trying to upload a program on arduino uno with esp8266 and a bunch of sensors to send data on a website. I get to compile the program successfully but when I upload it, the ff error message appears:

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x11

avrdude: stk500_getparm(): (a) protocol error, expect=0x14, resp=0x10
avrdude: stk500_initialize(): (a) protocol error, expect=0x14, resp=0x44
avrdude: initialization failed, rc=-1
Double check connections and try again, or use -F to override
Problem uploading to board. See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.
this check.

avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x10

I'm using arduino uno and my IDE is ver 1.6.5.

I'd appreciate some help. Thanks!
User avatar
By bobcroft
#38513 Zhem, try changing your connections from the usb adapter (FTDI) from Tx - Rx i.e. crossed over to Tx - Tx. Unfortunately not all implementations of the USB to TTL converters are the same.
Also try reducing the upload speed on the ESP board selector screen. Make sure that GPIO 0 is tied to ground and GPIO 2 is pulled high, ideally with a 10 K resistor.

You do not say which ESP 8266 you have or how it is adapted, if at all, via a break out board. It is difficult to help without knowing your set up.
Anyway god luck!