Go Down

Topic: avrdude: ser_open(): can't open device "\\.\com3": (Read 97687 times) previous topic - next topic

Holografik

Feb 20, 2015, 07:54 pm Last Edit: Feb 20, 2015, 08:13 pm by Holografik
Hi,

here is my situation - I got my first Arduino(Uno) last week. I successfully uploaded and ran quite a few programs on it. Only today when I connected it to my computer, I got this error-avrdude: ser_open(): can't open device "\\.\com3": the system cannot find the file specified....

 The "port" under tools menu is grayed out, even with the board connected. It used list COM3, if I had the board connected before. Now I can't find the Arduino in the device manager either!

I was working on an obstacle avoiding bot, and I uploaded a code for it last night. When I connect the Arduino to my computer, the power LED glows and that code runs. I wanted to change the code a bit tonight, but couldn't because of this problem.

I am running 64 bit Windows 8.1. My brother has the same OS. After some frustration with this, I connected the Arduino to his laptop for the first time only to get more frustrated - its the same problem there. No drivers start getting installed, the device manager doesn't show any new devices. It's as if the computers don't know if anything got connected to them!

I hope I could make my problem clear. Any help would be greatly appreciated. As I already said, this is my first Arduino, so you can assume I have virtually no experience with micro-controllers before.

ChilliTronix

Is there anything other than the computer connected to the board? For example the robot?

Holografik

I've tried plugging it to the computer keeping it connected to the robot, and also without keeping it connected to anything else. When I have the robot connected I can see the last program running (the motors turn the way they should). But in either case the computer doesn't recognize anything new plugged to it.

ChilliTronix

OK... Do you know what USB to serial chip it has? It is the one closest the USB to serial port. If you can't tell post a picture of the board or a link to where the board came from.

Holografik

#4
Feb 21, 2015, 11:06 am Last Edit: Feb 21, 2015, 11:06 am by Holografik
This is where I got it from - https://www.techshopbd.com/product-categories/boards/1253/arduino-uno-r3-china-techshop-bangladesh

It is an UNO R3, so is it supposed to be 16u2? I think I can faintly read 16u2 on the chip.

Holografik

After looking up a bit, I found this - http://forums.adafruit.com/viewtopic.php?f=25&t=25146. So I tried following the instruction here - http://arduino.cc/en/Hacking/DFUProgramming8U2.

But now, when I run FLIP and try to select usb as my connection, I get a "atlibusbdfu.dll not found" error, although the file is there in both C:\Program Files (x86)\Atmel\Flip 3.4.7\bin and System32.

What do I do now? I am utterly clueless.

peki

folks, I have the same problem. a months unable to alive arduino on my home comp. think problem is Win8.1 and driver. yesterday uploaded new driver 1.6.0, and first success. part. I am now testing 3 MEGA boards, 2 USB cables. problem is in COM ports, the same report. one board is running. on bottom status line is Arduino ... on COM4, Tools/Port says COM4, WIndows says Arduino on COM4. this one is working. Unplug and plug next MEGA : bottom status line : Arduino ...on COM4, Tools/Port says COM5, WIndows Arduino COM5. : can't open device "\\.\COM4":
Unplug and plug next MEGA, result :  bottom status line : Arduino ...on COM4, Tools/Port says COM3, WIndows Arduino COM3. : can't open device "\\.\COM4":
switch off and on software, switch off and on windows donĀ“t help, the same result.
how to match bottom status line and Tools/Port report?

peki

Tested on another comp with XP, and next 3 MEGA boards . Result the same . One board have fit of bottom status bar : Arduino...on com4, and Tools/Port Com4. This one works. All next boards have another Tool/Port - com3, com5, com6, com7, while bottom status line show com4. And no one board response.
What to do?

ChilliTronix

When you disconnect and re connect a board you may need to re select a port in the IDE.

peki

YES. Chilli, thanks. fix this is just click on Tools/Port info about port - this will match COM port in status line. this took me about 8 hours of testing = some days to find. hmmm

ChilliTronix

YES. Chilli, thanks. fix this is just click on Tools/Port info about port - this will match COM port in status line. this took me about 8 hours of testing = some days to find. hmmm
I am pleased you know have it fixed...

DanEGood

I've got the same problem. It worked fine and then it stopped.
It says COM3 at the bottom of the IDE but get this error when I try to upload the file. The Com Port options are greyed out and so can't select it under TOOLS.
I'm still not sure what you did to fix this.
I'm running Windows 8.1 and Arduino IDE 1.6.1

DanEGood

I upgraded to IDE 1.6.3 and rebooted.  When I ran the IDE, I had the COM3 under the Ports but as soon as I try to upload a file to the Arduino, i get the error and the Port selection grays out. even after shutting down and restarting, the Ports are grayed out.

UGH !!!

DanEGood

Never Mind......
There was a wiring error, shorting the Vcc. My Bad.
Note to self, "Check your hardware !!"

innavoig3

Has anybody solved this problem?

I got almost an exact problem. But, mine is on Windows 7-32bit. I'm using arduino uno R3. The last time i use the board, it was fine. Today, i was just trying to blink an LED, but the program wont upload to the board and there's the message: "avrdude: ser_open(): can't open device "\\.\COM3": The system cannot find the file specified."

Ports menu is greyed out. Device manager wont show anything connected, anywhere i plugged it wont be detected.





Go Up