Still no device found on COM port after updating CLI to 0.33.1

I got the same old known error after trying to upload an example sketch to my UNO R4 Wifi.
I updated the CLI (freshly installed too) to version 0.33.1 but still no luck.

Can you see your device insert and remove? (I understand, you are using CLI, not a window). I work with a device that comes up "not found" in device manager every time I plug it in because the drivers do not auto-load in Win11 (and were written in Win7). I must open device manager >> find the "unknown device" >> right-click it >> update driver >> Win7 compatible tab >> select from my driver >> run as admin >> update... every time.

@dogware202

can you try issuing the following?
arduino-cli board list and paste the output?

would you mind also trying with IDE 2.1.1
The same exact CLI is bundled with it, your issue might indeed be driver related as @xfpd states.

Also @xfpd , your findings seem to be very interesting because most of us internally run Windows 10 or Windows 11 and I have yet to see this one.

Have you had admin issues running dpinst_amd64.exe at the end of the platform installation?

@dogware202 , maybe installing the core via arduino-cli is giving you some permission issues.

@pert , any advice in this specific case?

Although the procedure is a bother, this allows my device's compatibility of old hardware (and new) on current o.s. I mentioned it in case "old" and "new" are still being combined. I do not know low-level concerns of drivers, but I have seen o.s./hardware changes forget the other needed certain parameters.

1 Like

Hi @dogware202

I just gave "Visual Studio Code extension for Arduino" version 0.6.0 with the arduino.path setting pointing to my installation of Arduino CLI 0.33.1 and uploading to UNO R4 WiFi works fine for me.

I see the arduino-cli version command returned 0.33.1 version in your screenshot, but that is the version of one of the following:

  • The Arduino CLI installed at C:\Users\cseh_\arduino-cli.exe
  • The Arduino CLI from your system PATH

The Arduino CLI of interest is the one installed at the path set in your arduino.path VS Code setting:

C:\Users\cseh_\bin\arduino-cli.exe

Please run the following command from a Command Prompt terminal and then post the output in a reply here:

C:\Users\cseh_\bin\arduino-cli.exe version

I had the same problem. It wasn't until I did the following that it worked:

  1. configured VS Code to use the CLI
  2. Downloaded the latest version of the CLI from here: Installation - Arduino CLI
  3. Installed the CLI to C:\Users[username]\ArduinoCLI
  4. Added C:\Users[username]\ArduinoCLI to the PATH
  5. F1 and select Arduino: board manager to install the Arduino Uno R4 WiFi board
  6. F1 and select Arduino: Change Board Type to choose Arduino Uno R4 WiFi
  7. Choose the COM port of the attached arduino
  8. F1 and select Arduino: Select Sketch and choose the sketch you are working with
  9. hit the upload button and rejoice!

You may not need to do all of these things if they are done already (they only need to be done once), but this is what I had to do to get the sketches uploaded to the Uno.

Good luck!