SWD - Trace: No synchronization
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2017-03-30 12:17 AM
Hi,
I am trying to use the SWD to debug some code and use the Logic Analyzer.
The board I am using is the STM32F769I-DISC1 so the SWO is available for ST-Link.
I have configured the Debug (SYS) in the STM23CubeMX but after some tests the Logic Analyzer doesn't work. I followed this guide:
http://www.keil.com/support/man/docs/jlink/jLink_STM32F10xxx_SWT.htm
but the Logic Analyzer still doesn't work. I also checked the Clock Core but nothing happens.
In the Trace bar (Keil) the message is 'Trace: No synchonization'.
Making a review of the code generated by STM32CubeMX I can see that the pins SWDIO and SWCLK seem to be not initialized inside main.c file (unlike all the other pins used in this board) but they are defined in the main.h.
How can I initialize the functionality of SWD in those pins inside main.c file?
Thanks in advanced,
Omar
#trace #stm32f7 #keil #logic-analyzer- Labels:
-
Keil
-
STM32F7 Series
