Issue on setting up Arduino Portenta with Arduino PLC IDE

Hi, I've just received my new Portenta Arduino and I've tried to follow the steps of the tutorial to set it up and activate my license. I've plugged the Portenta to my PC with a micro-USB cable. I'm stuck at Step 3. My PC isn't able to detect the Portenta, I can't select the Port COM before clicking on the Download button and so when I try I get the error 74



I've tried every fix availble on this forum nothing worked. Removed and reinstalled every USB driver possible hasn't changed anything. Strangely after rebooting my PC for n-th time it was able to properly detect it but I still got the same error when trying to download. I tried to switch cables and switch Portenta board because I have three of them didn't change a thing. If someone could help me you would have my ever lasting gratitude.

Hi @porthos_7 :slight_smile:

Could you please perform the following steps:

  1. Update the bootloader as shown in this article: Update the bootloader on Portenta H7 boards.
  2. Implement the Memory Partitioning tutorial: https://docs.arduino.cc/tutorials/opta/memory-partitioning/
  3. Set up the board in the PLC IDE as indicated in this tutorial https://docs.arduino.cc/tutorials/portenta-machine-control/plc-ide-setup-license/

Thanks for your response. On the Arduino IDE I can't select any port so I can't communicate withe Arduino Portenta

I've tried these fixes to detect the board but it failed https://support.arduino.cc/hc/en-us/articles/4412955149586-If-your-board-does-not-appear-on-a-port-in-Arduino-IDE

I've managed to see my Portenta board and download the code to it. All the digital outputs pin are blinking red as they should. I've then set up the communication but when I try to connect I get an error message in the right corner.

1 Like

@porthos_7 Thank you for your reply.

This behavior may be encountered when configuring the Portenta Machine Control for the first time in the PLC IDE.
It is recommended to:

  • Upload the QSPIFormat sketch available in Arduino IDE > File > Examples > STM32H747_System > QSPIFormat. Then, check the output of the serial monitor.
  • Implement the Memory Partitioning tutorial. Make sure the code execution is completed successfully by following the output of the serial monitor.

If these steps are completed successfully, you can close Arduino IDE, go to the PLC IDE and create a new project. Then follow the steps indicated here https://docs.arduino.cc/tutorials/opta/plc-ide-setup-license/#2-project-setup.

I have this same problem. Please let me know if you find a solution.

After installing STM32H474_System am I suppose to indicate "Y" for "Partition scheme 1" then copy and paste the Memory Partitioning Tutorial Sketch in place of the last sketch and upload that one?

When I tried to upload the second sketch it said "certificates.h" library was unable to be found. does it matter that I'm on a Portenta Machine Controller


I also have the same issue. Every time I try to connect my machine after downloading, the PLC IDE crashes and won't do anything until I force the com server to close. Only after this does the error appear in the lower right corner


Hi @manny_anf ,

The tutorial needs to be implemented using Arduino IDE.
The complete sketch and the certificates file can be downloaded here.
The sketch is compatible with the Portenta Machine Control.