ARDUINO R3 works with version 2.0.3, but not with 2.0.4

Hello,
For ARDUINO R3 in version 2.0.3 I get this error:

avrdude: ser_open(): can't open device "\.\COM7": Access is denied.
Failed uploading: uploading error: exit status 1

However, it works in version 2.0.3, is this a know bug, can I go back to version 2.0.3?

You can go back; what kind of installation did you do (MSI, ZIP, installer)? You will also have to delete C:\Users\yourUsername\AppData\Local\Arduino15.

I don't think that the change from 2.0.3 to 2.0.4 is the root cause of the problem.

Before doing so, you might want to check e.g. your antivirus; it might block access to the ports by the tools used for the upload; you can configure it to exclude the above directory and see if it helps.

If you use a terminal program (e.g. realterm, putty), can you access the port?

Your topic has been moved to the dedicated IDE 2.0 section of the forum.

I am trying to use an arduino R3 board, but get the following message:

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

Failed uploading: uploading error: exit status 1

I tried the Aurduino R3, UNO R3, and Elegoo UNO R3, all give the same error.

Regular arduino UNO works just fine, how do I fix this?

Use the Windows Device Manager to determine which COM port appears when you plug the Arduino Uno R3 into the USB port, and select that COM port in the Arduino IDE for uploading.

@emphyx, do not cross-post. Threads merged.

Hi @emphyx. I'm sorry you had trouble uploading with Arduino IDE 2.0.4.

Please tell us which USB to serial adapter chip your Arduino board has. This is a black chip near the USB socket.

The chip will usually be identified by writing on the top. This might say something like "Atmel MEGA16U2" or "WCH CH340G" or "SILABS CP2102" or "FTDI FT232RL".

Examples:

Microchip ATmega16U2

atmega16u2

WCH CH340

FTDI FT232R


If it isn't clear, alternatively you can provide the link to where you bought the board from and we'll see if we can determine the chip from the product listing.

FWIW - he mentioned one of these boards:
ELEGOO UNO R3 Board with USB Cable Compatible with Arduino IDE – ELEGOO Official
Which mentions and shows the ATMEGA16U2 chip,
Which I believe matches what the Arduino documentation mentions for UNO R3

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.