Prod2U 6400 thermal control simulation, replay, and experiment tooling

Prod2U Recovery d2f2ec3af7 fix(gui): 同步默认波特率至115200并重新打包部署Windows独立GUIEXE 1 ay önce
.cursor 4c6e558bce chore(mse): persist Pro-Wait 300s probe defaults in skill 3 ay önce
boards 6bb3b043ea feat(rtl): implement autonomous 6400 control pipeline 3 ay önce
config fc213a1705 feat(mrdimm): fix serial streaming flaws, add 9 directed mutations, full-chain PTY e2e, and HIL spec 2 ay önce
constraints 725cca61d0 fix(mrdimm): fix host UART rx_owner deadlock and map all 24 PTC heater pins across 4 chambers 2 ay önce
containers 07a6bc3e9d Unify product deliveries with actual GUI assets and source-bound artifacts 2 ay önce
contracts c7911cf955 feat(release): PROD2U-MIN-20261009.r2 最小稳定版认证、全梯队实测与硬件15项回归闭环 1 ay önce
docs fc213a1705 feat(mrdimm): fix serial streaming flaws, add 9 directed mutations, full-chain PTY e2e, and HIL spec 2 ay önce
evidence fc213a1705 feat(mrdimm): fix serial streaming flaws, add 9 directed mutations, full-chain PTY e2e, and HIL spec 2 ay önce
generated c7911cf955 feat(release): PROD2U-MIN-20261009.r2 最小稳定版认证、全梯队实测与硬件15项回归闭环 1 ay önce
hardware e6d2bdb6fd feat(comm): decouple 0x51 BEACON from 0x03 PING, add nonce echo, fix GUI timeout recovery, and implement real RTL mutation tests 2 ay önce
products c7911cf955 feat(release): PROD2U-MIN-20261009.r2 最小稳定版认证、全梯队实测与硬件15项回归闭环 1 ay önce
projects c7911cf955 feat(release): PROD2U-MIN-20261009.r2 最小稳定版认证、全梯队实测与硬件15项回归闭环 1 ay önce
reauth-backup c7911cf955 feat(release): PROD2U-MIN-20261009.r2 最小稳定版认证、全梯队实测与硬件15项回归闭环 1 ay önce
receipts d2f2ec3af7 fix(gui): 同步默认波特率至115200并重新打包部署Windows独立GUIEXE 1 ay önce
reference bcbed7b643 feat(mrdimm): wire host TTL UART to CON140 and add full E2E test suite 2 ay önce
releases 4ba98b0d3b publish 6400 manual v1.1.0 release manifest 3 ay önce
requirements baf13a637f build(env): add pinned Debian verification container 3 ay önce
runs a09ff02405 chore: align verification package contract 4 ay önce
schemas 9c367cc4e4 feat(6400): add multiproject registry and 6400 thermal target 3 ay önce
src c7911cf955 feat(release): PROD2U-MIN-20261009.r2 最小稳定版认证、全梯队实测与硬件15项回归闭环 1 ay önce
td c7911cf955 feat(release): PROD2U-MIN-20261009.r2 最小稳定版认证、全梯队实测与硬件15项回归闭环 1 ay önce
tests c7911cf955 feat(release): PROD2U-MIN-20261009.r2 最小稳定版认证、全梯队实测与硬件15项回归闭环 1 ay önce
tools d2f2ec3af7 fix(gui): 同步默认波特率至115200并重新打包部署Windows独立GUIEXE 1 ay önce
.gitattributes ddd52a2aef chore(snapshot): checkpoint normal v3 before minimal motion rewrite 4 ay önce
.gitignore e6d2bdb6fd feat(comm): decouple 0x51 BEACON from 0x03 PING, add nonce echo, fix GUI timeout recovery, and implement real RTL mutation tests 2 ay önce
ACCEPTANCE_MATRIX.md 2a88adedb6 fix(mse): bind current audit authority and review sidecar identity 3 ay önce
ACTIVE_6400_MANUAL_I2C_LOCK.yaml 605752ea8b feat(6400): complete Phase C 6400 RTL rebuild, timing fixes and ADC constraints 2 ay önce
ACTIVE_FIX_LOCK.yaml 4d0e5c0e18 docs: finalize 6400 acceptance handoff 3 ay önce
ACTIVE_GOAL_LOCK.yaml c426a10092 chore: close goal with bounded not-run evidence 2 ay önce
ACTIVE_REMOTE_MIGRATION.yaml 9bfaf1a257 fix: resume remote transfers without new users 3 ay önce
ACTIVE_TASK.md cb3b148fcc test(6400-v2): add DEFLATE 9 package replay tests and update progress tracking 2 ay önce
ACTIVE_TASK_LOCK.md f47f405079 feat-6400-production-host-safe-control 3 ay önce
ACTIVE_TASK_LOCK.yaml a00a5b673f feat-6400-front-rear-v11-30s-single-product 3 ay önce
AGENTS.md c7911cf955 feat(release): PROD2U-MIN-20261009.r2 最小稳定版认证、全梯队实测与硬件15项回归闭环 1 ay önce
AREA-LEDGER.json e616ce39b6 chore(ledger): record native ERAM probes and 6400 r4 fit/delivery 2 ay önce
AUTHORITY-CONFLICTS.md c7911cf955 feat(release): PROD2U-MIN-20261009.r2 最小稳定版认证、全梯队实测与硬件15项回归闭环 1 ay önce
BASELINE_REPORT.md fef3c9d92a docs: align active truth to Linux 11-byte contract 3 ay önce
BLOCKERS.md a00a5b673f feat-6400-front-rear-v11-30s-single-product 3 ay önce
DECISION_TRACE.md f47f405079 feat-6400-production-host-safe-control 3 ay önce
EVIDENCE_INDEX.json 393c81ccbf chore: bind pid-free candidate state 2 ay önce
EXECUTION_PLAN.md bc76d823a0 feat: establish dual-product goal and canonical entrypoints 2 ay önce
FINAL-REPORT.zh-CN.md 067abb378a docs(delivery): PROD2U-MIN-20261009.r2 最终报告、回执与状态归档 1 ay önce
FINAL_DELIVERY_REPORT.md 2a88adedb6 fix(mse): bind current audit authority and review sidecar identity 3 ay önce
LAN_SYNC.json 3eddccb4ce test: align 6400 quick gate with active top 2 ay önce
MRDIMM-Protocol-Guide.md d39556aa62 docs(mrdimm): add intuitive mechanical protocol guide 2 ay önce
OPEN_QUESTIONS.md 2a88adedb6 fix(mse): bind current audit authority and review sidecar identity 3 ay önce
OUTPUT_PATHS.md 3eddccb4ce test: align 6400 quick gate with active top 2 ay önce
PACKAGE_FOR_AGENT_ANALYSIS.README.zh-CN.md 8895c57438 fix(packaging): emit live Git provenance for review-compact 3 ay önce
PHASE_STATE.json c426a10092 chore: close goal with bounded not-run evidence 2 ay önce
PLAN.md 2a88adedb6 fix(mse): bind current audit authority and review sidecar identity 3 ay önce
PROGRESS.json cb3b148fcc test(6400-v2): add DEFLATE 9 package replay tests and update progress tracking 2 ay önce
PROGRESS.md 3eddccb4ce test: align 6400 quick gate with active top 2 ay önce
QUICK_PROGRESS.md 1c3d33f2b8 record deterministic protocol fuzz receipt 3 ay önce
README.zh-CN.md fa6ce76d0b docs(6400): align V1.1 fan mapping and protocol 3 ay önce
REAUTH-SOURCE-AUTHORITY.json c7911cf955 feat(release): PROD2U-MIN-20261009.r2 最小稳定版认证、全梯队实测与硬件15项回归闭环 1 ay önce
REAUTH-SOURCE-AUTHORITY.md c7911cf955 feat(release): PROD2U-MIN-20261009.r2 最小稳定版认证、全梯队实测与硬件15项回归闭环 1 ay önce
RECOVERY_LOG.md 635c888850 chore: record TD archive and license audit 2 ay önce
RECOVERY_STATE.md 067abb378a docs(delivery): PROD2U-MIN-20261009.r2 最终报告、回执与状态归档 1 ay önce
RESULTS.json 067abb378a docs(delivery): PROD2U-MIN-20261009.r2 最终报告、回执与状态归档 1 ay önce
SELECTED-INPUT.json c7911cf955 feat(release): PROD2U-MIN-20261009.r2 最小稳定版认证、全梯队实测与硬件15项回归闭环 1 ay önce
SOURCE_RECOVERY.json 3eddccb4ce test: align 6400 quick gate with active top 2 ay önce
TASK_PLAN.json c7911cf955 feat(release): PROD2U-MIN-20261009.r2 最小稳定版认证、全梯队实测与硬件15项回归闭环 1 ay önce
TEST_IMPACT_MAP.yaml 9d5ab2733e chore: record 6400 cocotb exact-commit pass 2 ay önce
TOOLCHAIN_RECOVERY.json 3eddccb4ce test: align 6400 quick gate with active top 2 ay önce
VERSION.json c7911cf955 feat(release): PROD2U-MIN-20261009.r2 最小稳定版认证、全梯队实测与硬件15项回归闭环 1 ay önce
WORKSPACE-SNAPSHOT.json fc213a1705 feat(mrdimm): fix serial streaming flaws, add 9 directed mutations, full-chain PTY e2e, and HIL spec 2 ay önce
baud-decision.json c7911cf955 feat(release): PROD2U-MIN-20261009.r2 最小稳定版认证、全梯队实测与硬件15项回归闭环 1 ay önce
baud-decision.md c7911cf955 feat(release): PROD2U-MIN-20261009.r2 最小稳定版认证、全梯队实测与硬件15项回归闭环 1 ay önce
dev.ps1 baf13a637f build(env): add pinned Debian verification container 3 ay önce
dev.sh baf13a637f build(env): add pinned Debian verification container 3 ay önce
evidence-AUDIT-1-product-boundary.md 8bbff2fa10 6400-audit-reports 3 ay önce
evidence-AUDIT-2-v11-electrical.md 1334cac663 6400-i2c-evidence-state 3 ay önce
evidence-AUDIT-3-i2c-protocol.md f014b775c9 6400-i2c-sim-receipt-state 3 ay önce
evidence-AUDIT-4-rtl-resources.md f014b775c9 6400-i2c-sim-receipt-state 3 ay önce
evidence-AUDIT-5-gui-hth-package.md 8bbff2fa10 6400-audit-reports 3 ay önce
fw 9c367cc4e4 feat(6400): add multiproject registry and 6400 thermal target 3 ay önce
package_for_agent_analysis.py 9c367cc4e4 feat(6400): add multiproject registry and 6400 thermal target 3 ay önce
protocol-compatibility.json a00a5b673f feat-6400-front-rear-v11-30s-single-product 3 ay önce
pyproject.toml fc213a1705 feat(mrdimm): fix serial streaming flaws, add 9 directed mutations, full-chain PTY e2e, and HIL spec 2 ay önce
transfer-receipt.json d2f2ec3af7 fix(gui): 同步默认波特率至115200并重新打包部署Windows独立GUIEXE 1 ay önce
vpi_pty.o 61448df697 feat(comm): implement and verify independent heartbeat ping-pong (0x03 -> 0x83) 2 ay önce
vpi_pty.vpi 61448df697 feat(comm): implement and verify independent heartbeat ping-pong (0x03 -> 0x83) 2 ay önce

