Skip to main content
LAhuja
Visitor II
Question

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

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

This topic has been closed for replies.

1 reply

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!