Read from MDM debug register.
Syntax
mdm_drrd [options] <cmd> <bitlen>
Read an MDM debug register. <cmd>
is an 8-bit MDM command to access a debug register and <bitlen>
is the register width. Returns hex register value.
Options
Option | Description |
---|---|
-target-id <id>
|
Specify a target id representing the MicroBlaze debug module or MicroBlaze instance to access. If this option is not used and |
-user is not specified, the current target is used.
|
|
-user <bscan number>
|
Specify user bscan port number. |
Returns
Register value, if successful.
Examples
mdm_drrd 0 32
Read XMDC ID register.