Arduino nano-avrdude: ser_open (): the system cannot open the device "\\. \ COM1": the system cannot find the specified file

I work with arduino nano.

avrdude: ser_open (): the system cannot open the device "\. \ COM1": the system cannot find the specified file

This error appears immediately after loading the program on the arduino board. I checked my port in my device manager, it says com11 and in arduino software as well as com11. I have an arduino nano board selected in my arduino software. Also, when loading the software file, there should be no specification errors. Is there something I am missing? Please help !! I can not solve this error.

+47
arduino
Sep 08 '14 at 6:50
source share
5 answers

I know this is an old post, but I solved this problem. In the device manager, you will find the Arduino COM port.

enter image description here

Go to port Advance properties

enter image description here

Set COM1 port number COM1

enter image description here

Then replace the USB.

+92
Nov 13 '14 at 15:59
source share

My problem is which physical USB port I connected the Arduino cable to my D-Link DUB-H7 (USB hub) in Windows 10. I had an Arduino connected to one of the two ports on the right (in the image below) . The USB cable fits and it charges Arduino perfectly, but for some reason Arduino did not see the port.

enter image description here

Windows does not recognize these two ports. Any of the other ports is fair play. In my case, the Tools> Port menu was grayed out. In this case, the "Ports" section in the object explorer was hidden. To show hidden devices, I chose View> show hidden. Originally was COM1. When I changed it to COM3, it did not work.

There are many places where you can configure the COM port.

Windows> Control Panel> Device Manager> Ports> right-click Arduino> Properties> Port Settings> Advanced> COM Port Number: [select port]

Windows> Start Menu> Arduino> Tools> Ports> [select port]

Windows> Start menu> Arduino> File> Settings> @bottom, "Additional settings can be edited directly in the file."

C: \ Users {username} \ AppData \ Local \ Arduino15 \ preferences.txt

target_package = arduino target_platform = avr board = uno software=ARDUINO # Warn when data segment uses greater than this percentage build.warn_data_percentage = 75 programmer = arduino:avrispmkii upload.using = bootloader upload.verify = true serial.port=COM3 serial.databits=8 serial.stopbits=1 serial.parity=N serial.debug_rate=9600 # I18 Preferences # default chosen language (none for none) editor.languages.current = 

The user preferences.txt overrides this:

C: \ Users {username} \ Desktop \ avrdude.conf

... search for "com" ... "com1" is the default

+1
Mar 31 '16 at 8:26
source share

Changing the port in device manager works for me. I was also able to fix this by finding the port that Arduino was using and then selecting it from the IDE Adruion from the Tools> Port> Com Port tool menu

Adruino IDE

0
Jan 09 '16 at 20:43
source share

Instead of changing the COM port in the device manager, if you are using Arduino software, I had to set the port in the Services> Port menu.

enter image description here

0
Sep 16 '17 at 19:54 on
source share

I had the same problem this morning. When I checked my device manager, it showed COM4 properly, and when I checked the IDE COM in Arduino, there was simply no choice. Only COM1 is enabled.
I tried to disconnect and connect the Arduino a couple of times, and as a result, COM4 reappeared in the IDE. I did not need to change the settings.
Hope this helps someone.

0
Sep 29 '17 at 14:24
source share



All Articles