avrdude: ser_open(): can't open device "\\.\COM1": access denied

Hi... I'm a nubie with the mega 2560. Can't get a sketch to upload (seems to be an epidemic) The drivers installed OK, Device Manager recognizes it, the IDE recognizes it on COM10, but will not upload.[

         Using Port                    : COM10


         Using Programmer              : wiring


         Overriding Baud Rate          : 115200


avrdude: ser_open(): can't open device "\\.\COM10": Access is denied.






Problem uploading to board.  See http://www.arduino.cc/en/Guide/Troubleshooting#upload for suggestions.


avrdude: ser_drain(): read error: The handle is invalid.






avrdude: stk500v2_ReceiveMessage(): timeout


avrdude: stk500v2_ReceiveMessage(): timeout


avrdude: stk500v2_getsync(): timeout communicating with programmer

also, it always reports "using programmer : wiring" regardless of which programmer is selected.

Three days frustrated...Please help!

What is your OS? - If its Win 8 its a certification issue. Try going to the driver file, right click and select install from the IDE drivers folder. Also check in tools to see if the comport shows your device and allocated com port. Have you read the setup files on line?

Thanx for your response. OS = Win7 32. I have this driver installed: C:\Program Files\Arduino\drivers\arduino.inf and the IDE sees it on COM10. Still getting a comm. timeout error. Thought I had read everything on setup. Please direct me to the files you refer to.

Hi Guys,
Here I am with my brand new SainSmart Mega 2560, running Win7 32, and Arduino 2.6.4. I have been battling this thing for 5days without a successfull sketch upload.
I've searched thru every "can't upload" thread on the forum with no luck. I keep getting communication timeout error. The L led continuously flashes at about 5hz. 
I have reloaded the specified driver.
I have reloaded and verified the firmware with Flip.
Flip reports bootloader v.1.2.0
Arduino recognizes the board on COM10.
It passes the loopback check. 
If you can't upload a sketch, the board is no better than a stale slice of bread. The birds won't even eat it!

Please Help! This isn't fun anymore....

avrdude: Version 6.0.1, compiled on Apr 15 2015 at 19:59:58

Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

Copyright (c) 2007-2009 Joerg Wunsch

System wide configuration file is “C:\Program Files\Arduino\hardware\tools\avr/etc/avrdude.conf”

Using Port : COM10

Using Programmer : wiring

Overriding Baud Rate : 115200

AVR Part : ATmega2560

Chip Erase delay : 9000 us

PAGEL : PD7

BS2 : PA0

RESET disposition : dedicated

RETRY pulse : SCK

serial program mode : yes

parallel program mode : yes

Timeout : 200

StabDelay : 100

CmdexeDelay : 25

SyncLoops : 32

ByteDelay : 0

PollIndex : 3

PollValue : 0x53

Memory Detail :

Block Poll Page Polled

Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack


eeprom 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00

flash 65 10 256 0 yes 262144 256 1024 4500 4500 0x00 0x00

lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00

hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00

efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00

lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00

calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00

signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00

Programmer Type : Wiring

Description : Wiring

Programmer Model: AVRISP

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: stk500v2_getsync(): timeout communicating with programmer

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: stk500v2_getsync(): timeout communicating with programmer

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: stk500v2_ReceiveMessage(): timeout

avrdude: stk500v2_getsync(): timeout communicating with programmer

[/code]

NVfrog: Thanx for your response. OS = Win7 32. I have this driver installed: C:\Program Files\Arduino\drivers\arduino.inf and the IDE sees it on COM10. Still getting a comm. timeout error. Thought I had read everything on setup. Please direct me to the files you refer to.

The files referred to are on this Web Site in the introduction to Arduino. Step by step instructions are given on what to buy to start with (Starter pack recommended) Plus there are many tutorials available on YouTube and other sites -

One word of caution, there are "Arduino" boards and "arduino" boards. The market is being flooded with clones from China, many are do not have the "Official" logos and no names on the boards, they come "as is" with no information or documentation often having functions printed on the board in Chinese and posted in plain bubble wrap. (Caveat Emptor!)

OK they are cheap and if you are lucky they may work. "ADAFRUIT in the USA often sell boards half the price of the EBay ones, however if you live out of the USA then postage will be such that the prices may be a bit more than EBay freepost prices. But ADAFRUIT has a huge library of information for each board (ie The 16 port servo expansion board PDF runs to 55 pages of information diagrams and data)

Forums are useful if they impart solutions to problems, otherwise they are merely a platform of blind people try to lead sightless people. The internet has a massive ability to search information, enter the "Type designation" of the board followed by a space and the letters PDF If there is a document in PDF format it will find it.

Try this drivers

This works for my Arduino UNO and Nano, both Chinese generic

http://www.wch.cn/download/CH341SER_ZIP.html