1MSTMCRA(1) User Commands MSTMCRA(1)
2
3
4
6 mstmcra - Mellanox Configuration Registers Access tool
7
9 Mellanox Configuration Registers Access tool Usage: mstmcra [-s
10 <i2c-slave>] [-a <adb dump>] [-v] [-h] [-c] <device>
11
12 <addr[.<bit offset>:<bit size>]|[,<bytes number>]> [data] If
13 data is given, operation is write. Otherwise it is read. If a
14 bit range is given in the address (E.G.: 0xf0014.16:8):
15
16 For read
17 - Only the requested bits are printed.
18
19 For write - Read-Modify-Write. Only the requested bits are
20 changed.
21
22 If 'bytes number' is given in the address (E.G.: 0xf0014,16):
23
24 For read
25 - Will read a block (its size is the given bytes number).
26
27 For write - User need to give list of dwrods to write,
28
29 number of dwords should be (bytes number/4).
30
31 DESCRIPTION:
32
33 Reads/writes a single word from/to a device configuration regisā
34 ter space
35
36 -s <i2c-slave> : I2C slave address.
37
38 -a <dump file> : adb dump file, used for access by path.
39
40 -c : clear the device's PCI semaphore.
41
42 -h : Print this help message.
43
44 -v : Display version info
45
46 Environment Variables:
47 ADB_DUMP
48 : Holds the path to adb dump, used for access by path (can be
49 overridden by "-a").
50
52 mstflint(1)
53
54
55
56mstflint March 2020 MSTMCRA(1)