Sketch uses 8784 bytes (27%) of program storage space. Maximum is 32256 bytes.
Global variables use 498 bytes (24%) of dynamic memory, leaving 1550 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can't set com-state for "\.\COM6"
Failed uploading: uploading error: exit status 1
can any one help with this error