IDE 2.0 not detecting board on port but old IDE and VS Code have no issues

Hi,

I'm experimenting with IDE 2.0 and I really like it so far because it brings the power of intellisense and other VSCode features into a UI that hides some of the extraneous aspects.

I'm currently using the Sparkfun Qwiic Micro SAMD21 board. I'm running just a basic program to turn on one pin.

The Arduino IDE 1.8 (the old one) and VSCode both are able to detect that the Qwiic Micro is on COM3 if it is running and COM4 if in bootloader state. I'm able to compile and upload without issues.

The Arduino IDE 2.0 is not able to detect any ports at all. How can I solve this?
I am able to compile in IDE 2.0 but I cannot upload.

I need to have this solved today or tomorrow because I'm going to be developing curriculum and training teachers and high schoolers next week.

Thanks!

Hello,

I have the same problem.
In the old arduino IDE, I have a due in port 8, and on the IDE 2.0 beta 4, I can find this port !!

Thanks

Same here. IDE v1.8 works great, but 2.0.0 beta4, the ports show but after selecting, it doesn't stick.

Win 10 x64 20H2

Hi @codlink. Please provide a detailed description of what you mean by "doesn't stick".

It will let me click a port, but when I open Tools>Port again, nothing is checked.

Thanks for the clarification. I understand now. Unfortunately, I don't know what would cause this symptom and I can't reproduce it myself.

I will recommend you to update to the 2.0.0-beta.5 version. I don't have any specific reason to think this will solve your problem, but there have been some very significant improvements since 2.0.0-beta.4, so it's worth a try. You can download it here:
https://www.arduino.cc/en/software#experimental-software

Using 2.0.0-beta.5 version, same issue, tried with multiple boards. No luck.

Arduino 2.0.0-beta.9 - same issue after fresh install

Similar issue reported here:

same issue here. Arduino Beta 2.0.0 beta 12
Visual Studio on same machine working fine.

Alessandro

Having the same issue, Arduino Beta 2.0.0 beta 12.

I can only do 1 upload to the board because once its resets the IDE cant see the port anymore. The v1.8.16 IDE detects it fine.

Hi. same problem enconted with v2.0 beta 12. Unable to connect (detect) an original uno with the standard ftdi interface. with V1.8, it works fine !!

Hope those problems would be solved soon.
regards

Same problem detected with an esp32-cam and the esp32-cam-mb (ch340 chip).
Works fine on the old Arduino (1.8.15 - COM4) but not in Version 2.0.0 beta12 (no ports found).

I'm having the same exact problem with the nightly build.

Can someone re-open the github issue, please? I have no access to github so I can't.

Please see the screenshot below.

The stable version of arduino IDE sees the board fine. I just wanted autocomplete so I downloaded the beta version of Arduino IDE 2.0, no joy. Then I found the github issue which mentions it is resolved in latest nightly build (15 days ago).

Unfortunately it isn't.

Well, that's silly. It seems the IDE requires Internet access to detect the boards (possibly only on first startup? I have no idea.). However, after I tried while connected to the internet it worked.

It is likely that this is not the same issue as the Github one as there is non intermittence to it. It either works or it doesn't.

So, to anyone that can't get this IDE to work I hope this post will provide helpful. Try enabling network traffic for the IDE's exe on the firewall if you are on a secure system.

Edit. Not so fast. Then after the board is selected it asks for permission to download and install "platform". Upon clicking yes it fails with:
Downloading packages
Failed to install platform: arduino:avr.
Error: 13 INTERNAL: Error downloading tool arduino:avr-gcc@7.3.0-atmel3.6.1-arduino7: Get "http://downloads.arduino.cc/tools/avr-gcc-7.3.0-atmel3.6.1-arduino7-i686-w64-mingw32.zip": dial tcp 104.18.29.45:80: connectex: An attempt was made to access a socket in a way forbidden by its access permissions.

The exe is allowed through the firewall so I'm not sure what access permissions is wants. Perhaps someone who has it running on windows 10 could let me know, please?

Hi @randomuser3. Unlike the classic Arduino IDE, Arduino IDE 2.x does not come with any bundled boards packages. On the first startup, it uses the standard Boards Manager infrastructure to install the components that are normally assumed to be present with an IDE installation:

  • "Arduino AVR Boards" platform (support for Uno, Leonardo, Mega, Nano, etc.)
  • Arduino's standard serial-discovery tool (for detecting serial ports)
  • Arduino's standard mdns-discovery tool (for detecting network ports)
  • fundamental libraries (e.g., Keyboard, Mouse, Ethernet)

So it is true that the IDE must have Internet access to get started.

The error you had was from an attempt to install the avr-gcc compiler for the Arduino AVR Boards platform.

I use Windows 10 as my primary OS for beta testing the IDE. I just tried a fresh install and it was able to install all the components without any problem, so it definitely isn't a global issue.

I use the standard "Windows Defender Firewall" permissions for the IDE. It will present two dialogs on startup and I just click the Allow access button each time.

If you are using a proxy, you can configure it by opening File > Preferences in the IDE and then clicking the "Network" tab.

I have been able to solve the problem and now my com port shows now . First install the drivers located in your old arduino ide in program files and restart the ide and connect it to internet

Hi @jet_force. Thanks for taking the time to share your solution.

The classic Arduino IDE came with a collection of Windows drivers for the original Arduino boards, Over time, more and more boards were added and so Arduino developed the Boards Manager system that allowed boards platforms and toolchains to be distributed as separate packages, installed and updated as needed by the user. That meant that it made more sense to distribute the drivers along with the boards platform and install those drivers with the platform.

Arduino IDE 2.x uses that new Boards Manager system exclusively. Since the drivers were always distributed with the IDE, the maintainers of the "Arduino AVR Boards" platform never added them there. Now that situation has changed and the drivers have been added to the "Arduino AVR Boards" platform:

However, that advancement has not yet been released, so for now the Arduino IDE 2.x does not automatically install drivers and your solution will be an effective workaround. It will no longer be necessary once the next release of the "Arduino AVR Boards" platform comes out.

Thank you

unable to detect the com port in IDE V1.8.19 and V2