cancel
Showing results for 
Search instead for 
Did you mean: 

debug SFRs

Saliwan128
Associate II

I can't read/change the SFR values while debugging in CubeIDE .

value of all Registers is "error reading value"

If I try to do that IDE throughs and error.

The only way to read/change values is by suspending the debugging session.

I remember this feature was there in CubeIDE or am I missing something?

my stmide version is  1.16.1

Screenshot 2024-11-14 133954.png

0693W00000NqiAGQAZ.png

  

2 REPLIES 2

@Saliwan128 wrote:

The only way to read/change values is by suspending the debugging session.  


Indeed.

As the message says, you can't do that while the target is running - you have to  Halt:

AndrewNeil_0-1731583798759.png

 

A complex system that works is invariably found to have evolved from a simple system that worked.
A complex system designed from scratch never works and cannot be patched up to make it work.

In fact, there is no way for me to see the registers live and without interruption during execution??

Do you have solution for this problem?