I am working with an Arduino Nano.
avrdude: ser_open(): system can't open device "\.\COM1": the system cannot find the file specified
This error appears just after uploading the program on the Arduino board. I have checked my port in my device manager. It says COM11 and in the Arduino software as well COM11 is selected.
I have the Arduino Nano board selected in my Arduino software. Also, there mustn't be any specification error while downloading the software file. Is there anything that I am missing?
This is how I solved the problem. In Device Manager you will find the Arduino COM port.
Go to the Advanced properties of the port
Set the COM port number to COM1.
Then replug the USB.