Downloading and installing the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By jonny5alive
#24076 Hi

I've been trying for some time now, so it is time to ask for help.

I have a ESP-03 and a USB FTDI programmer.

I have successfully updated the firmware, by doing the following:

Using batteries and a 3.3V power regulator, connected FTDI to shared ground, and RX->TX, TX-RX
Connected ESP-03 GND to GND, and VCC to Positive
Connected CH_PD to positive
Connected GPIO0 to GND
Connected GPIO15 to GND

After the firmware update is complete, I have been able to connect via serial at 9600 bps, and played around with AT commands.

The problem is I am having problems uploading a sketch from the Arduino IDE.

I have installed the ESP8266 extension to the Arduino with Boards Manager. I have version 1.6.5 of the IDE, and 1.6.5-947-g39819f0 of the ESP8266 Community Boards Manager Extension.

I opened the ESP8266 Blink example, and changed the board to 'Generic ESP8266 Module.' Flash mode is DIO, Flash Frequency 40 MHz, Upload using Serial, CPU Frequency 80 MHz, Flash Size 512K, Upload Speed 9600, and the correct COM port.

When I press Upload, the sketch compiles, but then I get the following error messages:

"warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08
warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08
warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08
warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08
warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08
warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08
warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08
warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08
warning: espcomm_send_command: wrong direction/command: 0x00 0x08, expected 0x01 0x08
warning: espcomm_sync failed
error: espcomm_open failed"

Any help would be very much appreciated.