Runing Arduino into custom STM32H747XI pcb design?

Hello,

I’ve designed a complete new Portenta H7 board to meets my own specifications, I’ve the board validated with STCubeIDE (it can be programed, and peripherals work), but I want to use Arduino on it.

The problem is that after flashing the board with the Arduino nothing happens, the code does not run. I’m flashing the code using the “Sketch” --> “Upload Using Programmer” tool.

Maybe the code developed with the Arduino IDE needs to run in genuine Arduino boards and not custom?

Just to clarify: I’ve not designed a carrier/host board for the Portenta. I’ve completely designed a new board with the STM32H747XI microcontroller (which is the same as the Portenta H7).

Thanks for your feedback!

What programmer do you using for upload? How do you connect the Pc to programmer and programmer to the board?

PC--- (USB cable) ---> STLINK-V3MODS Programmer---(Tag-Connect cable)---> PCB

This programming setup described is functioning properly on the same board when using STMCubeIDE.

Thanks for the info.
Do you selected St-Link as programmer in Arduino IDE?

Hello,

Yes.

Could you show your code and IDE output during the upload process?