2024-10-07 07:07 AM
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.
Logging and analysing the signals I can see that SWDIO drops at about this time.
Any ideas?