Skip to main content
mboua.1
Associate
July 20, 2022
Solved

SWV not working with nucleo-wl55jc1

  • July 20, 2022
  • 1 reply
  • 1236 views

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

This topic has been closed for replies.
Best answer by mboua.1

Solved:

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

1 reply

mboua.1
mboua.1AuthorBest answer
Associate
July 21, 2022

Solved:

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