Target Registers
rrd
Read register for active target.
Syntax
rrd [options] [reg]
Read registers or register definitions. For a processor core target, processor core register can be read. For a target representing a group of processor cores, system registers or IOU registers can be read.
Options
| Option | Description |
|---|---|
-defs |
Read register definitions instead of values |
-no-bits |
Does not show bit fields along with register values. By default, bit fields are shown, when available |
Returns
Register names and values, or register definitions if successful. Error string, if the registers cannot be read or if an invalid register is specified.
Example(s)
rrd
Read top level registers or groups.
rrd r0
Read register r0.
rrd usr r8
Read register r8 in group usr.
rwr
Write to register
Syntax
rwr <reg> <value>
Write the <value> to active target register specified by <reg> For a processor core target, processor core register can be written to. For a target representing a group of processor cores, system registers or IOU registers can be written.
Returns
Nothing, if successful. Error string, if an invalid register is specified or the register cannot be written.
Example(s)
rwr r8 0x0
Write 0x0 to register r8.
rwr usr r8 0x0
Write 0x0 to register r8 in group usr.