Master Write-Read Command
更新时间: 2026/08/06
在Gitcode上查看源码Master Write-Read Command
Change History
| openUBMC Version | Revision Date | Description |
|---|---|---|
| 25.06 | 2025/06/26 | Initial draft: add command details |
Basic Information
Function Description
Bus read/write command
Privilege
BasicSetting
Command Information
Request Information
| Byte | Data Field |
|---|---|
| NetFn | App 06h |
| CMD | 52h |
| 1 | bus 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.) |
| 2 | Slave address for accessing the device |
| 3 | Read count: number of bytes to be read, starting from 1. The value 0 indicates that no byte is read. |
| 4:N | Data: data to be written |
Response Information
| Byte | Data Field |
|---|---|
| 1 | Completion Code |
| 2:N | Number 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 0Response:
text
00 00 00 5a a5 5a a5 02 10 00