cancel
Showing results for 
Search instead for 
Did you mean: 

How to read/change the SFR values while debugging in CubeIDE?

LAhuja
Associate

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

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?

I'm using STM32G474RE nucleo board.

Thanks

Lalit Ahuja

0693W00000NqiAGQAZ.png 

0693W00000Nqi9NQAR.png

1 REPLY 1
Markus GIRDLAND
ST Employee

Hello Lalit,

The SFR values are only updated once the debug session is stopped. You are correct that you might remember this was sort of a feature earlier.

I will link to a post where my colleague Mattias answers the details surrounding this here.

I would suggest that you read through it and if you have any further questions then please let me know!