mstmcra(1)

mstmcra1

Mellanox configuration registers access tool

Overview

Mellanox Configuration Registers Access tool Usage: mstmcra [-s <i2c-slave>] [-a <adb dump>] [-v] [-h] [-c] <device>

<addr[.<bit offset>:<bit size>]|[,<bytes number>]> [data] If data is given, operation is write. Otherwise it is read. If a bit range is given in the address (E.G.: 0xf0014.16:8):

For read

- Only the requested bits are printed.

For write - Read-Modify-Write. Only the requested bits are changed.

If 'bytes number' is given in the address (E.G.: 0xf0014,16):

For read

- Will read a block (its size is the given bytes number).

For write - User need to give list of dwrods to write,

number of dwords should be (bytes number/4).

DESCRIPTION:

Reads/writes a single word from/to a device configuration register space

-s <i2c-slave> : I2C slave address.

-a <dump file> : adb dump file, used for access by path.

-c

: clear the device's PCI semaphore.

-h

: Print this help message.

-v

: Display version info

Environment Variables:

ADB_DUMP

: Holds the path to adb dump, used for access by path (can be overridden by "-a").

Releases

7 releases since Debian 6.0 (Squeeze); the text changed 5 times.

  1. 6.0–7
  2. 9
  3. 10
  4. 11
  5. 12
  6. 13

-c since Debian 10 (Buster); -h since Debian 10 (Buster); -v since Debian 10 (Buster).

From mstflint 4.31.0+1-4 in Debian 13 (Trixie). Parsed by carta from the page's man source.