Procházet zdrojové kódy

docs(6400): align V1.1 fan mapping and protocol

root před 3 měsíci
rodič
revize
fa6ce76d0b

+ 5 - 4
README.zh-CN.md

@@ -5,7 +5,7 @@
 | 别名 | project_id | 说明 |
 | 别名 | project_id | 说明 |
 |------|------------|------|
 |------|------------|------|
 | `mrdimm` | `prod2u-door-temp` | 三轴风门百分比 + FAN/PTC + MSE A1。协议/电机/限位不变。 |
 | `mrdimm` | `prod2u-door-temp` | 三轴风门百分比 + FAN/PTC + MSE A1。协议/电机/限位不变。 |
-| `6400` | `prod2u-6400-front-back` | 24 PTC + 8 FAN,无门无电机。出风 PWM 已映射 CON64/66/62/60.4。生产 TD syn/phy/bitgen 已接通。 |
+| `6400` | `6400-control` / `6400-identification` / `6400-sim-debug` | 24 PTC + 4 Front 进风 + 4 Rear 出风,无门无电机。Production 不含 stimulus。 |
 
 
 ```bash
 ```bash
 ./fw list
 ./fw list
@@ -19,9 +19,10 @@
 
 
 ## 6400 要点
 ## 6400 要点
 
 
-- 32 字节 SET:24 PTC(丝印正向左→右,不是 HEAT1→24)+ 每腔先进风后出风 8 FAN。
-- 500 Hz PWM;watchdog 30 s;温度仍是 3×CT7428 / 27 值,线路顺序不重排。
-- 出风 FAN PWM:腔体左→右 CON64.4 / CON66.4 / CON62.4 / CON60.4;PIN3 FG 不用。`./fw build 6400` 检查真实 bitstream,firmware 包绑定 `.bit` / SHA256 / TD 报告。
+- Host RS-232/TTL 为 921600 8N1;BMC UART 保持 115200。合法 Host 命令均先返回独立 ACK;`GET_SNAPSHOT` 为 `0x82 ACK` 后 `0x42 DATA`(193 字节)。Production 仅支持 `SET_TARGET` 和 `GET_SNAPSHOT`,不支持 `SET_STIMULUS`。
+- 24 PTC 与 8 FAN 均为 500 Hz;6400 无 Host watchdog,Host 断开后继续自治控制。
+- 生产风扇向量固定为 Front0..3 后 Rear0..3:进风 `CON25.7 / CON8.7 / CON24.7 / CON26.7`,出风 `CON64.4 / CON66.4 / CON62.4 / CON60.4`。Front 经板级 Q101/Q99/Q100/Q102 反相,Rear 直通,RTL 唯一适配 Mask 为 `8'h0F`。
+- Host TTL Ball 仍未绑定;任何含未约束 TTL 自动放置的 bitstream 均为审核候选,禁止烧录。固件包必须绑定精确 `.bit` / SHA-256 / TD 输入和收据。
 - Hardware / JTAG / 烧录:**`NOT RUN`**。
 - Hardware / JTAG / 烧录:**`NOT RUN`**。
 
 
 # MRDIMM / MSE A1
 # MRDIMM / MSE A1

+ 6 - 1
docs/audit/evidence-matrix.md

@@ -1,5 +1,10 @@
 # 6400-front-rear-v1 evidence matrix
 # 6400-front-rear-v1 evidence matrix
 
 
+> Historical pre-implementation audit snapshot. Current fan evidence is locked
+> by `contracts/channel-map.yaml` and
+> `docs/electrical/rear-fan-evidence-lock.md`; current run status belongs in
+> external commit-bound receipts, not the historical `NOT RUN` rows below.
+
 | Claim | Evidence | Confidence / action |
 | Claim | Evidence | Confidence / action |
 | --- | --- | --- |
 | --- | --- | --- |
 | FPGA and clock are EF2L45BG256B / 25 MHz / J1 | Current project JSON, existing ADC, board inventory | Confirmed |
 | FPGA and clock are EF2L45BG256B / 25 MHz / J1 | Current project JSON, existing ADC, board inventory | Confirmed |
