Uploaded October 2026 | Updated November 2026, 1 day ago
If you are trying to upload code to your ESP32 or ESP8266 board using Arduino IDE on Windows 11 and you get the dreaded "A fatal esptool.py error occurred: Cannot configure port" error, this video is for you.
In this video, we walk through the exact steps to diagnose and fix this issue, starting with the most common culprit: the CH340 USB-to-serial driver. We show you how to properly uninstall the problematic driver, download the correct version, and reinstall it to get your uploads working again.
00:00 The error: "Cannot configure port" on Windows 11
00:33 Suspect 1: The CH340 driver
01:39 Install the downloaded driver
02:14 Upload works after reinstall
Official WCH Driver (CH340/CH341):
CH341SER.ZIP (Official WCH Site): https://www.wch.cn/downloads/CH341SER_ZIP.html
CH341SER.EXE (Official WCH-IC Mirror): wch-ic.com/downloads/CH341SER_EXE.html
Older CH340 Driver (2016/11/30 version – often fixes Windows 11 conflicts):
Search for "Windows-CH340-Driver.ZIP 2016/11/30".
Other Common Causes for Upload Failures
1. Board Not in Bootloader Mode (Auto-Reset Failure)
Some ESP32 boards cannot be reset automatically by esptool.py. This causes the upload to hang and fail.
Fix: Manually put the board into bootloader mode: Press and hold the BOOT button, then press and release the RESET button, then release the BOOT button. After this, try uploading again.
2. USB Cable Issues
A charge-only USB cable (without data wires) will let the board power on and the COM port may appear, but uploads will fail.
Fix: Use a different, known-good data-capable USB cable.
3. Port Busy or Permission Issues
Another program (like a Serial Monitor or another IDE) may be holding the COM port open, or Windows may lack permission.
Fix: Close all other programs that might use the port. Try restarting the Arduino IDE or even rebooting your computer. On Linux, add your user to the dialout group.
4. Power Supply Problems
The USB port on your computer may not supply enough current, especially for boards with many peripherals or ESP32-CAM modules.
Fix: Try a different USB port (preferably USB 2.0), use a powered USB hub, or power the board externally.
5. esptool.py Version Bugs
Certain versions of esptool.py (e.g., v4.5.1) have known issues with specific boards. Updating the ESP32 board package in Arduino IDE or manually replacing esptool.py can help
#ESP32 #ArduinoIDE #CannotConfigurePort
If you are trying to upload code to your ESP32 or ESP8266 board using Arduino IDE on Windows 11 and you get the dreaded "A fatal esptool.py error occurred: Cannot configure port" error, this video is for you.
In this video, we walk through the exact steps to diagnose and fix this issue, starting with the most common culprit: the CH340 USB-to-serial driver. We show you how to properly uninstall the problematic driver, download the correct version, and reinstall it to get your uploads working again.
00:00 The error: "Cannot configure port" on Windows 11
00:33 Suspect 1: The CH340 driver
01:39 Install the downloaded driver
02:14 Upload works after reinstall
Official WCH Driver (CH340/CH341):
CH341SER.ZIP (Official WCH Site): https://www.wch.cn/downloads/CH341SER_ZIP.html
CH341SER.EXE (Official WCH-IC Mirror): wch-ic.com/downloads/CH341SER_EXE.html
Older CH340 Driver (2016/11/30 version – often fixes Windows 11 conflicts):
Search for "Windows-CH340-Driver.ZIP 2016/11/30".
Other Common Causes for Upload Failures
1. Board Not in Bootloader Mode (Auto-Reset Failure)
Some ESP32 boards cannot be reset automatically by esptool.py. This causes the upload to hang and fail.
Fix: Manually put the board into bootloader mode: Press and hold the BOOT button, then press and release the RESET button, then release the BOOT button. After this, try uploading again.
2. USB Cable Issues
A charge-only USB cable (without data wires) will let the board power on and the COM port may appear, but uploads will fail.
Fix: Use a different, known-good data-capable USB cable.
3. Port Busy or Permission Issues
Another program (like a Serial Monitor or another IDE) may be holding the COM port open, or Windows may lack permission.
Fix: Close all other programs that might use the port. Try restarting the Arduino IDE or even rebooting your computer. On Linux, add your user to the dialout group.
4. Power Supply Problems
The USB port on your computer may not supply enough current, especially for boards with many peripherals or ESP32-CAM modules.
Fix: Try a different USB port (preferably USB 2.0), use a powered USB hub, or power the board externally.
5. esptool.py Version Bugs
Certain versions of esptool.py (e.g., v4.5.1) have known issues with specific boards. Updating the ESP32 board package in Arduino IDE or manually replacing esptool.py can help
#ESP32 #ArduinoIDE #CannotConfigurePort




![Setting Secure DNS in Windows 11 and Browser
Secure DNS in Google Chrome is a privacy and security feature that utilizes DNS-over-HTTPS (DoH). Instead of sending your website requests in plain text—which anyone on your network could see—it encrypts them, ensuring your ISP or a hacker on public Wi-Fi cant track which sites you are visiting.
Key Features & Benefits.
00:01 Using Secure DNS.
00:16 How to open a blocked website.
00:45 Use Secure DNS in Chrome.
00:02 Setting Secure DNS Windows 11.
00:03 Secure DNS is automatically
03:39 Secure DNS is like accessing the internet, browsing normally
Privacy: Encrypts your DNS lookups so your browsing history is harder to intercept.
Security: Prevents DNS spoofing or hijacking, where an attacker redirects you to a fake phishing website.
Integrity: Ensures that the IP address Chrome receives is the genuine one for the site you requested.
Performance: Often faster than default ISP servers when using high-speed providers like Cloudflare or Google.
How to Enable Secure DNS
Open Chrome and click the three dots (⋮) in the top-right corner.
Select Settings - Privacy and security.
Click on Security.
Scroll down to the Advanced section.
Toggle Use secure DNS to On.
Automatic: Uses your current service provider (if they support DoH).
With [Provider]: Allows you to choose a custom provider like Cloudflare (1.1.1.1), Google (8.8.8.8), or CleanBrowsing (for family filtering).
Troubleshooting Setting is Disabled
If the option is greyed out or says its managed by your organization, it is usually due to:
Work/School Managed Devices: Administrators often lock these settings to enforce network policies.
Parental Controls: Windows or macOS family safety features may override browser DNS.
Registry Policies: Sometimes malware or old software leaves behind policies that disable the toggle. You can check these by typing chrome://policy in your address bar. Setting Secure DNS in Windows 11 and Browser](https://i.ytimg.com/vi/qBqvnumuu3Q/mqdefault.jpg)





