ESP Flasher Guide
Instructions
Prepare your device
- Use Chrome or Edge.
- Connect the ESP32-C3 TFT DevKit to your computer with a USB data cable.
- Close all applications that may be using the serial port, including Arduino IDE, Thonny, and serial terminals.
Enter download mode (recommended)
- Press and hold the board's BOOT button.
- Briefly press RESET, then release it.
- Release BOOT.
- The device should now be in download mode, making it easier to connect.
Flash the firmware
- Click Connect Device.
- Select the correct device in the serial port dialog:
- Windows: "USB Serial Port (COMx)" or a device containing "CH340".
- macOS: "/dev/cu.wchusbserial" or a similar name.
- Linux: "/dev/ttyUSB0" or "/dev/ttyACM0".
- Wait for the connection to succeed. The tool automatically tries different connection modes.
- Click Start Flashing and wait for completion.
- The device will restart into the MicroPython environment.
Verify the result
- Press RESET after flashing.
- Connect using a serial tool such as Thonny at 115200 baud.
- You should see the MicroPython
>>>prompt.
Connection troubleshooting
🚨 No serial devices available
If the dialog opened by Connect Device does not list any devices:
1. Check the driver (the most common cause)
- Windows: Install the CH340 or CP210x driver.
- CH340 driver: Official download
- CP210x driver: Official download
- macOS: A manual driver installation is usually unnecessary, but a restart may be needed.
- Linux: Drivers are usually included; check access permissions.
2. Check Device Manager (Windows)
- Open Device Manager and look under "Ports (COM & LPT)".
- A yellow exclamation mark indicates a driver problem.
- If the device appears as "Unknown device", install the correct driver.
3. Check permissions (Linux/macOS)
# Linux: add your user to the dialout group
sudo usermod -a -G dialout $USER
# Then restart or sign out and sign in again
# macOS: check system security settings
# System Settings > Security & Privacy > Privacy > Input Monitoring4. Check browser compatibility
- Required: Chrome 89+ or Edge 89+.
- Experimental features: Open
chrome://flags/.- Search for "Experimental Web Platform features".
- Set it to "Enabled".
- Restart the browser.
- HTTPS requirement: The Web Serial API requires HTTPS.
- Local development can use
localhostor127.0.0.1.
- Local development can use
🔧 Other connection issues
Connection failure or a "Cannot read properties of undefined" error:
Basic checks:
- Use the latest version of Chrome or Edge.
- Check your USB cable; use a cable that supports data transfer.
- Unplug and reconnect the USB cable.
- Close other applications that may be using the serial port, such as Arduino IDE or serial terminals.
Enter download mode:
- Press and hold BOOT.
- Briefly press RESET, then release it.
- Release BOOT.
- The device should now be in download mode.
Select the correct serial port:
- Windows: Usually "USB Serial Port (COMx)" or "USB-SERIAL CH340 (COMx)".
- macOS: Usually "/dev/cu.wchusbserial" or a similar name.
- Linux: Usually "/dev/ttyUSB0" or "/dev/ttyACM0".
Retry the connection: If the first attempt fails, the tool automatically tries four connection modes:
- Simple mode: the most basic connection method.
- Standard mode: a normal ESPLoader connection.
- Compatibility mode: manually opens the serial port.
- Serial-only mode: establishes serial communication only; flashing is unavailable in this mode.
Other things to try:
- Lower the baud rate to 115200.
- Ensure the board has a sufficient power supply.
- Check for a loose USB connector.
- Restart the browser and try again.
📋 Quick checklist
Before using the flashing tool, check that:
- [ ] ✅ The device is connected to the computer by USB.
- [ ] ✅ The serial device appears in Device Manager.
- [ ] ✅ The correct CH340/CP210x driver is installed.
- [ ] ✅ All applications using the serial port are closed.
- [ ] ✅ You are using the latest Chrome or Edge.
- [ ] ✅ Experimental browser features are enabled.
- [ ] ✅ The page is served over HTTPS or from localhost.
If all of these checks pass but you still cannot select a device, use an ESP32 flashing tool such as esptool.py or Flash Download Tools.
Best practices
- Before connecting: Close serial applications and ensure no other program is using the device.
- Choose the correct device: Select the entry labeled USB Serial or containing CH340.
- Be patient: The first connection may take 10–30 seconds.
- Read the logs: Check the operation log for detailed error messages.
- Retry: If one connection mode fails, the tool automatically tries other modes.