Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

STLink SWO support ? #994

Open
linuxguy123 opened this issue Mar 12, 2024 · 0 comments
Open

STLink SWO support ? #994

linuxguy123 opened this issue Mar 12, 2024 · 0 comments

Comments

@linuxguy123
Copy link

linuxguy123 commented Mar 12, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant