Device Firmware Upgrade (DFU) via USB
Requirements
ESP32-S2 or ESP32-S3 chip.
Complete electrical connections. Here is a guide for the ESP32-S2 board.
The chip must be in bootloader mode to be detected as a DFU device. This can be achieved by pressing the “reset” button while holding the “boot” button.
For Windows: Register the device with the WinUSB driver.
Note
Install the drivers using the Zadig tool. Ensure the device is in download mode before running the tool. The tool should detect the ESP32-S2 device before installing the drivers. The Zadig tool may detect several USB interfaces of ESP32-S2. Install the WinUSB driver only for the interface without a driver (likely Interface 2) and do not reinstall the driver for other interfaces.
Flashing
Select a DFU-compatible device (ESP32-S2 or ESP32-S3).
Select DFU as the flashing method.
Build the project.
Flash the firmware.