2025-06-17 3:58 AM
I would like to use SWV for debugging on the Nucleo-N657X0-Q board.
I first enabled SWV debugging and also change the CPU clock to 400 MHz.
Then, I added some code to main.c (as reference here ).
At the same time, I also set the core clock to 50 MHz in the TRACE configuration of Keil.
But i can't see any string in Debug Viewer.
Does anyone know what else I should check?
Thank's
Solved! Go to Solution.
2025-06-20 7:00 AM - edited 2025-06-23 12:28 AM
Hello @bioak and welcome to the community;
Have you encountered the same issue while using the STM32CubeIDE toolchain?
I recommend you to look at this post and get inspired to check the settings:
I hope this 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-06-20 7:00 AM - edited 2025-06-23 12:28 AM
Hello @bioak and welcome to the community;
Have you encountered the same issue while using the STM32CubeIDE toolchain?
I recommend you to look at this post and get inspired to check the settings:
I hope this 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-06-22 11:03 PM - edited 2025-06-22 11:04 PM
Hi KDJEM,
I made a silly mistake.
At first, I used CubeIDE, but I couldn’t see any messages in the Trace View window.
So I switched to Keil MDK to verify the output.
Now I can see the messages.
The reason I couldn’t see the printf messages in CubeIDE was that I hadn’t enabled Start Trace.
Thank you for your reply. I really appreciate it.