Skip to main content
SPati.9
Associate
September 15, 2021
Solved

I'm using STM32F072B-DISCO board, wanted to see data on serial monitor but can't enable SWV in STMcubeIDE, any suggestions?

..

This topic has been closed for replies.
Markus GIRDLAND
Markus GIRDLANDBest answer
ST Employee
September 15, 2021

Hello there!

SWV tracing does not work with Cortex-M0, that is why the button to enable SWV is greyed out.

You could try to use Live Expressions if you want to check a specific variable for example. If you specifically need SWV then you would need to use another board.

2 replies

Markus GIRDLAND
Markus GIRDLANDBest answer
ST Employee
September 15, 2021

Hello there!

SWV tracing does not work with Cortex-M0, that is why the button to enable SWV is greyed out.

You could try to use Live Expressions if you want to check a specific variable for example. If you specifically need SWV then you would need to use another board.

SPati.9
SPati.9Author
Associate
September 17, 2021

Thanks Markus,

I've used the following tutorial on live expressions :

https://www.youtube.com/watch?v=Nyml66k_Ppk&ab_channel=RADAS

This works fine.