When I try to upload my sketch to the Arduino, it says the com port is wrong. However, when I try to select the port, it is greyed out and I am unable to select any ports. I went into device manager and looked for it, but there are no unknown devices, no ports drop down. My computer doesn't even make a sound when it is plugged in. Does anyone know how to fix this? I was able to upload my sketches last week, and this week I am having a large problem.
I have tried troubleshooting the chord, different usb ports, along with trying it on another computer. Nothing has worked. I tried uninstalling the Arduino software and reinstalling it making sure that the usb drivers box was checked. Yet I still am having the problem. Does anyone have any suggestions? Any help will be appreciated. Thank you.
When you plug in the board, do you get the sound you get when plugging in a new device? Is there an "unknown device" or other device with error symbol in device manager?
Is there a "the last USB device was not recognized" or "the last usb device malfuncitoned" message?
If you get no response, no error, nothing - that's a bad sign indeed.
Did the same board previously work on the same computer? If yes, what was done since it last worked? If not, could the board be a clone that uses a different serial chip? Check the markings on the black chip near the USB connector - if it says Atmel 16u2 it's an official board or faithful clone, and uses the normal drivers. If it's CP2102 or CH340G, it's a clone that uses a different serial chip. Google the part number and your OS, download and install driver.
Try a different USB cable. There's been a plague of bad USB cables lately.
Same thing has happened to me. it worked on 30/09/2017
went to have a play 02/10/2017 pc doesn't even register the arduino.
I have connected to another PC and the baord is regonized, however had errors trying to upload the blink sketch, I put that down to being an out dated IDE(I have no idea what I am talking about) and since that was on a locked down work pC was unable to Download updates.
This is the first time I have posted in this forum, if you need more info let me know what you want and I'll see if I can figure out how to get it to you.
I have confirmed that my board is the problem, at least the serial communication.
I had a friend lend me their Uno and I plugged that into the same PC and the same Port I was using for my board and my PC and Arduino IDE all instantly recognised it.
I was previously using my (currently not functioning) UNO via a 3.0 usb port, since investigating this issue through this forum I have seen suggestions not to use usb 3.0 ports. Maybe that was this issue.
to the OP I hope this helps or that you have found a solution to your problem.
I am having the same issue...I have a mega that works perfectly but I just bought a YUN and although it powers up...Windows doesn't see it and the IDE doesn't allow for port selection.
I would try to help more but other than knowing you have YUN there is no real other information in your post.
There are a couple of threads at the top of this forum and I would honestly suggest you read those. Then go to the YUN section and read the many posts in there too.
when I try to upload I am getting: avrdude: ser_open(): can't open device "/dev/cu.Gerrit-SerialServer": Resource busy..... One time I mistakenly tried to upload with usb disconnected and got the same message!
I just bought a usb2 hub but to no avail. I have a hard time finding serial ports on my mac, spotlight doesn't react to "serial port"
this is the full reaction :
Arduino: 1.8.1 (Mac OS X), Board:"Arduino/Genuino Uno"
De schets gebruikt 2424 bytes (7%) programma-opslagruimte. Maximum is 32256 bytes.
Globale variabelen gebruiken 296 bytes (14%) van het dynamisch geheugen. Resteren 1752 bytes voor lokale variabelen. Maximum is 2048 bytes.
/Applications/Arduino.app/Contents/Java/hardware/tools/avr/bin/avrdude -C/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf -v -patmega328p -carduino -P/dev/cu.Gerrit-SerialServer -b115200 -D -Uflash:w:/var/folders/7m/7008_5lj6td1f1ytbklhw6vc0000gn/T/arduino_build_127263/Relay_Shield_V2_1_Sample_Code.ino.hex:i
avrdude: Version 6.3, compiled on Dec 16 2016 at 13:32:25
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "/Users/gerrit/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/cu.Gerrit-SerialServer
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: ser_open(): can't open device "/dev/cu.Gerrit-SerialServer": Resource busy
Now it's this: Resource busy... seems the steady part. I can now open the serial monitor but don't know what I can do with it, wether I should do anything with it and where does what go when I press "send"? When I do one of my hopeless uploads I see no proof of anything happening in the serial monitor. (What is it monitoring?)
please check:
avrdude: Version 6.3, compiled on Dec 16 2016 at 13:32:25
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "/Applications/Arduino.app/Contents/Java/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "/Users/gerrit/.avrduderc"
User configuration file does not exist or is not a regular file, skipping
Using Port : /dev/cu.Gerrit-SerialServer
Using Programmer : arduino
Overriding Baud Rate : 115200
avrdude: ser_open(): can't open device "/dev/cu.Gerrit-SerialServer": Resource busy
avrdude done. Thank you.
Probleem bij het uploaden naar het board. Zie http://www.arduino.cc/en/Guide/Troubleshooting#upload voor suggesties.
processing.app.SerialException: Fout bij het openen van seriële poort "/dev/cu.Gerrit-SerialServer"
at processing.app.Serial.(Serial.java:125)
at processing.app.Serial.(Serial.java:66)
at processing.app.SerialMonitor$3.(SerialMonitor.java:93)
at processing.app.SerialMonitor.open(SerialMonitor.java:93)
at processing.app.AbstractMonitor.resume(AbstractMonitor.java:110)
at processing.app.Editor.resumeOrCloseSerialMonitor(Editor.java:2240)
at processing.app.Editor.access$2400(Editor.java:77)
at processing.app.Editor$DefaultExportHandler.run(Editor.java:2218)
at java.lang.Thread.run(Thread.java:745)
Caused by: jssc.SerialPortException: Port name - /dev/cu.Gerrit-SerialServer; Method name - openPort(); Exception type - Port busy.
at jssc.SerialPort.openPort(SerialPort.java:164)
at processing.app.Serial.(Serial.java:114)
... 8 more
Fout bij het openen van seriële poort "/dev/cu.Gerrit-SerialServer"
Fout bij het openen van seriële poort "/dev/cu.Gerrit-SerialServer" (Port busy)
OK this seems to be solved. In the Tools > Ports list the top port is not necesairily the one that belongs to your Arduino. So that solved the port problem. I also could use the serial port monitor to send test signals to the relay shield and it cluncked an' blinked ok. Thanks, the forum is great for letting steam off, breath in and try again.