cancel
Showing results for 
Search instead for 
Did you mean: 

ITM Debug with SWV H755

tstokes
Associate II

I am unable to get ITM debug working via either CubeIDE or Cube programmer. 

 

I have checked the sysclock matches the sysclock configured for the system.

I have tried various limits and auto for the SWV clock.

I have enabled SWV in the debugger config.

In cubeIDE I see no data (port 0 is enabled on the ITM Data Console).

Looking at the log in cubeprogrammer I can see that SWV connects and then disconnects instantly when I click Start on the SWV tab.

tstokes_0-1728309818225.png

Logging and analysing the signals I can see that SWDIO drops at about this time.

 

tstokes_1-1728309947212.png

 

Any ideas?

2 REPLIES 2
Ghofrane GSOURI
ST Employee

Hello @tstokes 

First let me thank you for posting.

Here are a few steps you can take to troubleshoot and resolve this problem:

1- Update Software and Firmware:
Ensure that you are using the latest version of CubeIDE 1.16.1 and Cube Programmer. Updates often include bug fixes and improvements that could address your issue.

2- Reset and Restart:
Try resetting your development board, debugger, and computer. Sometimes a simple restart can resolve communication issues.

3- Take a look at those posts, it could aid you in resolving the problem

 Solved: Debugging with ITM not working with SWV in STM32Cu... - STMicroelectronics Community

SWV ITM Data Console is empty - STMicroelectronics Community

 

THX

Ghofrane

Rob.Riggs
Senior III

What hardware are you using? Is this a dev board? If so, which one?

What ST/Link debugger/programmer are you using?