Skip to main content
Associate II
June 28, 2023
Question

STM32F7508-DK printf and toggle pin doesn't work

  • June 28, 2023
  • 1 reply
  • 952 views

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

    This topic has been closed for replies.

    1 reply

    ST Technical Moderator
    July 3, 2023

    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 "Best answer" on the reply which solved your issue or answered your question.Best regards,FBL