Learn how to Program ESP8266 ESP-12E with Arduino using FTDI USB to TTL Cable. You just need to install the ESP8266 board and make the circuit as per the below-given instructions. For basics and features of ESP8266 ESP-12E click here.
Step 1: Required Components
Step 2: Circuit Time
Connect FTDI VCC to ESP8266 ESP-12E VCC and GPIO_2, RTS/CTS to CH_PD, DTR to GPIO_0, GND to GND and GPIO_15, TX to RX and RX to TX.
Step 3: Program ESP8266 ESP-12E
Make the circuit as per the above-given instructions. Connect the FTDI cable to the USB port. Select the proper board and programmer. Upload the code to ESP8266 ESP-12E.
Bootloader Modes of ESP-12E
Bootloader ModesThe bootloader can go into a number of modes depending on the state of GPIOs 0, 2 and 15. The two useful modes are the UART download mode (for flashing new firmware) and the flash startup mode (which boots from flash).
Flash Startup (Normal) GPIO0: 1 GPIO2: 1 GPIO15: 0
UART Download Mode (Programming) GPIO0: 0 GPIO2: 1 GPIO15: 0
SD-Card Boot GPIO0: 0 GPIO2: 0 GPIO15: 1
For basic information and uploading code using FTDI USB to TTL Cable, Click Here
For installing ESP8266 board to Arduino IDE, Click here