Sunday, April 13, 2025

Arduino Uno CH340 programming error

 Error in arduino IDE:

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

Device manager:


Solution that worked:

Link: https://www.reddit.com/r/arduino/comments/1dz73mz/avrdude_ser_open_cant_set_comstate_for_com4/

  1. going into device manager 
  2.  open Ports (COM & LPT) 
  3. right click on the port the Arduino is connected to
  4.  properties 
  5.  port settings 
  6.  advanced 
  7.  clicking the box that says "Enabling the serial port enumerator (SerEnum)" worked.  



 

1 comment: