Adding device from Arduino Cloud disconnects the USB connection (Ubuntu)

Hi there,
Just got my Arduino Nano 33 IOT and wanted to try the getting started. I followed all the steps but in the end it ends up with a compilation error saying that the thingProperties.h file or directory does not exist.

After closing the window it seems my device is not recognized any more.

Any advice?

First read the pinned post re 'How to get the best from the forum'

Sorry but I cannot make it more specific. What I described is what I did. From the Arduino Cloud page I clicked the Getting Started link. Clicked on Let's Make. My device was recognized. Compilation started. After that I got the exception complaining about thingProperties.h. Cannot copy the original error message because my Nano is not recognized anymore.

Thanks for the reply. Did some further analysis. Seems that somewhere down the line the connection with the Arduino is lost.

I did the following:

  • In a console I typed: sudo udevadm monitor
    This command monitors the usb connections.
  • Then I tried to create a device in Arduino cloud (with the cloud agent running) and the previous console shows me that the usb connection is removed/disconnecting but it is not re-connecting. Looks like after the sketch upload (not sure about this).

When the "sudo udevadm monitor"-console indicates that the usb connection is lost (unbind/remove) I reconnected the Arduino manually. Guess what? It works. Shouldn't work this way I guess :wink:
Looks like the manual workaround is only needed when creating a device. Uploading a sketch from a Thing seems to work without manual reconnect.

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