cortex-debug icon indicating copy to clipboard operation
cortex-debug copied to clipboard

STLink SWO support ?

Open linuxguy123 opened this issue 11 months ago • 0 comments

Are you aware that the STLink driver project (https://github.com/stlink-org/stlink) has a new driver called st-trace that allows SWO communication ?

st-trace --help
st-trace - usage:
  -h, --help            Print this help
  -V, --version         Print this version
  -vXX, --verbose=XX    Specify a specific verbosity level (0..99)
  -v, --verbose         Specify a generally verbose logging
  -cXX, --clock=XX      Specify the core frequency, optionally followed by
                        k=kHz, m=MHz, or g=GHz (eg. --clock=180m)
  -tXX, --trace=XX      Specify the trace frequency, optionally followed by
                        k=kHz, m=MHz, or g=GHz (eg. --trace=2m)
  -n, --no-reset        Do not reset board on connection
  -sXX, --serial=XX     Use a specific serial number
  -f, --force           Ignore most initialization errors

st-util still does not, as far as I can tell.

Is there a way to use st-trace to display SWO data in cortex-debug ?

Thanks

linuxguy123 avatar Mar 12 '24 16:03 linuxguy123