Skip to main content
ASHEN.1
ST Employee
Solved

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

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

How to display peripheral register's value dynamically?

Thanks.

This topic has been closed for replies.
EJOHA
EJOHABest answer
Associate

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.

3 replies

EJOHA
EJOHABest answer
Associate

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
Principal

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
ASHEN.1Author
ST Employee

​Thanks a lot, EjOHA and Ozone.