interface-contract.zh-CN.md 705 B

接口合同

BMC UART

  • 波特率:115200
  • 格式:8N1
  • 协议:loose text hex。
  • 温度:每 DIMM 两个 byte,整数摄氏 + 小数百分位。
  • 缺失:ff ff。
  • counterparty:pc_emulator 或 real_bmc。

物理 UART/RS232

RS232 只作为外部电平转换链路。FPGA IO 侧必须是 3.3V UART,通过 MAX3232 类转换板连接到 RJ45/RS232 线缆。

Debug Evidence

必须能进入 debug bundle:

  • debug UART event stream。
  • register dump。
  • parser status。
  • stale/missing/fault/config_seq。
  • PTC force_off 和 fan fallback 状态。

禁止

不恢复 rs232_temperature_inject 作为逻辑源。不通过 RS232 电平直接驱动 FPGA IO。