2025-09-23 11:17 PM - last edited on 2025-10-03 3:54 AM by mƎALLEm
Hii Everyone, I am trying to debug with SWO and SWV in STM32CubeIDE with NUCLEO-H753ZI. But, I am not getting any prints on SWV ITM Data console. As you can see all settings in the below attachments. My CPU system clock is running at 400Mhz. Anyone suggest me to get prints in SWV/ITM Data console.
2025-09-24 8:31 AM
Hello @SDTAN0907 and welcome to the community;
Are ou able to see the message in another terminal?
Which STM32CubeIDE version are you using?
Could you please share your project?
I recommend you to look at AN4948 precisely section "7.3 Printf via SWO/SWV" may help you.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-09-26 6:13 AM
hii @KDJEM.1 ,
Thank you for your response.
I have followed same procedure as mentioned in this document AN4948. But I didn't get any prints.
Yes, the message is showing up correctly in QCOM(UART Communication).
STM32CubeIDE version : 1.19.0.
I have attached project file in the attachment tool bar. Please give me solution to get prints in SWV ITM data console.
Thanks & Regards,
Divya.
2025-09-26 9:07 AM - edited 2025-09-26 9:10 AM
To start the ITM trace you need to wait until the debugger stops at the first breakpoint, usually at main.
Then click the icon on the ITM console toolbar, as shown: It should change color to RED. Then resume execution.
Also, try to limit the SWO clock: up to 4 or 8 MHz, not 12.
2025-09-26 10:58 AM
Hii @Pavel A.
Thank you your reply, I did same thing as you said. But I didn't get any prints.
2025-09-28 5:02 AM
The ITM trace is sometimes very hard to get working, of no clear reason. Try other software, for example, CubeProgrammer to view the prints.
2025-09-30 3:15 AM
I have done with CubeProgrammer. In that application also, I didn't get any prints
2025-09-30 6:34 PM - edited 2025-09-30 7:16 PM
Then I'm out of ideas. On my Nucleo-H753 it just worked.
See also this thread:
2025-10-03 3:48 AM
I did the same way as mentioned in the above thread. But I didn't get any prints.
2025-10-03 4:06 AM
Then, maybe, software regression? I don't use the latest cubeide yet. Try to view ITM in cube programmer.