7

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?

Arjun Sunil Kumar
  • 209
  • 1
  • 4
  • 12

2 Answers2

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

Arjun Sunil Kumar
  • 209
  • 1
  • 4
  • 12
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).

Jan Turoň
  • 135
  • 7