Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can't flash my ESP8266 (ESP-01). I have 3.3 V and ground connected, Rx to Tx and Tx to Rx on my USB to serial adapter. I also have GPIO0 connected to ground too.

I am using an external power supply but the USB adapter and power adapter share a common ground.

I'm using a Mac and ESP tools to flash it, and it has worked before.

The command I am using is:

sudo ./esptool.py --port /dev/tty.wchusbserial1410 write_flash 0x00000 AT22SDK10020150320boot12.bin

But the response is:

A fatal error occurred: Failed to connect to ESP8266

This make me think something is wrong with receiving data from the ESP because when attempting to connect, the ESP's blue LED flashes.

My USB to serial adapter works fine though as I've tested it with my Arduino.

share|improve this question
    
Were you able to make it work. I am having the same issue. – nit3ch Apr 3 at 19:28
    
CH_PD must also be connected to 3.3v – Jaromanda X Jun 9 at 3:12
    
If you've got led flashes and signs of activity and such a non-descriptive error, just try disconnecting / reconnecting and try again (if you havent already) – brod Jun 10 at 8:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.