Skip to main content
Associate II
October 1, 2026
Question

SWO support for STM32C5

Hello,
Greetings for the day.

As the ST community is already aware based on my previous questions, I have started using the latest ST MCU STM32C5 series and I have configured my launch.json to have SWO support for the MCU (hoping that this works as the application was previously running on L4).

 

 

This is the snapshot of how my launch.json looks like, I had to comment out the SWO feature if I have to set up the MCU in debug mode and work. If I place the configuration back, the MCU goes into a hard trap and the only way to get it running is to do a power cycle.

Does anyone have a workaround for this for the STM32C5 MCU?

Regards,