cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMX2, allow to use SWD without SWO

av500
Associate II

when you enable SWD in CubeMX2 it automatically blocks the SWO pin as well (tested using C531FBP6), but I only need SWCLK / SWDIO to debug. please add a way to disable the use of SWO.

13 REPLIES 13

@Karl Yamashita 

but here with attached screenshots you are resetting a reserved pin, not a fully configured one.
You can clearly see the difference i
n the Pinout legend:

  • Light‑green circle = Reserved pin
  • Dark‑green circle with check mark = Configured pin

and on your screenshot, PB3 (JTDO/TRACESWO) is shown with the “Reserved pin” color, meaning it’s only reserved for DEBUG_TRACESWO by the debug configuration.
When you click “Configure DEBUG”, you will see that SWD is not fully activated as a normal configured pin; it’s just reserved by the debug settings, and you can still reset it.

Screenshot.png

 


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.

yes, when you open the C652 NUCLEO board, the 3 SWD pins are reserved and can be reset, but once debug is configured, you cannot reset any of them...

@av500 @Oussama_TROUDI 

I see now, I didn't Activate the SWD. Because it was highlighted and labeled when the project was opened, I assumed it was enabled. I didn't look at the legend.

 

 

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.
CAN Jammer an open source CAN bus hacking tool
CANableV3 Open Source

Saket_Om
ST Employee

Hello @av500 

Thank you for bringing this issue to our attention.

I reported this internally.

Internal ticket number: CDM0061153

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.
Saket_Om