arduino / arduino-create-agent

The Arduino Create Agent

Home Page:https://cloud.arduino.cc

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

exit status 74 - Portenta H7 detected, but loading sketch leads to serial disconnect

aliphys opened this issue · comments

Summary

Arduino IoT Cloud identifies the Portenta H7 and is able to trigger a soft reset via the Arduino Create Agent. However, upload loading the sketch if faces an exit status 74 error. I have tested this on two different Windows laptops, with two different USB-c cables and two different Portenta H7 boards.

I am able to upload sketches via the Arduino IDE with a much higher success rate.

Note: I am debugging the communication between the Nicla Sense ME connected via ESLOV to the Portenta H7 to the IoT Cloud. There are several communication issues. This is my attempt at breaking down the issue to make it repeatable.

Steps to replicate

  1. Install Arduino Create Agent
  2. Go to https://create.arduino.cc/iot/devices and click on Add
  3. Select Set up an Arduino device
  4. The Portenta H7 is automatically detected. Click on Configure and select Next to proceed with the default name
  5. With the WiFi connection selected, click on Next again
  6. The Make your device IoT-ready window appears.
  7. Alternatively, it is possible to double press the reset button to get the green LED to blink.

Expected Outcome

I can configure the device without issue.

Actual outcome


I have documented my previous experience with the unstable Serial port here:

@aliphys this is the wrong repo, the create-agent is hosted here -> https://github.com/arduino/arduino-create-agent

Can you migrate this issue to the Create Agent repo?