-->
Page 1 of 1

How to program ESP8266-12F?

PostPosted: Sat Sep 24, 2016 3:22 pm
by headhunter862
I am new to the ESP8266 world and a few days ago I got my ESP8266-12F. I bought it from Aliexpress.com. It is just tiny chip with no USB. To connect it to my laptop I bought a FDTI232RL USB-To-Serial breakout board. Now I connected the ESP board to my laptop using the USB-To-Serial board. I connected the pins as follows

esp fdti232rl

GND -> GND
VCC -> VCC
RX -> TX
TX -> RX

Then I uploaded the example Blynk sketch for ESP8266. When I upload, I get these error:

error: Failed to open COM1
error: espcomm_open failed
error: espcomm_upload_mem failed

Can anyone help and guide me ?

Re: How to program ESP8266-12F?

PostPosted: Sun Sep 25, 2016 8:38 am
by rudy
COM1 may not be the right serial port. Do you get any lights flashing on the USB to serial converter? If not then select a different serial port.

Also you need to have specific pins set at specific logic states.

Image

Ignore the deep sleep resistor connection. GPIO0 (burn) must be low, then do a reset and the blue light on the module should flash once. Then try loading the sketch.

Re: How to program ESP8266-12F?

PostPosted: Tue Sep 27, 2016 2:40 am
by NICKB4
Rudy metioned the solution, the ESP8266-12F does not have any pull-up or pull-downs onboard so you have to connect every needed pin yourself to the right logic level.

PS. not sure what kind of cable you have but make sure your VCC is 3V3 and not 5V!