2022-07-20 09:10 AM
I'm trying to use printf with SWV.
I'm using a nucleo-wl55jc1 board (stm32wl55). I have soldered SB8 to connect SWO to stlink.
I have made all the config but the it doesn't show any trace.
this is my setup:
CLK config:
debug config:
SWV settings:
and i click on the red button after that
CODE:
override write function:
and then printf in main function
And ITM_sendchar(*ptr) is being executed, but no printf ouput in console.
also i checked with the oscilloscope the signals while debugging : I can see that SWDIO and SWCLK toggle and SWO is at 3.3V
Solved! Go to Solution.
2022-07-21 01:19 AM
Solved:
I have soldered the wrong bridge (SB6 instead of SB8) that means SWO not connected to STlink
2022-07-21 01:19 AM
Solved:
I have soldered the wrong bridge (SB6 instead of SB8) that means SWO not connected to STlink