Keep getting "avrdude: ser_open(): can't open device "\\.\COM3": Access is denied." error

I recently bought the Duinotech Nano Board ( XC4414) which uses the FT232RL USB-Serial Chipset.

I keep getting the following error when trying to upload my code to the board:

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

I have tried changing the COM number in device manager. It also shows up as a serial port.

The only LED on on the board is the power light, no others are blinking or anything.

I tried uploading the code on my laptop, which has Windows 11, (the main computer I'm trying this on has windows 10), and it worked once, and now I'm getting the exact same error on the laptop as well.

The problem persists no matter what the code is.

I've been researching for hours now and haven't found any solutions. Thank you for any help.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.