@@ -8,7 +13,7 @@
 | Host TTL is a full 3.3 V interface | Active task contract | RTL required; balls/connector unresolved and left unconstrained |
 | Host TTL is a full 3.3 V interface | Active task contract | RTL required; balls/connector unresolved and left unconstrained |
 | 24 PTC outputs and their FPGA balls | Existing 6400 project JSON/ADC and board inventory | Confirmed board baseline |
 | 24 PTC outputs and their FPGA balls | Existing 6400 project JSON/ADC and board inventory | Confirmed board baseline |
 | 4 front + 4 rear logical fan duties | Active contract plus existing 8-output board mapping | Confirmed logical topology; physical fan behavior still NOT RUN |
 | 4 front + 4 rear logical fan duties | Active contract plus existing 8-output board mapping | Confirmed logical topology; physical fan behavior still NOT RUN |
-| Fan FPGA outputs are active low | Active contract and existing board contract | Confirmed source contract; physical fan validation NOT RUN |
+| Front FPGA outputs active low; Rear FPGA outputs active high | V1.1 BRD-derived connectivity plus active channel map | Confirmed source/board path; resistor population and physical fan validation NOT RUN |
 | CT7428 bus is M8/N9 open drain | Existing 6400 project, inventory, and annotations | Confirmed electrical path |
 | CT7428 bus is M8/N9 open drain | Existing 6400 project, inventory, and annotations | Confirmed electrical path |
 | CT physical channel-to-DIMM order | No complete current evidence | Unknown; raw index retained, no invented mapping |
 | CT physical channel-to-DIMM order | No complete current evidence | Unknown; raw index retained, no invented mapping |
 | BMC poll command | Historical production RTL before commit `ddd52a2` | Confirmed string: `ipmitool raw 0x36 0x6c 0xdf 0xdd 0x00 0x03\n` |
 | BMC poll command | Historical production RTL before commit `ddd52a2` | Confirmed string: `ipmitool raw 0x36 0x6c 0xdf 0xdd 0x00 0x03\n` |

+ 7 - 1
docs/audits/02-board-electrical-evidence.md

@@ -1,5 +1,11 @@
 # Audit 2 - board and electrical evidence
 # Audit 2 - board and electrical evidence
 
 
+> Historical pre-V1.1 snapshot. The active fan authority is
+> `contracts/channel-map.yaml` and `docs/electrical/rear-fan-evidence-lock.md`.
+> Current production order is Front0..3 then Rear0..3; Front FPGA balls are
+> active-low through Q99/Q100/Q101/Q102 board inversion, while Rear balls are
+> active-high direct paths. The earlier all-active-low statement is superseded.
+
 Result: PASS with explicit unresolved TTL and CT placement fields.
 Result: PASS with explicit unresolved TTL and CT placement fields.
 
 
 ## Independent evidence review
 ## Independent evidence review
@@ -8,7 +14,7 @@ Result: PASS with explicit unresolved TTL and CT placement fields.
 - CON78/UART2 is a separate real RS-232 path through U23: M10 TX and N11 RX. It is suitable for Host RS-232.
 - CON78/UART2 is a separate real RS-232 path through U23: M10 TX and N11 RX. It is suitable for Host RS-232.
 - The old `locked_debug_uart_assignments` using T4/R5/P7/P8 conflict with PTC HEAT pins and are explicitly historical/diagnostic; they are not selected.
 - The old `locked_debug_uart_assignments` using T4/R5/P7/P8 conflict with PTC HEAT pins and are explicitly historical/diagnostic; they are not selected.
 - TTL Host has no complete connector-to-ball chain in current evidence. RTL ports remain, while ADC bindings are absent and marked unknown.
 - TTL Host has no complete connector-to-ball chain in current evidence. RTL ports remain, while ADC bindings are absent and marked unknown.
