• Register
1 vote

Problem :

Currently I am using a Arduino API  with the Uno board and it was working fine until few days.
Recently I was working with the interrupt timers and somehow my board went into a mode where I am unable to upload the app.
I have the app which blinks the LED light.
I am trying to upload the very simple loop app but now I am facing below error:

“Avrdude: ser_open(): can't open device "\\.\COM3": Access is denied.”

I have also tried to reboot my PC but still it is not working for me. How to fix above error?

8 5 2
3,230 points

Please log in or register to answer this question.

3 Answers

1 vote

Solution :

I can help you in fixing your error. Just follow below procedure.

First you must go to your device manager. Now you should select the required ports.
Please select the port of the Arduino board for example : com1 , com2 , com3 according to the need
Now you should right click on your com port and then you need to select the properties.
kindly press tab port settings and then click on advanced option.
After that on the com port number you must select the new port number which is currently not in use
Now you need to just confirm your selection and then click on save it. Finally you should click on continue and your problem will be resolved.

8 4
5,680 points
0 votes


Follw these steps:

1 - Unplug the Arduino

2 - Upload code with no Arduino connected to PC

3 - Reconnect Arduino

4 - Upload code to the Arduino

You should do a few checks in order to jump to a conclusion, your Arduino may be just fine. As far as I know, Code cannot destroy a controller.

  1. Check if any other software is using the same serial port. Two softwares cannot use the same serial port at the same time

  2. Reset your PC and then try again

  3. Remove the Microcontroller form the board, connect it to the PC and try to open the com port. If it opens then connect your Tx pin with the Rx pin, send some data and check if you are getting the data back. This way you will enusre your USB-TTL converter is fine

  4. If this goes successful, then insert your microcontroller in some other board and check if it is getting programmed

I am sure after these checks you will find out the reason of failure of your board/microcontroller..

If it is not solved yet try this way

Open Arduino application > Tools > Port > Change to the target Port
If you are unsure which port to choose from: (on Windows) Open Device Manager > Connections (COM & LPT) > Usb Serial Port (COM[x]) where "[x]" is the index you are looking for.
10 6 4
31,120 points
0 votes
USB may need CH340 driver.
Some Arduinos use the CH340 controller
Find and install the CH34X_Driver_V3.4_Windows.zip
0 points

Related questions

0 votes
1 answer 417 views
Problem : I am currently working with arduino nano and facing following error avrdude: ser_open(): can't open device "\\.\com1": the system cannot find the file specified.
asked Nov 14, 2019 peterlaw 6.9k points
1 vote
1 answer 159 views
Problem : I am beginner to Arduino Uno. I have very recently installed the new IDE on my Laptop and suddenly I started facing below error if I tried to compile the program. I am using the Arduino Uno for the very first time. “Avrdude: ser_open(): can't open ... am trying very hard to fix above error from past couple of days but still unable to fix it. Please help me in fixing above error.
asked Mar 27, 2020 morrisBson 3.2k points
0 votes
1 answer 99 views
Problem: Currently I have the Arduino Duemilanove with the ATmega328. Also I am working on Ubuntu 12.04 (to be Precise Pangolin) and my current Arduino IDE's version is 1.0. Recently I have tried to upload some of my sample sketches onto it just like the ... it in my other direction. Now I not facing any problems uploading but still nothing happens afterwards. My onboard LED also is not blinking.
asked Aug 3, 2020 Raphael Pacheco 4.9k points
1 vote
1 answer 405 views
Problem : I am very new to ARDUINO. I have already tried to update my drivers and now they are fully updated and also downloaded some of the required programs. Currently I have the Windows 7 and also I have my ARDUINO which is a MEGA 2560. It is also showing ... (): timeout communicating with programmer   I am looking for the expert in ARDUINO to suggest me the quick fix for my above error.
asked Apr 29, 2020 stewart 4k points
0 votes
1 answer 180 views
0 votes
2 answers 438 views
Problem : I want to make the wifi webserver with the ESP8266 using Arduino. I have already connected my yp-01 the USB to serial with my ESP8266. As given below: · USB --> ESP · TX --> RX · RX --> TX I am trying to ... the following error: warning: espcomm_sync failed error: espcomm_open failed error: espcomm_upload_mem failed Is there anybody who had the same problem and knows the solution?
asked Dec 2, 2019 alecxe 7.5k points
0 votes
1 answer 3 views
Problem: My access to the path is denied windows 10. How can I access it?
asked 1 day ago jyoti goyal 2.1k points
1 vote
1 answer 4 views
Problem: keytool error: java.io.filenotfoundexception: my-release-key.keystore (access is denied)
asked 2 days ago Sofia Castro 2.4k points