Author Topic: STM32Cube32 SWV Data/Time Line Trace Not Working  (Read 1446 times)

0 Members and 1 Guest are viewing this topic.

Offline imkTopic starter

  • Regular Contributor
  • *
  • Posts: 183
  • Country: gb
STM32Cube32 SWV Data/Time Line Trace Not Working
« on: March 12, 2021, 07:13:33 pm »
Hello,
I am trying to get the SWV Data and Time Line trace working during and debug session and it just wont show the variable name or value, any idea please.
The program is a simply blinking LED where i read a port value LEDPinState = HAL_GPIO_ReadPin( GPIOC , GPIO_PIN_13 );
Test the state of LEDPinState  and set the opposite state, followed by a delay(100).
The program runs fine in the micro and during debug the value of  LEDPinState  can be seen toggling in Line Expressions View.
But no way can i seem to configure the system to display LEDPinState  in SWV Data and Time Line trace's.
I must have watched half a dozen how to videos and tried just about chk box, variable, clk speed etc , but ZERO results.
I am using a STLINKV3 in GDB server mode, SWD interface
Many thanks in advance imk
1201 Alarm
 

Online DavidAlfa

  • Super Contributor
  • ***
  • Posts: 5914
  • Country: es
Hantek DSO2x1x            Drive        FAQ          DON'T BUY HANTEK! (Aka HALF-MADE)
Stm32 Soldering FW      Forum      Github      Donate
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf