2025-10-07 7:45 AM
Hi there,
Could anyone advise how to setup STM32CudeIDE to debug my custom board using ST Link V2 ?
2025-10-07 7:53 AM - edited 2025-10-07 7:57 AM
That's almost certainly going to be a fake ST-Link:
How to recognize a genuine ST-LINK/V2 versus a cloned one.
Do yourself a favour, and get a genuine ST-Link...
You can read how to set up an ST-Link in CubeIDE:
https://www.st.com/en/development-tools/stm32cubeide.html#documentation
https://wiki.st.com/stm32mcu/wiki/STM32CubeIDE:Introduction_to_STM32CubeIDE
And watch videos on ST's YouTube Channel:
https://www.youtube.com/channel/UCjnmZw3h4XnpK3e5D2jvIGA
2025-10-07 8:37 AM
Connect SWD pins to programmer.
Ensure board is powered.
Hit debug.
2025-10-07 9:38 AM
@TDK wrote:Connect SWD pins to programmer.
Not forgetting Vtarget and GND.
@HMSEdinburge Also connecting NRST is highly recommended.