COM Port Issue / Cant Set State

Im getting this error when trying to compile code. Im 100000% sure COM3 is the correct port because it is the only one running on my pc. I've messed with this for about 7 hours and am ripping hair out at this point, send help lol.

avrdude: ser_open(): can't set com-state for "\.\COM3"

Here's how you can verify which port is your Arduino board:

  1. Unplug your Arduino board from the computer.
  2. Select Tools > Port from the Arduino IDE's menus.
  3. Note the ports, if any, listed in the menu.
  4. Close the Tools menu. The ports list is only updated when the Tools menu is re-opened, so this step is essential.
  5. Plug your Arduino board into the computer.
  6. Select Tools > Port from the Arduino IDE's menus. - The new port listed in the menu is your Arduino board.

Does that confirm your expectation that the board is COM3?

Yeah its definitely COM3

I’ve heard some of the knockoff boards wont run with Arduino drivers? I had to go in and manually install drivers to even get COM ports to pop up on my PC so Im guessing my best bet is to just get a genuine board?

Try restarting your computer. Sometimes a glitch causes the port to get stuck open and restarting fixes that.

with the Arduino plugged in :
Open the Device Manager.
Right click and remove the COM port that the Arduino is connected to, and remove the drivers when prompted.
Click rescan for plug and play hardware.
Install the correct driver for the board.
Close the device manager.
Restart the computer.

Retry and post back.

A post was split to a new topic: USB device not recognized - unshapentube

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