Share via

USB driver not communicating with Arduino IDE

Anonymous
2023-11-24T17:28:46+00:00

I'm trying to upload code from the Arduino IDE to a board connected to my device via one of the USB ports. For some reason, I'm getting the message :

avrdude: ser_open(): can't open device "\.\COM11": Access is denied.

So it seems as though my USB driver (I renamed it COM11 from COM3 in an attempt to resolve the issue) isn't wanting to open. Some Arduino forums suggested that the driver needed to be updated, and another said a Windows update made their driver disagreeable. I checked and my driver isn't overdue for an update, and yet its still not opening for the IDE. Anything helps to try and free up my driver to communicate with apps again.

Thanks!

Windows for home | Windows 11 | Devices and drivers

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Anonymous
    2023-11-26T02:02:30+00:00

    Hi

    Welcome to Microsoft community.

    I understand you're having trouble with your Arduino IDE. The error message you're seeing can be caused by several factors. Here are a few troubleshooting steps you can try:

    1. Close Other Programs: Make sure no other programs are using COM11. Other software (like serial monitor programs or other IDEs) can block access if they are using the same port.
    2. Run as Administrator: Try running the Arduino IDE as an administrator. Right-click the Arduino IDE shortcut and select "Run as administrator".
    3. Change the COM Port: Try changing the COM port back to COM3 or to another port. You can do this in the Device Manager. Expand "Ports (COM & LPT)", right-click your device, select "Properties", go to the "Port Settings" tab, click "Advanced", and change the COM Port Number.
    4. Update the Arduino IDE: Make sure you have the latest version of the Arduino IDE.
    5. Reinstall the USB Driver: If the issue still isn't resolved, you might want to try reinstalling the USB driver. You can do this in the Device Manager. Expand "Ports (COM & LPT)", right-click your device, and select "Uninstall device". Afterward, unplug your device, restart your computer, and then plug your device back in. Windows should automatically reinstall the driver.
    6. Check the Board and Port in Arduino IDE: Ensure the correct board and port are selected in the Arduino IDE. Go to Tools > Board and Tools > Port to check.

    I hope these steps help you resolve the issue. If the problem persists, I suggest reaching out to Arduino's support community for more specific assistance.

    Please feel free to let me know if you have any further updates, thanks.

    Best regards

    Derrick Qian | Microsoft Community Support Specialist

    2 people found this answer helpful.
    0 comments No comments