Using Esptool to flash Bootloader and Firmware on ESP32-C3 @LeonAnavi
Using Esptool to flash Bootloader and Firmware on ESP32-C3  @LeonAnavi
Uploaded July 2025 | Updated September 2026, 2 weeks ago
esptool is a Python-based command-line utility used to communicate with Espressif chips like the ESP8266 and ESP32 over a serial connection. It allows users to flash firmware, erase flash memory, read chip details, and perform other low-level operations. Commonly used in development workflows involving MicroPython, Arduino, or ESP-IDF, esptool plays a vital role in uploading firmware and recovering bricked devices. It interacts directly with the chip's built-in bootloader, making it a powerful and essential tool for embedded developers working with ESP devices. In this video tutorial you will learn how to write bootloader and/or firmware to the ESP32-C3 chip with RISC-V architecture. For the demonstrations in the video is used the open source hardware ANAVI Miracle Emitter. This is a home automation dev board with XIAO ESP32C3 module for controlling addressable LED strips also known as NeoPixles.

* Install esptool on a Linux distribution like Ubuntu or Debian (tested on Ubuntu 24.04 LTS):

sudo apt update
sudo apt install python3 pipx -y
pipx install esptool
pipx ensurepath

* Check that esptool runs and print the version:

esptool version

* Flash bootloader and firmware on ANAVI Miracle Emitter with XIAO ESP32C3:

esptool.py --chip esp32c3 --port /dev/ttyACM0 --baud 460800 write_flash 0x0 anavi-miracle-emitter-sw/build/esp32.esp32.XIAO_ESP32C3/anavi-miracle-emitter-sw.ino.merged.bin

* Flash just the firmware by keeping the existing bootloader on ANAVI Miracle Emitter with XIAO ESP32C3:

esptool.py --chip esp32c3 --port /dev/ttyACM0 --baud 460800 write_flash 0x10000 anavi-miracle-emitter-sw/build/esp32.esp32.XIAO_ESP32C3/anavi-miracle-emitter-sw.ino.bin

📹 Related Videos
===
Getting started with esptool for ESP8266 & ESP32
youtu.be/8_ct4JQXeWI?si=96ycOGYXufDvNytB
ANAVI Miracle Emitter
youtu.be/J6L-GI_Qu7k?si=5c9xYrdv_nmY0_wb
ANAVI Miracle Emitter: Step-by-Step Assembly Guide
youtu.be/Nb9teMWVYBs?si=vJWCMkFumnp5ehdv
How To Install WLED on an ESP32 Board from Chrome Web Browser? Demo with XIAO ESP32C3
youtu.be/bktjlJ_jN0U?si=9P3fi7zNZ1ejnOph
NeoPixel WS2812B LED Panels with WLED and ESP32. Demo featuring XIAO ESP32C3 with 32-bit RISC-V Core
youtu.be/zhpkE2imopU?si=coNwCTOeDIMHxvzW
Multicolor Floor Lamp with NeoPixel LEDs and the WLED Open Source Firmware on ESP32-C3
youtu.be/euYTd7wFaOU?si=ECkxp3bbxlOY5o14
Using Esptool to flash Bootloader and Firmware on ESP32-C3The Yocto Project on Raspberry Pi 5 Episode 3: Running Docker Containers #linux #dockerWhat handles power distribution in the Raspberry Pi 400? #raspberrypi #rpiEmbedded Linux for Olimex i.MX8MP SoM and EVK with the Yocto ProjectQualcomm Dragonwing QRB2210 Arm 64-bit SoC on Arduino Uno Q Development BoardLenovo ThinkPad T480s 2400MHz DDR4 RAM Upgrade #shorts #thinkpadGetting Started with Meshtastic: XIAO nRF52840 & Wio-SX1262 Setup and First Test #meshtastic #loraWhat enables USB 3.0 support on the Raspberry Pi 400? VLI VL805 #raspberrypi #rpiUnboxing Radxa Cubie A7A with Allwinner A733 #linux #riscvThe Yocto Project on Raspberry Pi 5 Episode 2: SSH for Remote Network Access #linuxDucky One 2 Mini 60% compact mechanical keyboard with Cherry MX switches for gamers #shortsGeniatech XPI-3566-Zero: A Powerful Raspberry Pi Zero Alternative Featuring the Rockchip RK3566
Leon Anavi |

Using Esptool to flash Bootloader and Firmware on ESP32-C3

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER