cancel
Showing results for 
Search instead for 
Did you mean: 

debug SFRs

Saliwan128
Visitor

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

  

1 REPLY 1
Andrew Neil
Evangelist III

@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