[UNO as FTDI] to upload code to ESP8266-01

**My UNO cannot remove the ATMEL chip
i had install esp8266 using board manager

My connection

UNO | ESP-01


TX TX
RX RX
3.3V CHPD
3.3V VCC
GND GND

UNO RST--> GND ( to skip the UNO)

PUT ESP-01 to flash mode

  1. GPIO0 to GND
  2. plug out CH_PD adn plug in again
    Now ESP-01 got blue light to indicate blue

MY setting

Board : Generic ESP9266 Module
Flash Mode : DIO
Flash frequency 40HZ
CPU frequency:80HZ
Flash Size :4M(1M SPIFFS)
Debug Port: Disabled
Debug level:None
Reset method: ck
Upload Speed: 115200
Port: COM5

PROBLEM

** i just want to upload blank code to make sure it can upload program to esp-01 via UNO(as ftdi)**
but i cannot upload, and this error come out.

warning: espcomm_sync failed
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed

I open serial monitor with 74880 baud rate. This error keep running infinity

Fatal exception (0):
epc1=0x40100003, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000
Fatal exception (0):
epc1=0x40100003, epc2=0x00000000, epc3=0x00000000, excvaddr=0x00000000, depc=0x00000000

Anyone can help me? Your assistance is greatly appreciated.Thanks! :smiley:

To put the ESP into program mode, leave CH_PD alone (tied high), ground GPIO0 and while GPIO0 is held low, reset the ESP (reset to ground and release). Then release GPIO0 and upload.

Do you have leve translation on the Uno TX to ESP RX line? If not, the ESP can be damaged by the Uno 5V TX.

Thanks for the fast response! =D
Anyway i tried your method, and the same error still happen. cant upload

Yup i have a logic converter.
LV SIDE

LV1 - TX (ESP-01)
LV2 - RX (ESP-01)
LV - 3.3v (UNO)
GND - GND (UNO)

HV SIDE

HV1 - TX (UNO)
HV2 - RX (UNO)
HV - 5v (UNO)
GND - GND (UNO)

Try uploading the bare minimum sketch to the Uno to make sure there isn't a sketch on it that's sending data on Serial.

Thanks =D but still the same case happen

The 3.3v regulator on the Arduino is weak. Try another voltage regulator.