Flashing ESP32 devices firmware Windows

Prerequisites

Check Data Cable
Plug your device into your computer using a USB cable and then do the following:
IMPORTANT
You may need to install a driver from Silicon Labs for the CP210X USB to UART bridge

Navigate to Device Manager > Ports (COM & LPT)
You should see something like CP210X USB to UART Bridge Controller . If you don't, you will need to install the appropriate driver from Silicon Labs.

Command Line Interface Instructions

Install Prerequisite Software

Check if you have python and pip installed with the following command.

py --version
pip --version

If python is not installed, Download and install Python. When installing, make sure to click Add Python X.Y to PATH

If pip is not installed, Download and install Gitbash (or other appropriate shell) and run all subsequent commands from that shell.

Recheck they are installed.

py --version
pip --version

Install esptool

pip install --upgrade esptool

Confirm Communication With Chip
Connect the radio to your computer using a data USB cable. Confirm your device is talking to your computer using the following command:

esptools.py chip_id .


# You should see a result similar to this:

mydir$ esptool chip_id
esptool.py v2.6
Found 2 serial ports
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... ESP32
Chip is ESP32D0WDQ6 (revision 1)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse,
Coding Scheme None
MAC: 24:6f:28:b5:36:71
Uploading stub...
Running stub...
Stub running...
Warning: ESP32 has no Chip ID. Reading MAC instead.
MAC: 24:6f:28:b5:36:71
Hard resetting via RTS pin...

 

Install/Update Firmware

Navigate to Firmware
cd into the directory where you unzipped the latest release. For example:

cd /Downloads/firmware/

 Install

./device-install.bat -f firmware-BOARD-VERSION.bin

Update

./device-update.bat -f firmware-BOARD-VERSION.bin