Skip to main content
JSmit.19
Associate II
Feb 2, 2021 9:46 PM UTC
Question

is it possible to watch the "write-only" bits in the debug mode?

I am using an STM32L4 MCU and IAR Embedded Workbench. I noted that when I start a debug session in the register window the "write-only" bits of a certain register are field with the letter "w" (for example in GPIOx_BSRR). I was wondering if this is the behavior just in the IAR debugger or it happens for other debuggers as well and is there a way to watch these bits in particular when they are written or not.

This topic has been closed for replies.

19 replies

waclawek.jan
Super User
Feb 4, 2021 12:41 PM UTC

There is no fixed terminology in the field.

> "Data Breakpoint"

It's probably a more often used name for this feature throughout various IDEs than "watchpoint".

It's genuinely hard to construct a tool of such scope as these IDEs have, while maintaining easy and simple access to all possible functions and even have all of them "intuitive".

JW