6

I am new to ESP8266. To ease out the task of programming esp8266, I bought this: ESP-01 ESP8266 Programmer CH340G Chip USB WiFi Wireless UART GPIO0 Adapter.

 ESP-01 to USB converter Connected

Configured Arduino Interface to run AT commands in the serial monitor. I flashed ESP8266 with the basic blink LED example. It worked fine for some time and later on gave this error.

warning: espcomm_sync failed

When i tried to flash another program on to ESP8266, I am getting the following error.

Sketch uses 221,995 bytes (51%) of program storage space. Maximum is 434,160 bytes.
Global variables use 31,568 bytes (38%) of dynamic memory, leaving 50,352 bytes for local variables. Maximum is 81,920 bytes.
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
error: failed reading byte
warning: espcomm_send_command: cant receive slip payload data
warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed

I could only find one article regarding this adapter. There he made a custom bridge soldering GPIO 0 to GND for ESP8266 Flashing.

So should i make a removable bridge for the same, to upload a new program. Is there any other way to simplify this task?

  • 1
    Thank you for the post you made! You should auto-answer this post with the post link "Check how to solve it [here]" and mark it as the correct answer. – nemewsys Nov 30 '16 at 22:19
  • 1
    I have this exact same module and what really puzzles me is that someone designed and manufactured this product, which simply does not work as advertised. – Roger Dahl Jan 22 '18 at 20:10
  • I know this is an old post, but I just recently tried to use this adapter myself and ran into the same issue. I was able to modify the adapter to use it for flashing the ESP-01.. For all of you still looking for answer, I've written instructable here instructables.com/id/USB-to-ESP-01-Board-Adapter-Modification – AndyJawa Jan 26 '18 at 21:55
3

Finally I made a breadboard connection joining ESP8266's GPIO 0 and GND to Programmer's GND for flashing the chip

For more info

Connections

Additional Reference: Programming ESP8266

  • Many thanks, you saved me a lot of time! Btw an even simpler way would be fitting a small copper wire plugged in gnd and gpio-0 and then putting the esp01 on top of it – Gabber Jul 9 '17 at 11:58
0

Just solder a jumper to the adapter according to this image (bottom side): esp-01 adapter

If you want to use programming mode, just switch to connect GND and GPIO0. Switch back to use GPIO0 as IO pin (you may attach your F-F Dupont cable to the floating pin).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.