mb_drwr - 2022.2 English

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

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

Write to MicroBlaze debug register.

Syntax

mb_drwr [options] <cmd> <data> <bitlen>

Write to the MicroBlaze debug register available on MDM. <cmd> is an 8-bit MDM command to access a debug register. <data> is the register value and <bitlen> is the register width.

Options

Option Description
-target-id <id> Specify a target id representing a 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.
-which <instance> Specify MicroBlaze instance number.

Returns

Nothing, if successful.

Examples

mb_drwr 1 0x282 10

Write to MB control register.