Skip to main content
Associate II
Nov 9, 2026 2:41 AM UTC
Question

STM32CubeProgrammer using the Serial Wire Viewer with ST-LINK/V2 debugger/programmer

I have been using the STM32Cube IDE (V1.16.0) for programing and debugger with the external ST-Link/V2 debugger connected to the STEVAL-IKR002Vx board.  I use the SWV ITM Data Console in the IDE with no issues that is it will show me my printf output in the console. The problem is when I switch over and use the STM32Cube Programmer by downloading my x.elf file. Setting the SWV up the same way as in the IDE, the STM32Cubeprogrammer  only outputs the first letter in my printf statement when I start the SWV. I cannot seem to get the SWV to output my entire printf statement. The clock and port settings are the same as in the IDE. What am I missing??  Thanks!

2 replies

Pavel A.
Nov 13, 2026 4:07 AM UTC

Which version of CubeProgrammer do you have?  Try the latest (several versions can be installed side by side).

 

KB1DCAuthor
Associate II
Nov 13, 2026 12:46 PM UTC

Its v2.23.0. Thanks