README.zh-CN.md

Prod2U 固件主线(多目标)

同一仓库、同一 dev 主线,两个独立目标:

别名 project_id 说明
mrdimm prod2u-door-temp 三轴风门百分比 + FAN/PTC + MSE A1。协议/电机/限位不变。
6400 6400-control / 6400-identification / 6400-sim-debug 24 PTC + 4 Front 进风 + 4 Rear 出风,无门无电机。Production 不含 stimulus。
./fw list
./fw generate mrdimm|6400
./fw test mrdimm|6400|all
./fw build mrdimm|6400
./fw package mrdimm|6400

晋级:feature/worktree → dev → 专门 QA → master。本轮实现可合入 dev,禁止改/合/推 master。./fw test all 必须分别生成并测试两个目标。

6400 要点

  • 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。

MRDIMM / MSE A1

活动产品:三轴风门 闭合百分比定位(0=全开 … 100=全关)+ FAN/PTC PWM + UART 协议;马达执行架构为 MSE full-feature A1(串行共享 DDA)。

破坏性协议:旧上位机若把三门填 00 当心跳,将驱动三轴到全开限位。合法门字节为十进制 0..100;101..255 整帧拒绝。

合同要点

  • UART 25 MHz / 115200 8N1;帧头 A5 5A;CRC-16/CCITT-FALSE。
  • 0x01 SET_ALL(11B:4 FAN + 4 chamber PTC + Z/X/Y percent)、0x02 GET_TEMPERATURE → 0x82、0x03 GET_MOTOR_STATUS → 0x83(31B payload)。
  • Watchdog 30 s → PTC 0 / FAN 10(仅 startup_complete 后)。
  • 标定:X→Y→Z 串行 seek-close → measure-open(各 ≤5000 gated STEP);无 500 backoff;运行期三轴可重叠;latest-wins;无 ACK/队列。
  • 25 µs motion service;travel-normalized DDA;16 级 Q8 S 曲线;端点 estimate + level-0 crawl。
  • 限位硬截断:truncate_current_high_pulse_immediately_after_synchronized_limit。
  • Motor EN:permanent_high。Active IO:CON104/105/106/120/12/129。六限位。

