cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to see Live Expressions variables refresh on a custom board

richi
Associate III

Hello,

 

recently I was able to flash a programm on the STM32G474CET3 but I am unable to track Live Variables.

I wrote a simple program that just increases a cnt variable each second.

richi_0-1766334519726.png

My .ioc configuration:

richi_1-1766334655093.png

 

Every help is appreciated.



 

1 ACCEPTED SOLUTION

Accepted Solutions
Aimen1
ST Employee

Hello richi,

What is the optimisation you are using in STM32CubeIDE?

Can you declare the variable "cnt" as "volatile" and try again please?

Regards.


In order 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.

View solution in original post

1 REPLY 1
Aimen1
ST Employee

Hello richi,

What is the optimisation you are using in STM32CubeIDE?

Can you declare the variable "cnt" as "volatile" and try again please?

Regards.


In order 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.