I am unable to use data breakpoints on GPIO registers (on the addresses of the GPIO set / reset registers) to find out if its value is changed or not.
The problem ist that the debugger doesn't stop when the data in that register changes.
Data registers on regular addresses of objects work fine, which means the debugger stops when the data change occurrs.
Background: I would like to find out which part of a codebase changes a GPIO bit to a specific value.
I tried to use the GPIO set /reset and GPIO output registers, too.
I set up the data breakpoint for the set/reset register without a value and for the whole address (mask) like this:
![](https://forum.segger.com/index.php/Attachment/5814-Screenshot-2023-11-22-113232-png/?thumbnail=1&s=fe1d257565be7b05678300ec7b8884288366f334)
The output data register is monitored like this
![](https://forum.segger.com/index.php/Attachment/5815-Screenshot-2023-11-22-113250-png/?thumbnail=1&s=fe1d257565be7b05678300ec7b8884288366f334)
Can this be done?
The problem ist that the debugger doesn't stop when the data in that register changes.
Data registers on regular addresses of objects work fine, which means the debugger stops when the data change occurrs.
Background: I would like to find out which part of a codebase changes a GPIO bit to a specific value.
I tried to use the GPIO set /reset and GPIO output registers, too.
I set up the data breakpoint for the set/reset register without a value and for the whole address (mask) like this:
Break.EnableOnData (0x42020018, 0x0, AT_WRITE_ONLY, AW_ANY, 0x0, 0xFFFFFFFFFFFFFFFF);
The output data register is monitored like this
Break.EnableOnData (0x42020014, 0x0, AT_WRITE_ONLY, AW_ANY, 0x0, 0xFFFFFFFFFFFFFFFF);
Can this be done?