error... com4

My arduino uno has worked fine but now when i try to download a new program i get this error message.... I've changed my Com for the arduino to 4 and 5 and then back to 4. I've tried to update drivers and it says they are up to date. Only thing I know to do next is uninstall and reinstall... any help is appreciated.

Arduino: 1.6.5 (Windows 7), Board: "Arduino Uno"

Sketch uses 4,584 bytes (14%) of program storage space. Maximum is 32,256 bytes.

Global variables use 273 bytes (13%) of dynamic memory, leaving 1,775 bytes for local variables. Maximum is 2,048 bytes.

avrdude: ser_open(): can't open device "\.\COM4": The system cannot find the file specified.

No idea from anyone?

Have you checked in Device Manager which COM number the Arduino actually has?

yes. here is the error message i get. If you look in the bottom right corner you can see it says the arduino uno on com 4.

here is the device manager showing its on com 4... I don't know what else to do.lol

That port has a problem, see the exclamation mark? Do you have any hardware connected to arduino? Disconnect the hardware.

Indeed a problem with the COM port.

By the way, the message "Arduino Uno on COM 4" is a bit misleading. It does not detect anything. That line just tells you what you selected from the menu. If you select COM 1 it will tell you "Arduino Uno on COM 1" even is COM 1 isn't an Arduino....

I disconeected everything from the arduino... even hooked up to a different usb port.... changed the com from com4 to com5 and still the same error message.

Read this. Post the properties of your COM4 or 5 port. See if it helps:

please explain what "properties" your talking about on com4 or 5. I read that article. I have the Atmel ATMEGA16U2. so it should be included. It worked fine for a month or more.... now all the sudden its dead to the world... Did I fry my board or something?

Let me read my article for you:

The VID and PID values are what I was asking you.

this is what it says normally...

i switched it to this like the article said and it says this.... still doesn't work when switched to this...

this is some more driver info...

VID=2341 that is correct. It is Arduino LLC. But PID (product ID) = 0001 there is no such product. UNO R3 is 0043. Can you remove this port, unplug arduino, replug it? If then it shows unrecognized device, follow my blog post. You need th see the unrecognized device having VID=2341 PID=0043.

"nstall the correct driver, remove the arduino, reinsert it and wait for the driver to properly associate with the board. In case that didn’t happen automatically, you want to then right click the unknown device and update driver, then choose “browse my computer”. Then point to the right driver location. This step is necessary for all ATMEGAXXuX chips. The driver is in Arduino IDE under Drivers folder."

I don't have a driver labeled Arduino IDE? Sorry if I'm a newb but this thing worked fine for a month or more and now all the sudden its dead to the world. I don't hear the "ding" when I plug in the usb to the computer letting me know its connected...

I see. The driver location is correct. It will install the right driver. I did more digging. Arduino UNO has PID of 0001. That is an outdated product, replaced by later revisions. Current revision is R3 so the UNO R3. If you actually have an UNO (not R3), then driver is correct. You may have a dead processor (ATMEGA328P). Do you have a spare ATMEGA328P to swap?

I'm out of ideas at the moment.

I don't have another processor... I'm guessing I just need to update to the Uno R3.

One last question... what causes the processor to die? I wanna make sure I don't do this again... It worked fine for along time.

If you accidentally connected 5V or GND to pins 0 or 1, you will damage the pins. They are used to upload sketch so if one of them is damaged, you won't be able to upload. If you supply 9V or 12V from battery or ac adapter to one of the pins, especially 5V pin, you could fry the whole chip. If you get an Uno R3, try the arduino ISP example to see if you can still program your old Uno via the ICSP header. If so, then the processor is not entirely fried :smiley:

I used 8AA batteries to power the arduino... is that too much? Could that fry it?

I only used the 5v pin to power the servo and relay. thanks for your help.

5AA are all you need to make 5V.

I thought I read somewhere that you can use a 9v battery and the arduino will just waste some of the charge to get it down to a 5v. maybe i am wrong....

UPDATE... on my board it does say I have an UNO R3. Still processor gone you think?