Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sunbearc22/esp32flashwriter
A GUI to connect with ESP32 devices and write firmware to the ESP32 flash.
https://github.com/sunbearc22/esp32flashwriter
esp32 esptool firmware-tools gui-application linux-app micropython pyserial tkinter-python windows-10-apps
Last synced: 4 days ago
JSON representation
A GUI to connect with ESP32 devices and write firmware to the ESP32 flash.
- Host: GitHub
- URL: https://github.com/sunbearc22/esp32flashwriter
- Owner: sunbearc22
- Created: 2019-02-12T08:09:49.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-08-11T00:11:29.000Z (over 3 years ago)
- Last Synced: 2023-07-18T03:47:23.059Z (over 1 year ago)
- Topics: esp32, esptool, firmware-tools, gui-application, linux-app, micropython, pyserial, tkinter-python, windows-10-apps
- Language: Python
- Homepage:
- Size: 264 KB
- Stars: 7
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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](https://github.com/sunbearc22/ESP32FlashWriter/blob/master/README.md#software-prerequisites) 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: `, 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.
6. Select firmware file to flash.
7. Click "WRITE" to flash the selected firmware into ESP32.## Firmwares that you can write to ESP32 Flash:
- [Micropython](https://micropython.org/download/), [ESP32](https://www.espressif.com/en/products/hardware/esp32/resources)## OS Prerequisites:
- Linux
- Windows 10## Software Prerequisites:
- python 3
- tkinter v8.6
- [esptool.py v2.6](https://github.com/espressif/esptool)
- [pyserial v3.4](https://github.com/pyserial/pyserial)## 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. `