How to get SWO/SWV working? (stops after 30 lines) #1720
Unanswered
Microsparky
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
SWO works briefly when debugging is started but it only prints the first ~30 lines of output...
I have been working on getting SWO setup for an STM32H5 Nucleo board with STLINKV3, pyOCD, and Cortex Debug. After a bit of trial and error I get some SWO data to appear in a new terminal when debugging is started . But printing stops after the fthe first ~30 lines of output.
Checking the SWO line with an oscilloscope I can see the there is data being transmitted. So the STM32H5 is outputting data, the problem then is with either the STLINKV3 or pyOCD.
My swo config in launch.json is as follows:
I tried this same config with a JLlink and
"servertype": "jlink"
and the JLink works without issue. I dont really know how to dig into this any further, any help would be appreciated.Beta Was this translation helpful? Give feedback.
All reactions