SWV not working with nucleo-wl55jc1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-20 9: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:
- 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:
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.
- Labels:
-
DEBUG
-
STM32CubeMX
-
STM32WL series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-21 1:19 AM
Solved:
I have soldered the wrong bridge (SB6 instead of SB8) that means SWO not connected to STlink
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2022-07-21 1:19 AM
Solved:
I have soldered the wrong bridge (SB6 instead of SB8) that means SWO not connected to STlink
