Here is the error message once I try to upload BareMinimum :
esptool v0.4.13 - (c) 2014 Ch. Klippel <ck@atelier-klippel.de>
setting board to ck
setting baudrate from 115200 to 115200
setting port from COM1 to COM6
setting address from 0x00000000 to 0x00000000
espcomm_upload_file
espcomm_upload_mem
setting serial port timeouts to 1000 ms
opening bootloader
resetting board
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
wrote 0, requested 1
error: failed sending 0xC0
espcomm_send_command: sending command header
wrote 0, requested 8
error: failed sending 8 bytes
espcomm_send_command: sending command payload
wrote 0, requested 36
error: failed sending 36 bytes
wrote 0, requested 1
error: failed sending 0xC0
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
wrote 0, requested 1
error: failed sending 0xC0
espcomm_send_command: sending command header
wrote 0, requested 8
error: failed sending 8 bytes
espcomm_send_command: sending command payload
wrote 0, requested 36
error: failed sending 36 bytes
wrote 0, requested 1
error: failed sending 0xC0
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
wrote 0, requested 1
error: failed sending 0xC0
espcomm_send_command: sending command header
wrote 0, requested 8
error: failed sending 8 bytes
espcomm_send_command: sending command payload
wrote 0, requested 36
error: failed sending 36 bytes
wrote 0, requested 1
error: failed sending 0xC0
read 0, requested 1
resetting board
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
wrote 0, requested 1
error: failed sending 0xC0
espcomm_send_command: sending command header
wrote 0, requested 8
error: failed sending 8 bytes
espcomm_send_command: sending command payload
wrote 0, requested 36
error: failed sending 36 bytes
wrote 0, requested 1
error: failed sending 0xC0
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
wrote 0, requested 1
error: failed sending 0xC0
espcomm_send_command: sending command header
wrote 0, requested 8
error: failed sending 8 bytes
espcomm_send_command: sending command payload
wrote 0, requested 36
error: failed sending 36 bytes
wrote 0, requested 1
error: failed sending 0xC0
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
wrote 0, requested 1
error: failed sending 0xC0
espcomm_send_command: sending command header
wrote 0, requested 8
error: failed sending 8 bytes
espcomm_send_command: sending command payload
wrote 0, requested 36
error: failed sending 36 bytes
wrote 0, requested 1
error: failed sending 0xC0
read 0, requested 1
resetting board
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
wrote 0, requested 1
error: failed sending 0xC0
espcomm_send_command: sending command header
wrote 0, requested 8
error: failed sending 8 bytes
espcomm_send_command: sending command payload
wrote 0, requested 36
error: failed sending 36 bytes
wrote 0, requested 1
error: failed sending 0xC0
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
wrote 0, requested 1
error: failed sending 0xC0
espcomm_send_command: sending command header
wrote 0, requested 8
error: failed sending 8 bytes
espcomm_send_command: sending command payload
wrote 0, requested 36
error: failed sending 36 bytes
wrote 0, requested 1
error: failed sending 0xC0
read 0, requested 1
trying to connect
flush start
setting serial port timeouts to 1 ms
setting serial port timeouts to 1000 ms
flush complete
wrote 0, requested 1
error: failed sending 0xC0
espcomm_send_command: sending command header
wrote 0, requested 8
error: failed sending 8 bytes
espcomm_send_command: sending command payload
wrote 0, requested 36
error: failed sending 36 bytes
wrote 0, requested 1
error: failed sending 0xC0
read 0, requested 1
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed
This is the connection info :
Esp8266 --> Arduino Micro
RX - TX
TX --> RX
VCC, RST,CH_PD --> 3.3V
GND --> GND
This is the setting that I am using to upload the sketch in Arduino IDE :
Board : 'Generic ESP8266 Module'
Flash mode : 'DIO'
Flash size : '512K(no SPIFFS)'
Debug port : 'Disabled'
Debug Level : 'None'
IwIP Variant : 'v2 Lower Memory'
Reset method : 'ck'
Crystal Freq : '40Mhz'
Flash Freq : '40MHz'
CPU Freq : '80MHz'
Upload speed : '115200'
Erase Flash : 'Only Sketch'
Port : 'COM6 (Arduino/Genuino Micro)'
Programmer : 'Arduino as ISP'
I am stuck in this problem for days. Please help.
Thanks in advance.
Have a nice day