I am trying to connect a Portenta H7 Lite Connected to the Arduino IoT Cloud on my MacBook Pro (M2 Max) using the latest version of the ArduinoCloudAgent. The agent can detect my H7, but fails when trying to add a new Device. I searched the logs and found this error: [GIN-debug] [ERROR] listen tcp 127.0.0.1:8991: bind: address already in use
I have tried killing the process that is using port 8991, but that seems to only be the CloudAgent. I have restarted. I have tried different cables. No luck.
However, when I try to add the H7 Lite Connected (which it can detect just fine) I get stuck on step 1 which is when it tries to update the firmware. I have already updated to the latest firmware using the example sketch that the H7 comes with.
Is there a way to update or bypass the firmware update using the Command Line Interface that I also have access to?
I just tried the same procedure only I used a brand new Portenta H7 Lite Connected fresh out of the package. I placed it in DFU mode by double pressing the RST button. The Cloud app detected the H7, moved forward, asked me to name the device (this was great!), and asked me to determine a network connection mode. I selected WiFi because this is the ONLY means of connecting to the device which is NOT the USB-C cable. At that point, the Cloud app lost connectivity with the brand new H7 and I am now in the same death loop as with my other H7.
I have tried all combinations. I have a hub, I have a powered hub. I have all sorts of cables. I seem to have found that the only thing that works is to use Chrome, and my Apple C-A adapter connected to a GoPro A-C cable. This is not a real solution.
Can someone let me know if there are "specs" for what type of USB-C to USB-C cable is required? I assume something like a Thunderbolt 3.0 cable or something beyond a charge-only cable would stand a better chance of working.