trying to upload code into ESP-01

Hello ,
I'm trying to upload code into ESP-01 device
I have done everything it said here:

https://www.diyhobi.com/flash-program-esp-01-using-usb-serial-adapter/

but after download the ESP boards I don't have anything in the "Programer" section
so I can't uplaod the code

any suggestion what is wrong?

Thanks,

No programmer needed. It is programmed like an Arduino.

You should put the ESP in programming mode by pulling down IO0.
Then connect the ESP to your USB-TTL converter (it has to be 3.3v VCC and 3.3v logic).
Then select your COM port and ESP board settings.
Then press upload.

programmed like an Arduino means: You have to connect the Rx/Tx-pins of the ESP-board to a USB-to-serial-adapter-that works with 3.3V on the serial-side.

The USB-to-serial-Adapter is the "programmer"

If you can afford to by a Wemos D1-mini board or a nodeMCU-board I would recommend that.
These boards switch between serial-communication-mode and programming-mode automatically.

Are you gonna use the ESP8266-01 as a WiFi-adpater in conjuction with an Arduino-board or standalone?

best regards Stefan

Not working
I have try to connect it directtly to the USB-Serial

Flash ESP-01 using USB to TTL CH340G Converter Module Adapter

did the same connection
GND - GND,IOO
VCC (3.3V) - VCC,En
Rx - Tx
Tx-Rx

Arduino: 1.8.13 (Windows 7), Board: "Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), no dtr (aka ck), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

Sketch uses 257316 bytes (26%) of program storage space. Maximum is 958448 bytes.

Global variables use 26816 bytes (32%) of dynamic memory, leaving 55104 bytes for local variables. Maximum is 81920 bytes.

C:\Users\David\AppData\Local\Arduino15\packages\esp8266\tools\python3\3.7.2-post1/python3 C:\Users\David\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/upload.py --chip esp8266 --port COM19 --baud 115200 --before no_reset --after soft_reset write_flash 0x0 C:\Users\David\AppData\Local\Temp\arduino_build_23603/Blink.ino.bin 

esptool.py v2.8

Serial port COM19

Connecting........_____....._____....._____....._____....._____....._____....._____

Traceback (most recent call last):

  File "C:\Users\David\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4/tools/upload.py", line 65, in <module>

    esptool.main(cmdline)

  File "C:/Users/David/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 2890, in main

    esp.connect(args.before)

  File "C:/Users/David/AppData/Local/Arduino15/packages/esp8266/hardware/esp8266/2.7.4/tools/esptool\esptool.py", line 483, in connect

    raise FatalError('Failed to connect to %s: %s' % (self.CHIP_NAME, last_error))

esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header

esptool.FatalError: Failed to connect to ESP8266: Timed out waiting for packet header

did I miss something in the connections?

also I have found this link

https://learn.adafruit.com/esp8266-temperature-slash-humidity-webserver/ide-setup

and it said to disconnect the D0 from gnd after boot
but when I look at the IDE-Setting

https://learn.adafruit.com/esp8266-temperature-slash-humidity-webserver/ide-setup

you can see it said to use "esptool " ad the progrmamer

and
I want to connect the ESP-01 to Arduino in order to read data from him

Are you connecting the USB adapter to the ESP with jumper wires? Sometimes bad quality jumper wires can do that. A lot of my jumper wires give me that error. I eventually ended up making a pcb for programming ESPs. Maybe try with other wires.

Also, if you want to use an Arduino you don't need to program the ESP, you can use AT commands through Serial.

pourduino:
No programmer needed. It is programmed like an Arduino.

You should put the ESP in programming mode by pulling down IO0.
Then connect the ESP to your USB-TTL converter (it has to be 3.3v VCC and 3.3v logic).
Then select your COM port and ESP board settings.
Then press upload.

You will get this error if you selected the wrong com port in the IDE tools.
You can also get this error if you do not pull IO0 down BEFORE applying power to the ESP.

Optional: After you apply power to the ESP, you can remove the ground from IO0. Or not. After the ESP boots into the flash mode, it will stay in the flash mode regardless of the level of IO0.

pourduino:
Also, if you want to use an Arduino you don't need to program the ESP, you can use AT commands through Serial.

I know of no one who has made this kludge work.

I have change the wires - still nothing
took anotherESP-01 , also didn't work

now I have replace it to a NodeMCU ESP8266 , jsut to see the code I want can work

after my code will be finish I will try to make the ESP-01 work again

Thank you for trying to help!

I have done everything it said here:
Flash Program ESP-01 using USB Serial Adapter — Do it your self Hobby

That is a pretty good link, i thought until i looked a little closer.

I have try to connect it directtly to the USB-Serial
Flash ESP-01 using USB to TTL CH340G Converter Module Adapter.
did I miss something in the connections?

Yes but it is not your fault, it is an error in the tutorial.
it should be

GND - GND
GND - IOO
VCC (3.3V) - VCC
VCC (3.3V) - CP_PD (En)
VCC (3.3V) - RST   (This connection is missing !!!)
Rx - Tx
Tx-Rx

So the pin between VCC and EN also needs to be connected to 3.3V+ and then it should work. Just to be sure can you post a picture of the ESP-01 you have ?