Arduino uno wifi rev2 can not upload any sketch

Hi guys.
My first problem with this brand new board:

avrdude: usbdev_open(): cannot open device: Permission denied
avrdude: jtag3_open_common(): Did not find any device matching VID 0x03eb and PID list: 0x2145
Errore durante il caricamento dello sketch.

Also this after several unuseful attempts:

avrdude: usbdev_open(): WARNING: failed to set configuration 1: Device or resource busy
avrdude: WARNING: invalid value for unused bits in fuse "fuse5", should be set to 1 according to datasheet
This behaviour is deprecated and will result in an error in future version
You probably want to use 0xcd instead of 0xc9 (double check with your datasheet first).

Finally, even in the presence of an error:
avrdude: usbdev_open(): WARNING: failed to set configuration 1: Device or resource busy,
in my case, it is possible that it will be able to load the sketch but without turning on any led on the board, except for the On of the power supply.
Same thing by pressing the reset button: no light flashes, neither Tx nor Rx.

Also I got sick of this, I sent my board back and the shop refunded me.
But if the reliability problems are solved, I'm sure to buy it again!

ivanmeneo:
My first problem with this brand new board:

Are you using Linux?

I think the solution to that problem is described farther up in this thread:

Did you try that?

Hello,
I have the same problem of ivanmeneo even if the error is slightly different: instead of "usbdev_open()" I have "usbhid_open()".

I use Arduino Uno Wifi rev2 with Arduino IDE 1.8.9.

I don't use Linux but iOS High Sierra 10.13.6.

What should I do in this case?

Thank you.

I have the same problem using the uno wifi rev2 with Windows 10 edu and arduino IDE 1.8.9(Windows Store 1.8.21.0)

I can upload sketches over usb and have SimpleWebServerWifi running. The problem is uploading sketches when the cable is disconnected.

There is a connection and I can ping (pathping from command prompt):

Tracing route to arduino-d148.home [192.168.1.186]
over a maximum of 30 hops:
0 Huginn-win.home [192.168.1.150]
1 arduino-d148.home [192.168.1.186]

Computing statistics for 25 seconds…
Source to Here This Node/Link
Hop RTT Lost/Sent = Pct Lost/Sent = Pct Address
0 Huginn-win.home [192.168.1.150]
1/ 100 = 1% |
1 144ms 1/ 100 = 1% 0/ 100 = 0% arduino-d148.home [192.168.1.186]

Trace complete.

But I cannot upload a sketch without the cable.

I see alot of people with more or less the same problem running different OSs.

please see file with console output:

If anyone has a solution, please help!

foolishmountainman UNO WiFi Rev2 sketch upload output.txt (8.13 KB)

foolishmountainman:
I have the same problem using the uno wifi rev2 with Windows 10 edu and arduino IDE 1.8.9(Windows Store 1.8.21.0)

I can upload sketches over usb and have SimpleWebServerWifi running. The problem is uploading sketches when the cable is disconnected.

There is a connection and I can ping (pathping from command prompt):

Tracing route to arduino-d148.home [192.168.1.186]
over a maximum of 30 hops:
0 Huginn-win.home [192.168.1.150]
1 arduino-d148.home [192.168.1.186]

Computing statistics for 25 seconds…
Source to Here This Node/Link
Hop RTT Lost/Sent = Pct Lost/Sent = Pct Address
0 Huginn-win.home [192.168.1.150]
1/ 100 = 1% |
1 144ms 1/ 100 = 1% 0/ 100 = 0% arduino-d148.home [192.168.1.186]

Trace complete.

But I cannot upload a sketch without the cable.

I see alot of people with more or less the same problem running different OSs.

please see file with console output:

If anyone has a solution, please help!

it is not supported

kenharpster:
I initially had this same problem when I installed Arduino IDE 1.8.8 in Linux and tried to connect to the Arduino Uno WiFi Rev 2.

I found this at (Arduino IDE Permision Denied For Upload, Ubuntu - Arduino Stack Exchange) which worked for me. I am using Linux Mint 19.1 (Ubuntu 18.04) and Arduino IDE 1.8.8 with no problems now.

Excerpt:

Arduino has added a script to the install to fix this problem. I found it after much annoyance trying to get it to work with all these suggestions.

In the arduino-1.8.8-linux64.tar.xz file that you download is a script called arduino-linux-setup.sh

run that from command line with your user name ./arduino-linux-setup.sh

It’ll ask for the root password, and then ask you to reboot. After that you won’t have any more port trouble.

Thank you, this answer was helpful to me. Also running arduino IDE as sudo and installing MegaAVR board when ran as sudo should help with this issue.