Master Write-Read Command
更新时间: 2026/08/06
在Gitcode上查看源码

Master Write-Read Command

Change History

openUBMC VersionRevision DateDescription
25.062025/06/26Initial draft: add command details

Basic Information

Function Description

Bus read/write command

Privilege

BasicSetting

Command Information

Request Information

ByteData Field
NetFnApp 06h
CMD52h
1bus ID:
[7:4] channel number (ignored when bus type = 1b)
Bit[3:1]: bus ID (When the bus type is 0b, the bus ID is always 000b.)
[0] bus type:
0b = public (Select the target bus based on the channel ID.)
1b = private bus (The target bus is selected based on the bus ID.)
2Slave address for accessing the device
3Read count: number of bytes to be read, starting from 1. The value 0 indicates that no byte is read.
4:NData: data to be written

Response Information

ByteData Field
1Completion Code
2:NNumber of bytes read from a specified slave address. If the read count is 0, this field is empty.

Command Example

Bus read/write command

Request:

bash
ipmicmd -k "0f 00 06 52 0f ae 0a 00 05" smi 0

Response:

text
00 00 00 5a a5 5a a5 02 10 00

Back to Index