cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a easy way to display the value of peripheral register dynamically

ASHEN.1
ST Employee

​SFRs windows can't display value dynamically. You should do "refresh Svd data" manually.

How to display peripheral register's value dynamically?

Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions
EJOHA
Senior

Hi ASHEN.1

Yes, it is correct that the SFRs view is only updated when debugger is stopped, after step or a break.

To display peripheral registers value while target is running you can add the register into the "Live expressions" view.

View solution in original post

3 REPLIES 3
EJOHA
Senior

Hi ASHEN.1

Yes, it is correct that the SFRs view is only updated when debugger is stopped, after step or a break.

To display peripheral registers value while target is running you can add the register into the "Live expressions" view.

Ozone
Lead

I would be very careful with that.

Reading out peripheral registers takes much more cycles than RAM cells.

The added value of a "dynamic value display" is very limited anyway.

ASHEN.1
ST Employee

​Thanks a lot, EjOHA and Ozone.