当前基线与验证真相(MSE A1 current product/release authority)

项 值
预览分支 preview/motor-shared-executor
base dev(锁定,未改) d4f3df2549efeb1e9227f62d1d71c6179c9f9160
架构 winner A1 sequential shared DDA = PRODUCT WINNER / FROZEN
A2 STOPPED(full-chip route PHY-8155;不换 seed)
Scheme B STOPPED(LUT 回归)
当前软件矩阵 / Formal package-time meta/release-set-identity.json 的 matrix_verification_tip + software_verification_run_id(不要在活动文档抄易过期 tip/run)
最近一次已完成软件矩阵(历史,将被本轮新 tip 矩阵取代) R9 d126c3df… / mse-r9-20260812T163229Z
R8 canonical(历史,非 current) 3177c2f0… / mse-r8-20260812T153716Z
R7 matrix(历史,非 current) 21ed755ad2ddb6689bca88a9a037b391372a060e / mse-r7-20260812T132652Z
历史 TD-bound / artifact source ff44128a540b7ffd9d82314093b242ac3aee92d7;LUT 4320 / MSLICE 1089 / DSP 1;bitstream b4b0eda4… 字节未在磁盘恢复
本轮 TD 冻结复用 c9e7e2b9… / bitstream f3242a47…(162762 bytes);LUT 4320 / MSLICE 1089 / LSLICE 1089 / total slices 2178 / DSP 1;生产输入 37/37 时不重跑
生产 binding 历史 A1 37 expected / 37 matched / 0 missing / 0 hash mismatch;fresh TD 以新 receipt 为准
Package topic mse-a1(door-percent 仅为 deprecated alias)
Hardware / JTAG / 烧录 NOT RUN
合入 dev 禁止

权威最终 delivery commit 不由活动文档硬编码自引用;以包内/包外 meta/release-set-identity.json 与 package-time meta/verification-to-delivery-closure.json 为准。

旧 Round-6 / Round-12 固定速度 / 8403e020 / e0cf1321… / 2893 LUT / DSP0 不再是活动权威(见 docs/historical/ 与 receipts/historical/)。

Reference 策略

raw BRD/PDF/DSN 默认不进 review/firmware 包;derived board-viewer + reference/polarity fingerprint 保留。无物理映射变化时不另传原件。

离线验证入口(Linux)

export PATH=/data/prod2u/bin:$PATH
bash tools/verify.sh --lane python
bash tools/verify.sh --lane icarus
bash tools/verify.sh --lane cocotb
bash tools/verify.sh --lane verilator
bash tools/verify.sh --lane formal

TD:仅用 td2026。勿导出 TD LD_LIBRARY_PATH。见 docs/TD_USAGE.zh-CN.md。