Programming Arduino giga with STM32CubeIDE

Hi, I want to try using STM32CubeIDE to program and debug my Arduino Giga. I've been searching and I've seen something about using the ST-Link V2 and the JTAG pins.

Since I couldn't find a clear way of doing it, could you tell me if it's possible? And if it is, do I need any extra hardware (like the ST-Link)?

Regards,
Victor

You need an stlink and the right cable then it will all work.

Probably worth getting a V3 one.

The main challenge is the 10 wire cable with a connector of 10 pins for 0.05" distances. I did build my own adapter for the STLINK-V3 and printed an enclosure for them.

In STM32cubeIDE, I have a major problem in the power management. I can have a working power only when the clock speed is reduced from 480/240 to 200/100.

The major benefit in STM32cubeIDE is that it is much faster than Arduino and the quality of the libraries is professional.

What is the cable I should get with the stlink v3? Thanks!