cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F466VET7 Program and Debug

testbenchmark
Associate II

Hello everyone, 

 

I am designing a PCB and I need a ST-Link connection for debug and programming. This is my first time in this kinda stuff so I need some help.

testbenchmark_0-1717243575981.png

Which one should I have to use for debug and programming?

As I understand Serial Wire is for debug.

1) What is Trace Asynchronous Sw? Can I also program with this ? 

testbenchmark_1-1717243812828.png

 

 

2 REPLIES 2

Use Serial Wire

PB3 = SWO provides for a debug communication channel, basically a serial output.

The Trace requires a more advanced debug/trace pod, connectors frequently found on the EVAL series boards.

https://www.segger.com/products/debug-probes/j-trace/models/j-trace/

https://www.pdqlogic.com/

https://www.pdqlogic.com/what-is-trace/

 

 

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Pavel A.
Evangelist III

If you want to use SWD with SWO, "Trace asynchronous sw" is the option that you want.  Else, select "Serial Wire". This is for SWD without SWO.

Yet another example of clever, intuitive naming in the Cube GUI.

In both cases you can add optional pin DEBUG_TRGIO (I've never used it).