Portenta Machine Control Initial Connection Issue

Hey All,

I got the Opta and Portenta Machine Control for a project I'm working on. Thought it'd be a good combo for learning and implementing over Modbus.

I've connected the Opta completely fine, but the Portanta Machine Control (PMC) is definitely having trouble. I've followed the tutorials (for what there is) as much as I can, but I cannot connect this guy to PLC IDE...

I download the runtime just fine (no errors), but no matter what I do the blinking digital output pins will not go away. The runtime says "download successful" in the resource serial, but the blinking is still prevalent. I tried downloading again, double tap resetting, single tap resetting, but nothing. I am working on COM4, and have tried the secondary COM6, but no luck.

Curious if someone could help me out.

Not much help from me as I have the same issue and have gone through what seems like the same process

I am in touch with arduino support and have just commented to remind me to pass the answer on when I get a solution

1 Like

Also in touch with Customer Service. Will report any findings once solved.

Managed to get it working with the help of support by following this

We will start fresh with the device and try to set some features such as WiFi Firmware and QSPI flash memory format. This will be done through Arduino IDE.
Update your Portenta Machine Control following the steps in order:

  1. Download and install the latest version of Arduino IDE.
  2. Install/Update the latest version of Arduino Mbed OS Portenta Boards: In Arduino IDE go to Tools > Board > Boards Manager and search Portenta. Install/Update Arduino Mbed OS Portenta Boards. 4.1.3 is the current version.
  3. Plug your Portenta Machine Control into your PC and select the board (Arduino Portenta H7 M7 Core) in Arduino IDE.
  4. Go to File > Examples > Examples for Arduino Portenta H7 > STM32H747_System > WiFiFirmareUpdater. Open this sketch and upload it to the Portenta Machine Control. Then, open the Serial Monitor and follow the instructions to update the WiFi Firmware.
  5. Please, follow the instructions from this guide to execute a memory partition process. This guide works for both Opta and Portenta Machine Control.
  6. Set up the device again: Arduino PLC IDE Setup & Device License Activation.

That got me to the stage where the RS485TX/RX LEDs were on steady and the Digital Output LEDs were off

Had a couple of extra step to add with removal of PLC IDE and tools, reboot, reinstall, another reboot

After that I managed to connect to the second port and get to the point that I could get the licence

Dont think I have missed anything!

Good luck with it

2 Likes

Hay que hacer exactamente esto, lo único que cuando estÔs haciendo el memory partition se no reconoce la biblioteca "certificates.h" y eso es porque cuando ejecutas el .ino se crea una nueva carpeta y tienes que regresar y poner el .h en la misma carpeta. Luego hay que borrar el PLC idle y el arduino tools y ya ponemos hacer Arduino setup. Muchas GRACIAS :ok_hand:

This solved it for me as well, great job :slight_smile:
/ Einar :coffee: :sweden:

thanks a lot worked for me

Why don't they just tell you in the manual that you need to do the memory partition stuff first in the arduino IDE..... Thank you for posting. After having read through their documentation 3 x times. This was never mentioned......Thanks for posting this. Worked for me as well

We receive a lot of portenta devices and tried this solution with no luck. The final solution for us was Flashing the memory.

Para lectores en español: después de intentar el proceso descrito aquí sin solucionar el problema de conexión, logramos resolver el problema aplicando flash a la memoria.