Can anyone help me with this? tried changing my ports and also the port number but cant
Hi @wowiclark121. There were some previous reports of this error occurring specifically when using boards that have the CH340 USB chip. It seems that a driver upgrade included in a recent Windows update is the cause of this problem.
The affected users have found that uninstalling reinstalling the CH340 device fixed the problem. I'll share the instructions you can follow to do that:
- Close Arduino IDE if it is running.
- Connect the Arduino board to your computer with a USB cable.
- Open the Windows Device Manager.
- Select View > Devices by type from the Device Manager menus.
- Open the "View" menu.
- If there is a ✓ to the left of the "Show hidden devices" menu item, click on "Show hidden devices" to disable it.
- Open the "Ports (COM & LPT)" section of the Device Manager tree.
- You should see a port identified as "USB-SERIAL CH340 (COM_n_)" under the "Ports (COM & LPT)" section (where "COM_n_" is some serial port e.g., COM4). Right click on that item.
A context menu will open. - Select "Uninstall device" from the context menu.
An "Uninstall Device" dialog will open. - Check the box next to "☐ Attempt to remove the driver for this device" in the "Uninstall Device" dialog.
- Click the "Uninstall" button.
- Wait for the uninstallation process to finish.
- Unplug the USB cable of the Arduino board from your computer.
- Wait for the Device Manager tree to reload.
- Connect the USB cable of the Arduino board to your computer.
- Wait for the "USB-SERIAL CH340 (COM_n_)" port to reappear under the "Ports (COM & LPT)" section of the Device Manager tree.
My experience is that the device will be reinstalled automatically by Windows. However, it is maybe possible that the complete driver removal will actually have been accomplished by the above instructions, in which case it will be necessary to reinstall the driver. If this happens to you, please let me know and I'll provide instructions for installing the driver.
Once the port has reappeared in Device Manager, start Arduino IDE again and check to see whether the problem still occurs.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.