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

[feature] Add support for Serial Wire Output (SWO) viewer (ITM instrumentation trace) #815

Closed
chopin1998 opened this issue Jul 2, 2019 · 3 comments · Fixed by #1072
Closed

Comments

@chopin1998
Copy link

No description provided.

@xor-gate
Copy link
Member

Currently the texane/stlink project doesn't support SWO. But it could be implemented of course.

@xor-gate
Copy link
Member

You could use OpenOCD for that with the following settings:

itm port 0 on
tpiu config internal <logfile> uart off <cpu_freq_herz>

For some other readers: https://mcuoneclipse.com/2016/10/17/tutorial-using-single-wire-output-swo-with-arm-cortex-m-and-eclipse/

@xor-gate xor-gate added this to the Unplanned (Contributions Welcome) milestone Jul 14, 2019
@xor-gate xor-gate changed the title can i use stlink as a swo viewer under linux? Add support for Serial Wire Output (SWO) viewer (ITM instrumentation trace) Jul 14, 2019
@chopin1998
Copy link
Author

You could use OpenOCD for that with the following settings:

itm port 0 on
tpiu config internal <logfile> uart off <cpu_freq_herz>

For some other readers: https://mcuoneclipse.com/2016/10/17/tutorial-using-single-wire-output-swo-with-arm-cortex-m-and-eclipse/

thank you very much!

@Nightwalker-87 Nightwalker-87 modified the milestones: Unplanned (Contributions Welcome), Next Feb 19, 2020
@Nightwalker-87 Nightwalker-87 modified the milestones: General, v1.7.0, Feedback required Mar 14, 2020
@Nightwalker-87 Nightwalker-87 changed the title Add support for Serial Wire Output (SWO) viewer (ITM instrumentation trace) [feature] Add support for Serial Wire Output (SWO) viewer (ITM instrumentation trace) Mar 28, 2020
@Nightwalker-87 Nightwalker-87 modified the milestones: Feedback required, v1.6.2 Mar 28, 2020
@stlink-org stlink-org locked as resolved and limited conversation to collaborators Mar 20, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants