Go Down

Topic: ser_open(): can't set com-state for "\\.\COM5" temporary (Read 39 times) previous topic - next topic

babak_tour

 Hi.
I'm using an UNO R3. every things works good. But form today, when I try to upload a sketch (Fade), software give me this error:

Arduino: 1.8.8 (Windows 7), Board: "Arduino/Genuino Uno"

Sketch uses 1152 bytes (3%) of program storage space. Maximum is 32256 bytes.
Global variables use 13 bytes (0%) of dynamic memory, leaving 2035 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can't set com-state for "\\.\COM5"
An error occurred while uploading the sketch

I try different things and when disconnect all the wires and cable, and plug it just with usb cable to computer, I can upload successfully.

and it, occur when I test sketch, change parameter and try to upload it.


Go Up