uart-rs232-validation-strategy.zh-CN.md 1.4 KB

UART/RS232 非 ChipWatcher 验证策略

目标

验证重点从外部逻辑分析 GUI 迁移到 software evidence、UART transcript、debug UART、register dump 和直接实机 SRAM 验证。机器 gate 只声明 software safety 与通信链路通过,不声明 thermal performance。

层级

  • L0 static:源码边界、schema、pin inventory、禁止旧 gate、禁止 generated artifacts。
  • L1 protocol offline:BMC loose text hex parser 覆盖 echo/no-echo、裸 hex、0xNN、乱码、短帧、长帧、missing。
  • L2 bit-level RTL:UART RX/TX、framing error、break、overflow、TX backpressure。
  • L3 software safety:stale 10s、90C overtemp、host disable、interlock、missing DIMM、fan fallback。
  • L4 loopback/emulator:PC emulator 与同一 BMC 协议交互。
  • L5 board SRAM:只允许 SRAM bit,采集 transcript、debug UART、register dump。
  • L6 staged thermal:25% duty 短时、逐级放开、完整 soak,必须由人工/仪器 runbook 记录 thermal performance。

证据

  • serial transcript hash。
  • bitstream hash。
  • parser result。
  • debug UART event stream。
  • register dump snapshot。
  • backend capability:pyserial/jsonschema 或 PowerShell/.NET fallback。
  • safety flags。

final-gate-v2

final-gate-v2 强制所有 required layer pass。任何 blocked_*、fail_*、缺证据或 authority overclaim 都失败。产品板 pin map 和驱动资料未导入前,完整热闭环保持 blocked。