Can't add RP2040 as Arduino Cloud device

Hello. I'm trying to add my Nano RP2040 as a device in the Arduino Cloud. This has failed for me in the same way on two different computers (Windows 10 and Windows 11).

The first time on both computers it finds the device. It allows me to name it, then tries to continue setup. After a few times it fails.

Any other time I try to add the device it says it could not find any Arduino device.

Every time I try to add, the Arduino agent pops up multiple dialogs saying "We are about to install some drviers needed to use Arudino...". After I click yes to continue, the agent debug console outputs the following:

{
  "DownloadStatus": "Pending",
  "Msg": "post_install.bat"
}

{
  "DownloadStatus": "Error",
  "Msg": "exec: \"post_install.bat\": cannot run executable found relative to current directory"
}

I've tried restarting and re-installing the Arduino agent multiple times but it's the same problem. Any ideas?

Thank you.

Hi @bizarrobull. Please try this troubleshooting procedure and then report your results in a reply on this forum thread:


:exclamation: This procedure is not intended to solve the problem. The purpose is to gather more information.


  1. Open the Windows Device Manager.
  2. Select View > Devices by type from the Device Manager menus.
  3. Open the "View" menu.
  4. If there is a to the left of the "Show hidden devices" menu item, click on "Show hidden devices" to disable it.
  5. Disconnect the USB cable of the Arduino board from your computer.
  6. Take note of the contents of the "Other devices" and "Ports (COM & LPT)" sections of the Device Manager tree.
  7. Connect the Arduino board to your computer with a USB cable.
  8. Select Action > Scan for hardware changes" from the Device Manager menus.

Did you see any new device appear in the Device Manager tree after doing this? If so, please tell us where it is located in the tree and what it is named.

You can repeat steps 5-8 multiple times if you are not sure.

This is a known bug:

The bug has already been fixed:

But the fix was made after the time of the latest release of Arduino Create Agent so this is why you still see those dialogs and the error message in the Debug Console.

But this bug is completely unrelated to the problem you are having with your Nano RP2040 Connect. The drivers Arduino Create Agent tried to install are for other Arduino boards and are irrelevant to the user of a Nano RP2040 Connect board so the functionality is just the same with or without the drivers installed. Please just ignore this message in the Debug Console and click the "Yes" button in the "Installing drivers" dialogs when they appear.

Thank you for the response.

With the board disconnected, device manager does not show any "Other devices" listed. The are no "Ports (COM & LPT)" listed either.

I connect the Arduino board and I now see "USB Serial Device (COM7)" listed under "Ports (COM & LPT)".

Action->Scan for hardware changes didn't add any new devices that I can see.

I tried to add the device again and it still failed (which we expected). But I notice in Device Manager, the port is gone but now there is "Other devices" showing "RP2 Boot". There is a yellow triangle with an exclamation mark over the device icon.

There is also a "Portable Devices" listing a "RPI-RP2".

When I disconnect the board again, both of those disappear.

I'm not sure if that is helpful.

I was able to get it working.

From the offline Arudino IDE I tried to connect to the board. It said:

Unknown FQBN: platform arduino:mbed_nano is not installed. Could not connect to COM7 serial port.

It then prompted me to install the Mbed OS core for Nano boards. I installed v4.1.1.

After that was installed I went back to add a device on the Arduino cloud. This time it was successful!

2 Likes

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