Looking for a step by step tutorial for flashing an esp01

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
redfirebrooks
New user
Posts: 4
Joined: 18 Feb 2024, 16:26

Looking for a step by step tutorial for flashing an esp01

#1 Post by redfirebrooks » 10 Mar 2024, 22:28

Hello, I am looking a step by step guide for flashing an esp01. I have downloaded the lastest files from the GitHub but what am I supposed to do after that ?

TD-er
Core team member
Posts: 8756
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Looking for a step by step tutorial for flashing an esp01

#2 Post by TD-er » 10 Mar 2024, 22:50

Why do you still want to use the ESP01 boards?
I assume you at least have the ones with 1M flash?
They are really really limited and if you need to use it in some board designed for this very limited form factor, there are ESP32-C3 versions with this exact form factor like the TTGO T-01C3.
Those do have 4M flash and thus are able to later update via the web interface.
An ESP01 with 1M flash can no longer be updated via the web interface as the builds have simply grown too much.


Anyway, there are flash fixtures available where you can simply connect the ESP01 to and then using USB to flash them.
You can also flash using the web flasher: https://td-er.nl/ESPEasy/latest/

If you don't have such a fixture, you need some USB to serial adapter board and need to make sure to power the ESP01 using 3V3 which can deliver at least 500 mA.
N.B. not all USB to serial adapters can deliver this and not all do actually output 3V3 even when set to do so. So make sure to always measure the voltage before connecting it to the ESP board.

During flash you need to have GPIO-0 connected to GND.
After flashing you can disconnect this and as the ESP01 is an older board you may need to actually power cycle the board to load the flashed sketch.

redfirebrooks
New user
Posts: 4
Joined: 18 Feb 2024, 16:26

Re: Looking for a step by step tutorial for flashing an esp01

#3 Post by redfirebrooks » 11 Mar 2024, 08:06

Thanks but where can I find a step by step tutorial ?

User avatar
Ath
Normal user
Posts: 3520
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Looking for a step by step tutorial for flashing an esp01

#4 Post by Ath » 11 Mar 2024, 10:03

redfirebrooks wrote: 11 Mar 2024, 08:06 Thanks but where can I find a step by step tutorial ?
There are a lot of volunteers that want to keep these devices alive, and one of them posted a sort-of usable YT manual: https://www.youtube.com/watch?v=CHwcwng7Am0

If you can't get that going with the Web flasher as posted by TD-er, then ESPEasy comes with the original Espressif flash download tool in the release zip files, so no need to to use some obscure (possibly incomprehensible) flash tool.

As said before, your ESP01 must be equipped with 1MB Flash (or you can replace the flash chip with a 4MB version, making it possible to use OTA (over the air) updates)
/Ton (PayPal.me)

Post Reply

Who is online

Users browsing this forum: No registered users and 31 guests