esptool

Open Source

by ESPTool

Provided by ESPTool

Not yet rated
Platform
Web
Pricing
Open Source
Account required
No
Ads
None
Last verified
20 hours ago
Developer
ESPTool
Official URL

Overview

esptool is the official command-line utility from Espressif for talking to its ESP family of microcontrollers, such as the ESP8266 and ESP32, over a serial connection. Its main job is writing firmware to a chip's flash memory, and many higher-level tools for these boards call it behind the scenes.

Besides writing flash, it can read flash contents back to a file, erase and verify them, and report details about the chip and its flash memory. It also works with firmware image files themselves: inspecting them, assembling them and merging several binaries into one. To speed things up and get around limits in the chip's built-in bootloader, it first uploads a small helper program, called a flasher stub, to the chip.

It is written in Python, installed with pip, and released under the GPL version 2 or later. The same package includes espefuse for reading and writing the chip's one-time-programmable eFuses, espsecure for security-related image tasks, and a small server for using serial ports over the network. It is for people building or repairing ESP-based devices and assumes you are comfortable with a terminal.

Features

  • Writes firmware binaries to the flash memory of Espressif chips
  • Reads, erases and verifies flash contents
  • Reports chip and SPI flash information
  • Inspects, assembles and merges firmware image files
  • Uploads a flasher stub to speed up transfers
  • Bundles espefuse for one-time-programmable eFuses
  • Bundles espsecure and an RFC 2217 remote serial port server
  • Installs with pip as a Python package

Privacy

esptool runs locally on your computer and talks to the chip over a serial port; it has no accounts. See the official privacy policy for Espressif's websites.

Pros & Cons

Pros

  • Free and open source under the GPL
  • Maintained by Espressif, the maker of the chips
  • Written in Python, so it runs wherever Python and a serial port are available
  • Detailed official documentation for each chip family

Cons

  • Command line only, with no graphical interface
  • Needs Python installed and a working USB serial driver
  • Writing eFuses with the bundled tools is permanent and can lock up a chip if done wrong
  • Only works with Espressif chips

Community Reviews (0)

No written reviews yet — be the first to rate this tool.

Similar Tools

  • Embedded Systems · ESPHome

    Configures ESP-based smart-home devices with YAML.

    Not yet rated
    Open Source Windows Linux
  • Embedded Systems · PlatformIO

    Develops, builds, and debugs embedded firmware.

    Not yet rated
    Open Source Windows Linux