Hi,
I need to configure the Logic Analyzer to debug a project using the STM32F769I-DISC1 and the ST-Link. I have been working with the ST-Link debugger until now and all seemed to work fine but yesterday I tried to configure the Logic Analyzer and I wasn't able to make it work. I have been googleing for info and tried some tips I found, but still doesn't work (checked the trace Clock to be the same as my CPU, enable the Debug (SYS) option in the STM32CubeMX).
Anyone can help me with this?
Thanks in advanced, Omar
I have tried to configure the Trace using this guide, but the Logic Analyzer still doesn't work. I wrote the .ini file with "_WDWORD(0xE0042004, 0x00000020);" and I can see this value in the KDBGMCU->CR register using the Watch window.
I then followed the steps in "Configure µVision to capture Serial Wire Trace data".
I am not sure what to do now...
I saw the Trace status bar just now and this is the error: "Trace: No Syncrhonization".
Anyway, is it necessary to enable the Debug (SYS) inside the STM32CubeMX ? Because this tutorial doesn't mention it.
Thanks, Omar
SWO pin connected?
The SWO pin is connected in the STM32F769I-DISC1 board. Making a review of the code generated by the STM32CubeMX I see that the SWDIO and SDCLK pins are not initialized in the main.c file (unlike all the other pins used in the board). But I am not sure how to initialize those pins to work with SWD functionality.