> ## Content Index
> Fetch the complete content index at: https://blog.bajonczak.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# How I flash my ESP01 device
- URL: https://blog.bajonczak.com/how-to-flash-an-esp01-device/
- Published: 2024-01-25T08:47:42.000Z
- Updated: 2026-08-13T04:03:44.000Z
- Description: this blogpost will describe you the path to flashing a ESP-01 device with a Flasher device with any firmware you want
- Author: Sascha Bajonczak
- Tags: IoT, Guides

I want to use Tasmota in my house more and more, but I don't want to use it on the wemos d1 mini devices, because it must only measure temperatures or s.th. other. So I decided to use a smaller device, like the ESP01\. This device has ONLY one GPIO port. This is mostly enough for a simple sensor. This device looks like this

![](https://www.kollino.de/wp-content/uploads/2018/10/ESP8266_BIG-570x300.png)

But how I can get a Tasmota firmware onto this device? This article will describe it for you.

# The Bucketlist

On the bucketlist I hav the an Programmer likt this ESP-01 Flasher [https://amzn.to/3PV8M17](https://amzn.to/3PV8M17?ref=blog.bajonczak.com). This looks like this.

![](https://www.xgadget.de/wp-content/uploads/2016/10/ESP-01_USB-Programmer-300x150.jpg)

This tool is very cheap and handy to use, just place the esp01 on top of this and you can flash it. But there is one more step to do

# Flashmode

Before you can flash the module, you must tell the module to get in the flashing mode, for this you must create a bridge between GPIO0 and GND.

![](https://pub-3d6b5be904ac42e19eb06b614618c42e.r2.dev/images/2023/10/image-8.png)

This will set your device in the flashing mode.

# Flashtools

How we can flash the firmware onto the device? I use a Linux console and install the ESP Flash tool

```shell
sudo apt install esptool
```

This command will install the [ESPTool](https://github.com/espressif/esptool?ref=blog.bajonczak.com) from espressif. This tool will be used to upload the firmware onto the ESP01 device. Next we need firmware. Let's use it as Tasmota Firmware, let's download this with

```shell
wget http://ota.tasmota.com/tasmota/release/tasmota-4M.bin.gz
uinzip tasmota-4M.bin.gz
```

Now we have all the required tools to get firmware onto the device.

# Flash!

Don't panic, this is not a complex process, for this, you must execute the following command

```shell
esptool --port /dev/serial/by-id/usb-1a86_USB2.0-Ser_-if00-port0 0x0 tasmota-4M.bin
```

You must adjust the parameters behind the --port, this will define the port where the programmer is logged in. Then you must modify the path to the bin file.

The log output looks then like this:

```shell
esptool.py v2.1
Connecting...
Detecting chip type... ESP8266
Chip is ESP8266
Enabling default SPI flash mode...
Configuring flash size...
Erasing flash...
Flash params set to 0x0320
Took 0.06s to erase flash block
Wrote 726016 bytes at 0x00000000 in 74.1 seconds (78.4 kbit/s)...

Leaving...
Hard resetting...

```

After that, the firmware is completely uploaded!

# Final words

Yes, this was a small blog post about basic knowledge, but I think this would be helpful for other guys. Now you will be able to flash the ESP-01 device with your custom firmware. So now it's your turn! What are your plans with your ESP-01 and which firmware do you want to use?

*I keep a short overview of the practical posts that still get the most use here:* [*Technical Field Notes*](https://blog.bajonczak.com/technical-field-notes/)*.*