cancel
Showing results for 
Search instead for 
Did you mean: 

SWV not working with nucleo-wl55jc1

mboua.1
Associate

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:

  • Create an empty STM32 project for the NUCLEO-WL55JC1
  • Initialize all peripherals with their default configuration: No
  • In CubeMX: Set Debug/Trace: JTAG and Trace: Trace asynchronous sw

CLK config:

0693W00000QLe4nQAD.pngdebug config:

0693W00000QLe6AQAT.pngSWV settings:

0693W00000QLe6jQAD.pngand i click on the red button after that

CODE:

override write function:

0693W00000QLe5MQAT.pngand then printf in main function

0693W00000QLe5qQAD.pngAnd 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

1 ACCEPTED SOLUTION

Accepted Solutions
mboua.1
Associate

Solved:

I have soldered the wrong bridge (SB6 instead of SB8) that means SWO not connected to STlink

View solution in original post

1 REPLY 1
mboua.1
Associate

Solved:

I have soldered the wrong bridge (SB6 instead of SB8) that means SWO not connected to STlink