cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F7508-DK printf and toggle pin doesn't work

tempdeltavalue
Associate II

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

1 REPLY 1
FBL
ST Employee

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.