mdm_drrd - 2022.2 English

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
Release Date
2023-01-02
Version
2022.2 English

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.