cancel
Showing results for 
Search instead for 
Did you mean: 

SWO output data to VScode console or other?

Ricko
Senior III

Hi,

I haven’t used SWO functionality before, but I now need it to stream real-time data.

I’m using VS Code with the STM32CubeIDE extension, but I haven’t found any options to configure and display real-time data (via SWO) in a VS Code window. How can this be done?

If this isn’t possible in VS Code, what alternatives would you recommend? Ideally, I’d like to output both text messages and real-time numeric data, with the data automatically plotted on a chart. What is the best way to achieve this?

Thank you

1 ACCEPTED SOLUTION
4 REPLIES 4

Thank you @Nawres GHARBI 

that is very useful for text. Are there workaround for the graph side of things? i.e. to stream data to some graphical window in VScode or some other external app so it plots those data points in real time?

Thank you

Nawres GHARBI
ST Employee

hi @Ricko yes that's in real time

Ricko
Senior III

thank you @Nawres GHARBI 

not sure if I am missing something but openOCD does not seem to be able to plot data onto a graph which what I was asking. How can I do that?

Many thanks