An easy to use GUI that you can use to connect with your ESP32 devices and update its firmware.
-
Simply plug in your device(s) via USB/Serial cable to your Linux OS computer and select your device port and the baud (default baud is 11520 bps). The port selection will trigger the connection. In the event your ESP32 becomes unplugged after it is connected, the GUI will notify you to replug and reselect your device port.
-
To update your ESP32 firmware, simply click on the folder icon to select your new firmware, decide if you want to erase the entire flash or not, and then click WRITE to update your ESP32 firmware.
-
You can use your keyboard Tab key to toggle between the fields in the GUI. Pressing the Return key will select the field. To exit the selected field, press the Esc key. Scrolling within the Port and Baud fields can be done by pressing the ↑ and ↓ arrow keys.
Try it. Appreciate your feedback(s). Do alert me on issue(s) with using it. Thank you.
- Clone or download this repository to your local machine.
- Ensure softwares identified in Software Prerequisities are installed.
- Execute esp32flashwriter:
- Open a terminal, go to your downloaded repository directory and run
python3 esp32flashwriter.py
, or - Run
esp32flashwriter.py
via your integrated development environment (IDE) like python3-idle, PyCharm, etc...
- Open a terminal, go to your downloaded repository directory and run
- Select Port (and Baud if needed - default baud setting usually works).
- For Linux: In case you encounter the error
PermissionError: [Errno 13] Permission denied: <your selected Port>
, you can open a terminal to issue two commands to fix this error.$ sudo usermod -a -G dialout "your username"
$ sudo chmod a rw "your selected Port e.g. /dev/ttyUSB0"
- In ESP32FlashWriter, reselect the Port.
- For Linux: In case you encounter the error
- Select firmware file to flash.
- Click "WRITE" to flash the selected firmware into ESP32.
- Linux
- Windows 10
- python 3
- tkinter v8.6
- esptool.py v2.6
- pyserial v3.4
- ESP32 chip or ESP32 DevKits board
- USB cable
- This GUI script is a work-in-progress. I have used it to write firmware to a ESP32D0WDQ6(revision1) chip in a ESP32 DEVKITV1 board. Appreciate if you can share with me the type of ESP32 chip or board that you were able to use ESP32FlashWriter to connect with, and/or write firmware on. Thank you.
- Tested on 2021/08/11 in Ubuntu 20.04. `