Unable to upload any sketch Arduino UNO WiFi Rev2

It stopped working when I tried to use VS Code with this extension: Arduino - Visual Studio Marketplace, instead of the Arduino IDE. It worked when I just used the Arduino IDE (version 1.8.19 i believe).

I am getting this error (with verbose output on upload):

avrdude: Version 6.3-20190619
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2014 Joerg Wunsch

         System wide configuration file is "C:\Users\user\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"

         Using Port                    : usb
         Using Programmer              : xplainedmini_updi
         Overriding Baud Rate          : 115200
avrdude: usbhid_open(): No device found
avrdude: jtag3_open_common(): Did not find any device matching VID 0x03eb and PID list: 0x2145

avrdude done.  Thank you.

An error occurred while uploading the sketch

I have tried:

  • Reinstalling Arduino IDE
  • Installing Arduino IDE 2
  • Using the online IDE
  • Plugging all usb devices out and plugging the arduino in and out
  • Restarting the computer
  • Reinstalling the Arduino megaAVR boards manager

Update
The issue turned out to be an issue with a windows driver. I am not sure exactly what was wrong but after removing the Arduino from "Devices and printers" in windows and inplugging and plugging it in again, it uploaded with no problems.

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