-- PTC and eight logical fan output balls are carried from the committed 6400 board contract. Output polarity is compile-time and fans are active-low at FPGA pins.
+- PTC and eight logical fan output balls are carried from the committed 6400 board contract. Output polarity is compile-time: Front balls are active-low and Rear balls are active-high.
 - CT7428 I2C M8/N9 is open-drain. No push-pull-high assignment is permitted.
 - CT7428 I2C M8/N9 is open-drain. No push-pull-high assignment is permitted.
 - The 27 CT register indices are known; physical DIMM placement is not. The map records unknown rather than inventing a permutation.
 - The 27 CT register indices are known; physical DIMM placement is not. The map records unknown rather than inventing a permutation.
 - Exact BMC command text and 48 decoded response bytes are recovered from Git history. Fractional temperature semantics are not overclaimed.
 - Exact BMC command text and 48 decoded response bytes are recovered from Git history. Fractional temperature semantics are not overclaimed.

+ 9 - 9
docs/prod2u-6400-channel-map.zh-CN.md

@@ -8,13 +8,13 @@ PTC 不按 HEAT1→24 编号排协议。CON*.13 与该腔最后一路同网,
 | 6–11 | C2 | HEAT12..7 | R3,T2,R1,P1,N1,M1 | CON27 |
 | 6–11 | C2 | HEAT12..7 | R3,T2,R1,P1,N1,M1 | CON27 |
 | 12–17 | C3 | HEAT18..13 | P7,P8,N16,M16,R16,P16 | CON28 |
 | 12–17 | C3 | HEAT18..13 | P7,P8,N16,M16,R16,P16 | CON28 |
 | 18–23 | C4 | HEAT24..19 | T12,T13,R10,P10,P9,T9 | CON29 |
 | 18–23 | C4 | HEAT24..19 | T12,T13,R10,P10,P9,T9 | CON29 |
-| 24 | C1_FAN_IN | FAN_PWM3 | B1 | CON25.7 |
-| 25 | C1_FAN_OUT | FAN_GPIO44 | P15 | CON64.4 |
-| 26 | C2_FAN_IN | FAN_PWM1 | C4 | CON8.7 |
-| 27 | C2_FAN_OUT | FAN_GPIO46 | N15 | CON66.4 |
-| 28 | C3_FAN_IN | FAN_PWM2 | B5 | CON24.7 |
-| 29 | C3_FAN_OUT | FAN_GPIO42 | M14 | CON62.4 |
-| 30 | C4_FAN_IN | FAN_PWM4 | A14 | CON26.7 |
-| 31 | C4_FAN_OUT | FAN_GPIO40 | P5 | CON60.4 |
+| 24 | Front0 / 进风0 | FAN_PWM3 | B1 | CON25.7 |
+| 25 | Front1 / 进风1 | FAN_PWM1 | C4 | CON8.7 |
+| 26 | Front2 / 进风2 | FAN_PWM2 | B5 | CON24.7 |
+| 27 | Front3 / 进风3 | FAN_PWM4 | A14 | CON26.7 |
+| 28 | Rear0 / 出风0 | FAN_GPIO44 | P15 | CON64.4 |
+| 29 | Rear1 / 出风1 | FAN_GPIO46 | N15 | CON66.4 |
+| 30 | Rear2 / 出风2 | FAN_GPIO42 | M14 | CON62.4 |
+| 31 | Rear3 / 出风3 | FAN_GPIO40 | P5 | CON60.4 |
 
 
-出风 PIN3 FG 不用。禁止把 FG / 调试 UART / 电机 / 限位脚写进 6400 协议。
+生产向量固定为 `Front0..3, Rear0..3`。Front 四路经 Q101/Q99/Q100/Q102 板级反相,Rear 四路为直通设计,因此唯一 RTL 适配 Mask 为 `8'h0F`。出风 PIN3 FG 不用。禁止把 FG / 调试 UART / 电机 / 限位脚写进 6400 协议。

+ 2 - 2
reference/original/MANIFEST.zh-CN.md

