Skip to content

A GUI to connect with ESP32 devices and write firmware to the ESP32 flash.

Notifications You must be signed in to change notification settings

sunbearc22/ESP32FlashWriter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

64 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32FlashWriter

An easy to use GUI that you can use to connect with your ESP32 devices and update its firmware.

  1. 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.

  2. 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.

  3. 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.

How to use it:

  1. Clone or download this repository to your local machine.
  2. Ensure softwares identified in Software Prerequisities are installed.
  3. 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...
  4. 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.
  5. Select firmware file to flash.
  6. Click "WRITE" to flash the selected firmware into ESP32.

Firmwares that you can write to ESP32 Flash:

OS Prerequisites:

  • Linux
  • Windows 10

Software Prerequisites:

Hardware Prerequisites:

  • ESP32 chip or ESP32 DevKits board
  • USB cable

Remarks

  • 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. `

Releases

No releases published

Packages

No packages published

Languages