2023-06-28 08:17 AM
I followed this video to attempt printing or toggling pin 1, but it seems like my program is hanging. Also, configure trace button doesn't work and I can't to record the trace.
Here's the code and main func
https://github.com/tempdeltavalue/temp_stm32_l1/blob/main/Core/Src/main.c
here's the video
https://www.youtube.com/watch?v=sPzQ5CniWtw&t=335s
2023-07-03 12:22 AM
Hello @tempdeltavalue
You can refer to the application note AN4989 debug toolbox section 7.3 Printf via SWO/SWV. If still hanging, Check PeriphCommonClockConfig() to specify the fail.
Hope this helps!
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.