cancel
Showing results for 
Search instead for 
Did you mean: 

Can't find OpenOCD scripts - how to debug STM32C552 Project ?

XFeng
Associate

I want to debug my board on Vscode, But I cannot find openocd scripts now. Without openocd scripts, how can I debug my board?

2 REPLIES 2
Oussama_TROUDI
ST Employee

Hello @XFeng and welcome to ST Community. 

The STM32 VS Code extension doesn’t natively support OpenOCD, but with some simple configuration, you can integrate it into your debugging workflow.
This article How to configure STM32 VS Code extension to use Op... - STMicroelectronics Community covers how to set up OpenOCD (either Streamline or ST’s fork) with the extension by modifying the launch.json
 file.

Please let me know if it works.


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
vincent_grenet
ST Employee

@XFeng 
STM32CubeIDE Eclipse flavor is supporting OpenOCD. You get script out of it or just enjoy integration.

OpenOCD support within STM32CubeIDE VS Code flavor is part of our roadmap.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.