To enable reading of registers when in a debug session use one of the options:
- Import a saved set of registers. For detailed information on
exporting and importing registers refer to Exporting register values and
Importing register values
topics.
- Manually crate a set of registers to interact with:
- Open the Peripheral Registers view or the Arm
System Registers view.
- Select registers to be watched. A category, a group of registers, a peripheral, a
cluster (if set), a register, a field (sequential bits within a register) can be
selected. A minimal unit to be watched is a register - if you select a field the whole
register will be added.
- Press Enter or right-click the selection and click
Watch Register(s) on the context menu or double-click the
item.
- The registers selected for reading appear in the Watch
registers view.
The data are read from the registers of the RO (read-only) and RW (read-write) types at each
debug action like a step, a resume, a stop, or a breakpoint. When the
Hex and
Binary cells are updated with the
actual values of the registers, these values are displayed in yellow background.
Note: The
Read on demand registers provide no values by default and display
the “?” character on the initial appearance. To read a Read on demand
register, select a register(s), right-click and select Read on the
context menu.
To remove selected registers from the Watch registers view press
Delete or right-click the selection and click Remove
Register(s) on the context menu.