# Issue on setting up Arduino Portenta with Arduino PLC IDE

**URL:** <https://forum.arduino.cc/t/issue-on-setting-up-arduino-portenta-with-arduino-plc-ide/1276434>\
**Category:** Portenta Machine Control\
**Created:** [June 28, 2024, 5:01pm UTC](https://forum.arduino.cc/t/issue-on-setting-up-arduino-portenta-with-arduino-plc-ide/1276434 "2024-06-28T17:01:53Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![porthos\_7](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/porthos_7/32/985413_2.png) [@porthos\_7](https://forum.arduino.cc/u/porthos_7)\
**Post date:** [June 28, 2024, 5:01pm UTC](https://forum.arduino.cc/t/issue-on-setting-up-arduino-portenta-with-arduino-plc-ide/1276434/1 "2024-06-28T17:01:53Z")

</div>

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

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/2/d/d/2dd1714b8a09afae89034da3fc6e394b4167e59a.png)  
 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/4/6/4/464afe19a4b23e0f3c54ce198e360d383085fdd1.jpeg)  
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.

---

<div class="post-metadata">

**Author:** ![Hm\_pro](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/hm_pro/32/1099726_2.png) [@Hm\_pro](https://forum.arduino.cc/u/Hm_pro)\
**Post date:** [June 28, 2024, 9:26pm UTC](https://forum.arduino.cc/t/issue-on-setting-up-arduino-portenta-with-arduino-plc-ide/1276434/2 "2024-06-28T21:26:29Z")

</div>

Hi @porthos_7 🙂

Could you please perform the following steps:

1. Update the bootloader as shown in this article: [Update the bootloader on Portenta H7 boards](https://support.arduino.cc/hc/en-us/articles/4404067649554-Update-the-bootloader-on-Portenta-H7-boards).
2. Implement the Memory Partitioning tutorial: [https://docs.arduino.cc/tutorials/opta/memory-partitioning/](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/](https://docs.arduino.cc/tutorials/portenta-machine-control/plc-ide-setup-license/)

---

<div class="post-metadata">

**Author:** ![porthos\_7](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/porthos_7/32/985413_2.png) [@porthos\_7](https://forum.arduino.cc/u/porthos_7)\
**Post date:** [July 1, 2024, 6:21pm UTC](https://forum.arduino.cc/t/issue-on-setting-up-arduino-portenta-with-arduino-plc-ide/1276434/3 "2024-07-01T18:21:45Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![porthos\_7](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/porthos_7/32/985413_2.png) [@porthos\_7](https://forum.arduino.cc/u/porthos_7)\
**Post date:** [July 1, 2024, 6:33pm UTC](https://forum.arduino.cc/t/issue-on-setting-up-arduino-portenta-with-arduino-plc-ide/1276434/4 "2024-07-01T18:33:44Z")

</div>

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](https://support.arduino.cc/hc/en-us/articles/4412955149586-If-your-board-does-not-appear-on-a-port-in-Arduino-IDE)

---

<div class="post-metadata">

**Author:** ![porthos\_7](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/porthos_7/32/985413_2.png) [@porthos\_7](https://forum.arduino.cc/u/porthos_7)\
**Post date:** [July 1, 2024, 9:34pm UTC](https://forum.arduino.cc/t/issue-on-setting-up-arduino-portenta-with-arduino-plc-ide/1276434/5 "2024-07-01T21:34:45Z")

</div>

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.

 ![image](https://europe1.discourse-cdn.com/arduino/original/4X/5/0/4/50465ce58a04e1487a10836bfc726cbf5d87c090.jpeg)

---

<div class="post-metadata">

**Author:** ![Hm\_pro](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/hm_pro/32/1099726_2.png) [@Hm\_pro](https://forum.arduino.cc/u/Hm_pro)\
**Post date:** [July 2, 2024, 12:55am UTC](https://forum.arduino.cc/t/issue-on-setting-up-arduino-portenta-with-arduino-plc-ide/1276434/6 "2024-07-02T00:55:22Z")

</div>

@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](https://docs.arduino.cc/tutorials/opta/memory-partitioning/). 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](https://docs.arduino.cc/tutorials/opta/plc-ide-setup-license/#2-project-setup).

---

<div class="post-metadata">

**Author:** ![manny\_anf](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@manny\_anf](https://forum.arduino.cc/u/manny_anf)\
**Post date:** [July 10, 2024, 8:50pm UTC](https://forum.arduino.cc/t/issue-on-setting-up-arduino-portenta-with-arduino-plc-ide/1276434/7 "2024-07-10T20:50:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![manny\_anf](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@manny\_anf](https://forum.arduino.cc/u/manny_anf)\
**Post date:** [July 10, 2024, 9:35pm UTC](https://forum.arduino.cc/t/issue-on-setting-up-arduino-portenta-with-arduino-plc-ide/1276434/8 "2024-07-10T21:35:14Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![manny\_anf](https://avatars.discourse-cdn.com/v4/letter/m/ed8c4c/32.png) [@manny\_anf](https://forum.arduino.cc/u/manny_anf)\
**Post date:** [July 10, 2024, 9:37pm UTC](https://forum.arduino.cc/t/issue-on-setting-up-arduino-portenta-with-arduino-plc-ide/1276434/9 "2024-07-10T21:37:47Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![juha61](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@juha61](https://forum.arduino.cc/u/juha61)\
**Post date:** [July 11, 2024, 7:23pm UTC](https://forum.arduino.cc/t/issue-on-setting-up-arduino-portenta-with-arduino-plc-ide/1276434/10 "2024-07-11T19:23:12Z")

</div>

![image](https://europe1.discourse-cdn.com/arduino/original/4X/a/4/6/a468802f329cd1b8e13920b7936aa5fffa9158ab.png)  
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

---

<div class="post-metadata">

**Author:** ![juha61](https://avatars.discourse-cdn.com/v4/letter/j/4da419/32.png) [@juha61](https://forum.arduino.cc/u/juha61)\
**Post date:** [July 11, 2024, 7:46pm UTC](https://forum.arduino.cc/t/issue-on-setting-up-arduino-portenta-with-arduino-plc-ide/1276434/11 "2024-07-11T19:46:36Z")

</div>

![Screenshot 2024-07-11 222535](https://europe1.discourse-cdn.com/arduino/original/4X/c/1/2/c12bce36bf0eab58a308100457533ff14ac0c50c.png)  
 ![Screenshot 2024-07-11 223623](https://europe1.discourse-cdn.com/arduino/original/4X/9/4/4/9445c183457084e0134975fd654dc69787427e90.png)

---

<div class="post-metadata">

**Author:** ![Hm\_pro](https://dub1.discourse-cdn.com/arduino/user_avatar/forum.arduino.cc/hm_pro/32/1099726_2.png) [@Hm\_pro](https://forum.arduino.cc/u/Hm_pro)\
**Post date:** [July 12, 2024, 11:34am UTC](https://forum.arduino.cc/t/issue-on-setting-up-arduino-portenta-with-arduino-plc-ide/1276434/12 "2024-07-12T11:34:30Z")

</div>

Hi @manny_anf ,

The [tutorial](https://docs.arduino.cc/tutorials/opta/memory-partitioning) needs to be implemented using Arduino IDE.  
The complete sketch and the certificates file can be downloaded [here](https://docs.arduino.cc/4d9dde57e42d45d5ae7ee4689b3acbf0/opta_memory_partitioning.zip).  
The sketch is compatible with the Portenta Machine Control.
