So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By ektan
#75352 Hi. I am using Arduino Micro to upload sketch to ESP8266. Previously I can run AT command with the Serial Monitor. But now I am facing this uploading problem. :(

Here is the error message once I try to upload BareMinimum :
Code: Select allesptool 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. :cry:
Thanks in advance. :)
Have a nice day
User avatar
By ektan
#75398
kaxx1975 wrote:I dont know much about arduino micro to ESP, but I know you have tried swapping RX and TX. Disconnect the RST also, you probably tried that too. I would of for an alterrnate route, USB to Serial Breakout boards are on the cheap these days


Hi. Thanks for your kind reply. :D
Yes. I have tried the methods that you have mentioned. Still cannot solve. :(
Switching to USB to serial breakout broads would be my alternative solution, but I still hope to get the solution for this board.
Again, thanks for your suggestion. Have a nice day. :)