what i can do

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

What board - if a Chinese clone , you may need the CH340 driver for it.

Check you are using a data type USB lead and not a charger lead