Flashing the ESP-01


Author Message
Volhout

Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 6254
Posted: 07:16am 11 Aug 2021      

Honestly, I just tried to program my ESP-01 (512+512 version) with the 1.7.4 no-OS version, and it only outputs garbage. I took the image files from the 512 folder, and burned them using esptool (linux).
I got a success message after programming. But when I powered them the blue LED kept flashing, and garbage came out of the USB port. Tried several baudrates, tried interrupting, tried blindly typing AT+RESTORE, nothing worked.

Tried 2 times, then I could not program the esp-01 anymore. It simply came with a error message, cannot write bootloader (the first to get programmed).

Then I made the modification lizby suggested (2 diodes) and using the Arduino toolchain I could write the esp-01 (blink program). So the esp-01 is not dead.

I already downloaded the 1.6.2 no-OS version (the last said to fit in 512k chips) and may try this tonight.

I did some googling, and there may be an issue with the programming button (GP0) rework of the UART interface. The original bootloader seemed happy with pressing the button during powerup. There have been people suggesting that the newer bootloaders need this pin low constantly during programming. Maybe that is why the diode rework may have worked.

I used esptool in the ubuntu repository (sudo apt-get install esptool). This is not the esptool.py everybody else is using, it has a different command set.