Skip to main content
Associate III
June 1, 2024
Question

STM32F466VET7 Program and Debug

  • June 1, 2024
  • 2 replies
  • 1202 views

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

 

 

This topic has been closed for replies.

2 replies

Tesla DeLorean
Guru
June 1, 2024

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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
Pavel A.
June 1, 2024

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