Flashing an ESP board usually means juggling tools: one app to flash (NodeMCU PyFlasher, the Arduino IDE or raw esptool commands), another to watch the serial output (CoolTerm, PuTTY, screen), and a "port busy" error every time you forget to close one of them. BugZapper puts it all in one small window.
What is it?
A tiny, dependency-light flasher for ESP8266, ESP8285 and ESP32 boards, with both a GUI and a command line. It runs on Windows, macOS and Linux.
- Nothing to install:
esptoolandpyserialcome bundled, so all you need ispython3(plus Tk for the GUI). There are also prebuilt standalone downloads with Python included. - Flash and monitor in one place: after flashing it reopens the serial monitor on its own, so you see the boot log right away, with no "port busy" clash.
- A proper serial monitor: line numbers, ANSI colours, live baud switching, sending text to the board, and saving or live-logging to a file.
Handy features
- Chip info: probes the connected board for chip type, MAC address and flash size before you choose an image.
- Erase only: wipes the whole chip without writing firmware, which clears stored Wi-Fi credentials or rescues a board stuck in a boot loop. It asks first.
- Safe cancel: abort while it's stuck at "Connecting…" on the wrong port. Cancelling locks the moment writing starts, so you can't brick a board halfway through.
- ESP32 multi-part images: bootloader at
0x1000, partitions at0x8000, app at0x10000. Add the parts by hand or Scan a build folder to fill them in. Single merged images still flash at0x0. - NodeMCU Lua tab: upload
init.luaand data files to the board's filesystem, list files, or format it. - Drop-in: it finds
./firmware/*.binautomatically, so you can bundle it with your own firmware project.
Using it
GUI:
./bugzapper.sh # macOS / Linux
bugzapper.bat # Windows
Command line:
python3 flash.py # flash the first ./firmware/*.bin to the auto-found port
python3 flash.py -f build/app.bin -e # a specific file, erase first
python3 flash.py -p COM5 -b 460800 # explicit port and baud
python3 flash.py -i # chip info
python3 flash.py --erase-only # wipe the chip
python3 flash.py --scan build/ # ESP32: flash all parts of a build folder
On macOS, ./make_app.sh builds a double-clickable BugZapper.app with its own Dock icon.
Downloads
The GitHub Releases page has ready-made builds for Apple Silicon Macs, Intel Macs, Windows 10/11 and Linux x64, with nothing else to install.
Who is it for?
- Beginners who just want to put a
.binon a board and see what it prints. - Makers shipping firmware: drop BugZapper next to your
.binfiles so users can flash them in one click. - Anyone tired of closing the serial monitor every time they want to flash.
It's also perfect for flashing a tray of ESP-01s for a BunkerNet mesh.
GitHub: https://github.com/gumslone/BugZapper
What do you use to flash your ESP boards today, and what's the most annoying part of it?
Advertise your mobile site for FREE with AdTwirl