1

I was trying to upload the source code of a project to the Arduino UNO and this is the error that I keep on receiving.

After I closed and reopened it again, the Port option is gray. I tried everything (installing new drivers, uninstalling it) but nothing works. This board works on my PC (Win 10) but doesn't work on my laptop (Win 11).

avrdude: ser_open(): can't set com-state for "\\.\com3" an error occurred while uploading the sketch.
4
  • Is it a genuine Arduino UNO or a Chinese clone? If a clone, what USB chip does it have on the board?
    – Majenko
    Commented May 14, 2022 at 10:45
  • @Majenko It's a Chinese clone with an Atmega328p chip
    – Shawn sony
    Commented May 14, 2022 at 12:43
  • That's the MCU. What's the USB chip? Is it an ATMega16UI2 or a CH340G?
    – Majenko
    Commented May 14, 2022 at 15:03
  • @Majenko It's Atmega16U2.
    – Shawn sony
    Commented May 14, 2022 at 16:20

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.