@@ -13,7 +13,7 @@
 - `vendor/`:厂商安装介质或可重新获取的大型 vendor payload。
 - `vendor/`:厂商安装介质或可重新获取的大型 vendor payload。
 - `local_archives/ct7428/`:用户提供的 CT7428 原始压缩包,保留原始字节并使用可读文件名归档。
 - `local_archives/ct7428/`:用户提供的 CT7428 原始压缩包,保留原始字节并使用可读文件名归档。
 - `vendor/ct7428/`:从上述压缩包解出的数据手册、转换说明、参考代码,以及用户提供的线缆、地址表和 2N3904 截图。
 - `vendor/ct7428/`:从上述压缩包解出的数据手册、转换说明、参考代码,以及用户提供的线缆、地址表和 2N3904 截图。
-- `board/FCB_FPGA_MCU_V1.1_20260625/FCB_FPGA+MCU_V1.1_20260625.brd`:旧版 Allegro 原始板数据库(已被 V1.2 取代,仅作历史索引)。
+- `board/FCB_FPGA_MCU_V1.1_20260625/FCB_FPGA+MCU_V1.1_20260625.brd`:V1.1 Allegro 原始板数据库;当前 Git 树仅保存 Hash,原始文件和 IPC-D-356 派生数据在受控外部证据区。用户指定 V1.1 装配时,它是风扇连通性核对依据,不能用 V1.2 默认资料替代。
 - `board/FCB_FPGA_MCU_V1.2_20260717/FCB_FPGA+MCU_V1.2_20260717.brd`:用户提供的 Allegro 原始板数据库,仅本地保留,用于板卡查看器和物理连接核对。
 - `board/FCB_FPGA_MCU_V1.2_20260717/FCB_FPGA+MCU_V1.2_20260717.brd`:用户提供的 Allegro 原始板数据库,仅本地保留,用于板卡查看器和物理连接核对。
 - `schematics/8000高温罩电气图V2.0.pdf`:用户提供的 8000 高温罩系统电气图,仅本地保留,用于整机电气边界核对。
 - `schematics/8000高温罩电气图V2.0.pdf`:用户提供的 8000 高温罩系统电气图,仅本地保留,用于整机电气边界核对。
 - `local_archives/board/FCB_FPGA+MCU_V1.2_20260717.brd` 与 `local_archives/board/8000高温罩电气图V2.0.pdf`:上述两份资料的本地冗余镜像,字节与主副本一致。
 - `local_archives/board/FCB_FPGA+MCU_V1.2_20260717.brd` 与 `local_archives/board/8000高温罩电气图V2.0.pdf`:上述两份资料的本地冗余镜像,字节与主副本一致。
@@ -51,4 +51,4 @@
 | `local_archives/board/FCB_FPGA+MCU_V1.2_20260717.brd` | 主副本冗余镜像 | `269B5BAB2F2E1215B9392079A003BADC34238AE3CBE8E5094C9A11BBA8B84EBB` |
 | `local_archives/board/FCB_FPGA+MCU_V1.2_20260717.brd` | 主副本冗余镜像 | `269B5BAB2F2E1215B9392079A003BADC34238AE3CBE8E5094C9A11BBA8B84EBB` |
 | `local_archives/board/8000高温罩电气图V2.0.pdf` | 主副本冗余镜像 | `7EBD0DCED194338CEB97FF5A0ABCEE2D9790E7F6E7A90D9D4BE7DE593DCA7EB5` |
 | `local_archives/board/8000高温罩电气图V2.0.pdf` | 主副本冗余镜像 | `7EBD0DCED194338CEB97FF5A0ABCEE2D9790E7F6E7A90D9D4BE7DE593DCA7EB5` |
 
 
-`FCB_FPGA+MCU_V1.1_20260625.brd` SHA-256 为 `DB02938F7943B2AE532AA18208F61588364D32A70A0CC72F74B4A94AAAB7E258`(历史版本,主副本不再要求存在)。
+`FCB_FPGA+MCU_V1.1_20260625.brd` SHA-256 为 `DB02938F7943B2AE532AA18208F61588364D32A70A0CC72F74B4A94AAAB7E258`。当前 Git 不包含原始 BRD;任何“V1.1 已确认”结论必须同时绑定该 Hash 和对应派生证据,不能只引用 0611 历史拓扑 PDF。