project.json 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580
  1. {
  2. "project_id": "mrdimm-chamber",
  3. "profile": "mrdimm-chamber-v2",
  4. "display_name": "MRDIMM FCB V1.2 chamber controller (fan/ptc + 12 logical motor axes)",
  5. "board": {
  6. "id": "FCB V1.2",
  7. "device": "EF2L45BG256B",
  8. "clock_hz": 25000000,
  9. "clock_ball": "J1",
  10. "single_clock_domain": true,
  11. "pll": false
  12. },
  13. "host": {
  14. "rs232": {
  15. "connector": "CON78",
  16. "baud": 921600,
  17. "format": "8N1",
  18. "tx_ball": "M10",
  19. "rx_ball": "N11",
  20. "status": "confirmed",
  21. "supported_build_bauds": [
  22. 921600,
  23. 460800,
  24. 230400,
  25. 115200
  26. ]
  27. },
  28. "ttl_uart": {
  29. "connector": "CON140",
  30. "baud": 921600,
  31. "format": "8N1",
  32. "tx_ball": "T11",
  33. "rx_ball": "P13",
  34. "status": "native_brd_trace_verified_hardware_not_run",
  35. "note": "CON140.1 TX via populated R1261 0 ohm to T11; CON140.2 RX via populated R1262 0 ohm to P13. Both 3.3V GPIO. CON140.3/4 are GPIO, NOT GND. CON146 is a 12V LED/key circuit and is not a UART. Host default 921600 8N1; fixed fallback builds 460800/230400/115200.",
  36. "supported_build_bauds": [
  37. 921600,
  38. 460800,
  39. 230400,
  40. 115200
  41. ],
  42. "tx_pin": 1,
  43. "rx_pin": 2,
  44. "ground": "CON77.3 or CON77.4 / verified board GND"
  45. },
  46. "i2c_slave": "REMOVED_NOT_PRESENT"
  47. },
  48. "acquisition": {
  49. "bmc_uart": {
  50. "connector": "CON77",
  51. "baud": 115200,
  52. "format": "8N1",
  53. "channels": 24,
  54. "optional": true,
  55. "status": "board_uart1_rs232_confirmed_role_bmc_console_assigned",
  56. "tx_ball": "L10",
  57. "rx_ball": "M9",
  58. "note": "CON77 is a confirmed V1.2 UART1 RS-232 port on L10/M9. Its role as the BMC console is the product assignment carried over from the shared FCB contract; the board annotation itself only names it UART1 RS-232. Recorded separately from a hardware measurement, which is NOT RUN.",
  59. "production_physical_export": true
  60. },
  61. "ct7428_i2c_master": {
  62. "channels": 27,
  63. "independent_bus": false,
  64. "scl_ball": "B14",
  65. "sda_ball": "A15",
  66. "physical_path": "B14/R1123 and A15/R1124 to MUC_IIC0; populated CT links R800/R801, R843/R846, R873/R876",
  67. "mcu_requirement": "MCU I2C0 pins must remain high-impedance; FPGA is the only I2C master",
  68. "ct_addresses": [
  69. "0x49",
  70. "0x48",
  71. "0x4B"
  72. ],
  73. "address_evidence": "existing MCU contract plus native AD0 straps; real ACK verification NOT_RUN"
  74. }
  75. },
  76. "outputs": {
  77. "fan_count": 4,
  78. "chamber_ptc_count": 4,
  79. "physical_ptc_count": 24,
  80. "ptc_map": "4 logical chambers mapped onto 24 physical PTC outputs (6 heaters per chamber: Chamber 1 on CON18, Chamber 2 on CON27, Chamber 3 on CON28, Chamber 4 on CON29)",
  81. "ptc_pwm_hz": 20,
  82. "fan_pwm_hz": 20,
  83. "pwm_period_clks": 1250000,
  84. "boot": {
  85. "ptc_percent": 0,
  86. "fan_percent": 20
  87. },
  88. "watchdog": {
  89. "seconds": 30,
  90. "expiry": {
  91. "fan_percent": 20,
  92. "ptc_percent": 0
  93. },
  94. "stops_motor": true,
  95. "clears_queue": true,
  96. "invalidate_unsent_dones": true,
  97. "reset_uart_or_parser": false
  98. },
  99. "fan_board_invert_mask": "0xF",
  100. "fan_board_invert_mask_is_the_only_inversion_point": true,
  101. "fan_polarity_source": "V1.2 board facts; never reuse the V1.1 invert mask",
  102. "fan_output_order": [
  103. {
  104. "index": 0,
  105. "connector": "CON25.7",
  106. "ball": "B1",
  107. "net": "FAN_PWM3",
  108. "chamber": 1
  109. },
  110. {
  111. "index": 1,
  112. "connector": "CON8.7",
  113. "ball": "C4",
  114. "net": "FAN_PWM1",
  115. "chamber": 2
  116. },
  117. {
  118. "index": 2,
  119. "connector": "CON24.7",
  120. "ball": "B5",
  121. "net": "FAN_PWM2",
  122. "chamber": 3
  123. },
  124. {
  125. "index": 3,
  126. "connector": "CON26.7",
  127. "ball": "A14",
  128. "net": "FAN_PWM4",
  129. "chamber": 4
  130. }
  131. ],
  132. "ptc_output_order": [
  133. {
  134. "index": 0,
  135. "connector": "CON18.1",
  136. "ball": "F16",
  137. "net": "HEAT1",
  138. "chamber": 1
  139. },
  140. {
  141. "index": 1,
  142. "connector": "CON18.3",
  143. "ball": "G16",
  144. "net": "HEAT2",
  145. "chamber": 1
  146. },
  147. {
  148. "index": 2,
  149. "connector": "CON18.5",
  150. "ball": "T4",
  151. "net": "HEAT3",
  152. "chamber": 1
  153. },
  154. {
  155. "index": 3,
  156. "connector": "CON18.7",
  157. "ball": "R5",
  158. "net": "HEAT4",
  159. "chamber": 1
  160. },
  161. {
  162. "index": 4,
  163. "connector": "CON18.9",
  164. "ball": "T6",
  165. "net": "HEAT5",
  166. "chamber": 1
  167. },
  168. {
  169. "index": 5,
  170. "connector": "CON18.11",
  171. "ball": "R7",
  172. "net": "HEAT6",
  173. "chamber": 1
  174. },
  175. {
  176. "index": 6,
  177. "connector": "CON27.1",
  178. "ball": "M1",
  179. "net": "HEAT7",
  180. "chamber": 2
  181. },
  182. {
  183. "index": 7,
  184. "connector": "CON27.3",
  185. "ball": "N1",
  186. "net": "HEAT8",
  187. "chamber": 2
  188. },
  189. {
  190. "index": 8,
  191. "connector": "CON27.5",
  192. "ball": "P1",
  193. "net": "HEAT9",
  194. "chamber": 2
  195. },
  196. {
  197. "index": 9,
  198. "connector": "CON27.7",
  199. "ball": "R1",
  200. "net": "HEAT10",
  201. "chamber": 2
  202. },
  203. {
  204. "index": 10,
  205. "connector": "CON27.9",
  206. "ball": "T2",
  207. "net": "HEAT11",
  208. "chamber": 2
  209. },
  210. {
  211. "index": 11,
  212. "connector": "CON27.11",
  213. "ball": "R3",
  214. "net": "HEAT12",
  215. "chamber": 2
  216. },
  217. {
  218. "index": 12,
  219. "connector": "CON28.1",
  220. "ball": "P16",
  221. "net": "HEAT13",
  222. "chamber": 3
  223. },
  224. {
  225. "index": 13,
  226. "connector": "CON28.3",
  227. "ball": "R16",
  228. "net": "HEAT14",
  229. "chamber": 3
  230. },
  231. {
  232. "index": 14,
  233. "connector": "CON28.5",
  234. "ball": "M16",
  235. "net": "HEAT15",
  236. "chamber": 3
  237. },
  238. {
  239. "index": 15,
  240. "connector": "CON28.7",
  241. "ball": "N16",
  242. "net": "HEAT16",
  243. "chamber": 3
  244. },
  245. {
  246. "index": 16,
  247. "connector": "CON28.9",
  248. "ball": "P8",
  249. "net": "HEAT17",
  250. "chamber": 3
  251. },
  252. {
  253. "index": 17,
  254. "connector": "CON28.11",
  255. "ball": "P7",
  256. "net": "HEAT18",
  257. "chamber": 3
  258. },
  259. {
  260. "index": 18,
  261. "connector": "CON29.1",
  262. "ball": "T9",
  263. "net": "HEAT19",
  264. "chamber": 4
  265. },
  266. {
  267. "index": 19,
  268. "connector": "CON29.3",
  269. "ball": "P9",
  270. "net": "HEAT20",
  271. "chamber": 4
  272. },
  273. {
  274. "index": 20,
  275. "connector": "CON29.5",
  276. "ball": "P10",
  277. "net": "HEAT21",
  278. "chamber": 4
  279. },
  280. {
  281. "index": 21,
  282. "connector": "CON29.7",
  283. "ball": "R10",
  284. "net": "HEAT22",
  285. "chamber": 4
  286. },
  287. {
  288. "index": 22,
  289. "connector": "CON29.9",
  290. "ball": "T13",
  291. "net": "HEAT23",
  292. "chamber": 4
  293. },
  294. {
  295. "index": 23,
  296. "connector": "CON29.11",
  297. "ball": "T12",
  298. "net": "HEAT24",
  299. "chamber": 4
  300. }
  301. ]
  302. },
  303. "motors": {
  304. "count": 12,
  305. "axis_index_order": "Axis0..Axis11 = M1..M12 in the verified ADC generator order; no X/Y/Z remapping",
  306. "logical_axes": 12,
  307. "simulated_axes": 12,
  308. "native_resource_axes": 12,
  309. "physically_brought_out_axes": 12,
  310. "physically_brought_out_note": "All 12 STEP/DIR pairs and 24 limit input pads are confirmed in the native V1.2 BRD. Limit sensor active-high behavior must match the external wiring; real motion test NOT_RUN.",
  311. "axis_map": [
  312. {
  313. "index": 0,
  314. "name": "M1",
  315. "step_ball": "C12",
  316. "dir_ball": "B12",
  317. "step_connector": "CON104.2",
  318. "dir_connector": "CON104.3",
  319. "lower_limit_ball": "A5",
  320. "lower_limit_connector": "CON12.1",
  321. "upper_limit_ball": "B6",
  322. "upper_limit_connector": "CON12.2",
  323. "evidence": "native_brd_path"
  324. },
  325. {
  326. "index": 1,
  327. "name": "M2",
  328. "step_ball": "L12",
  329. "dir_ball": "J11",
  330. "step_connector": "CON105.2",
  331. "dir_connector": "CON105.3",
  332. "lower_limit_ball": "C8",
  333. "lower_limit_connector": "CON12.3",
  334. "upper_limit_ball": "A8",
  335. "upper_limit_connector": "CON12.4",
  336. "evidence": "native_brd_path"
  337. },
  338. {
  339. "index": 2,
  340. "name": "M3",
  341. "step_ball": "L14",
  342. "dir_ball": "K14",
  343. "step_connector": "CON106.2",
  344. "dir_connector": "CON106.3",
  345. "lower_limit_ball": "D7",
  346. "lower_limit_connector": "CON126.1",
  347. "upper_limit_ball": "E7",
  348. "upper_limit_connector": "CON126.2",
  349. "evidence": "native_brd_path"
  350. },
  351. {
  352. "index": 3,
  353. "name": "M4",
  354. "step_ball": "G14",
  355. "dir_ball": "G15",
  356. "step_connector": "CON113.2",
  357. "dir_connector": "CON113.3",
  358. "lower_limit_ball": "A4",
  359. "lower_limit_connector": "CON126.3",
  360. "upper_limit_ball": "C5",
  361. "upper_limit_connector": "CON126.4",
  362. "evidence": "native_brd_path"
  363. },
  364. {
  365. "index": 4,
  366. "name": "M5",
  367. "step_ball": "L13",
  368. "dir_ball": "K11",
  369. "step_connector": "CON107.2",
  370. "dir_connector": "CON107.3",
  371. "lower_limit_ball": "A3",
  372. "lower_limit_connector": "CON127.1",
  373. "upper_limit_ball": "B4",
  374. "upper_limit_connector": "CON127.2",
  375. "evidence": "native_brd_path"
  376. },
  377. {
  378. "index": 5,
  379. "name": "M6",
  380. "step_ball": "K12",
  381. "dir_ball": "K13",
  382. "step_connector": "CON108.2",
  383. "dir_connector": "CON108.3",
  384. "lower_limit_ball": "A12",
  385. "lower_limit_connector": "CON127.3",
  386. "upper_limit_ball": "B11",
  387. "upper_limit_connector": "CON127.4",
  388. "evidence": "native_brd_path"
  389. },
  390. {
  391. "index": 6,
  392. "name": "M7",
  393. "step_ball": "J14",
  394. "dir_ball": "J12",
  395. "step_connector": "CON109.2",
  396. "dir_connector": "CON109.3",
  397. "lower_limit_ball": "L16",
  398. "lower_limit_connector": "CON128.1",
  399. "upper_limit_ball": "L15",
  400. "upper_limit_connector": "CON128.2",
  401. "evidence": "native_brd_path"
  402. },
  403. {
  404. "index": 7,
  405. "name": "M8",
  406. "step_ball": "G13",
  407. "dir_ball": "F14",
  408. "step_connector": "CON114.2",
  409. "dir_connector": "CON114.3",
  410. "lower_limit_ball": "K15",
  411. "lower_limit_connector": "CON128.3",
  412. "upper_limit_ball": "J16",
  413. "upper_limit_connector": "CON128.4",
  414. "evidence": "native_brd_path"
  415. },
  416. {
  417. "index": 8,
  418. "name": "M9",
  419. "step_ball": "H13",
  420. "dir_ball": "J13",
  421. "step_connector": "CON110.2",
  422. "dir_connector": "CON110.3",
  423. "lower_limit_ball": "K16",
  424. "lower_limit_connector": "CON129.1",
  425. "upper_limit_ball": "J15",
  426. "upper_limit_connector": "CON129.2",
  427. "evidence": "native_brd_path"
  428. },
  429. {
  430. "index": 9,
  431. "name": "M10",
  432. "step_ball": "H11",
  433. "dir_ball": "H12",
  434. "step_connector": "CON111.2",
  435. "dir_connector": "CON111.3",
  436. "lower_limit_ball": "H15",
  437. "lower_limit_connector": "CON129.3",
  438. "upper_limit_ball": "H16",
  439. "upper_limit_connector": "CON129.4",
  440. "evidence": "native_brd_path"
  441. },
  442. {
  443. "index": 10,
  444. "name": "M11",
  445. "step_ball": "G11",
  446. "dir_ball": "H14",
  447. "step_connector": "CON112.2",
  448. "dir_connector": "CON112.3",
  449. "lower_limit_ball": "T3",
  450. "lower_limit_connector": "CON138.1",
  451. "upper_limit_ball": "R4",
  452. "upper_limit_connector": "CON138.2",
  453. "evidence": "native_brd_path"
  454. },
  455. {
  456. "index": 11,
  457. "name": "M12",
  458. "step_ball": "F12",
  459. "dir_ball": "D15",
  460. "step_connector": "CON115.2",
  461. "dir_connector": "CON115.3",
  462. "lower_limit_ball": "P4",
  463. "lower_limit_connector": "CON138.3",
  464. "upper_limit_ball": "T5",
  465. "upper_limit_connector": "CON138.4",
  466. "evidence": "native_brd_path"
  467. }
  468. ],
  469. "motor_enable_n": {
  470. "ball": "C11",
  471. "connector": "CON120.2",
  472. "active_level": "low",
  473. "drive": "constant_high_permanent_assert"
  474. },
  475. "engine": "mrdimm_actuator_core.v (BRAM-backed serial 12-axis finite-segment actuator)",
  476. "startup": {
  477. "behavior": "no_automatic_seek",
  478. "step_output_at_boot": "low",
  479. "queues_at_boot": "empty",
  480. "note": "The retired power-on SEEK_LOWER of every axis is deleted. Reset/Boot/standby leaves STEP low and the queues empty."
  481. },
  482. "limits": {
  483. "active_level": "high",
  484. "sync_ff": 2,
  485. "semantics": "while moving down only the lower limit blocks new STEP rising edges; while moving up only the upper; both active reports reason 03; a reversed direction may leave a single triggered limit",
  486. "mapping": "24 native BRD-bound pads, generator order LS1..LS12 and HS1..HS12",
  487. "external_requirement": "Inactive must read low; active must read high. Open/unconnected pulled-up input is active."
  488. },
  489. "queue": {
  490. "slots_per_axis": 1,
  491. "slots_include_running_segment": true,
  492. "replacement": "latest_wins_per_axis",
  493. "descriptor_fields": "direction:1 + steps:u16 + half_period_us:u16",
  494. "storage": "per-axis registers; no queued segments",
  495. "done_on_replacement": false,
  496. "host_usage": "Wait for MOTOR_DONE before replacing an axis when every finite segment must complete; other axes may run concurrently."
  497. },
  498. "done": {
  499. "slots_per_axis": 1,
  500. "frame": "MOTOR_DONE {axis:u8, reason:u8, steps_done:u16le}",
  501. "reasons": {
  502. "0": "steps_complete",
  503. "1": "lower_limit",
  504. "2": "upper_limit",
  505. "3": "both_limits"
  506. },
  507. "steps_done_counts": "final output STEP rising edges"
  508. },
  509. "timing": {
  510. "implementation": "12 independent counters clock-enabled by the shared 1 us tick",
  511. "tick_us_clks": 25,
  512. "protocol_min_half_period_us": 1,
  513. "protocol_max_half_period_us": 65535,
  514. "implemented_min_half_period_us": 1,
  515. "dir_setup_us": 10,
  516. "verification": "tests/sim/mrdimm_actuator_timing_tb.v checks all 12 axes, 1..65535 ticks, maximum step count and full final high pulse",
  517. "concurrent_start": "Axis commands apply sequentially; simultaneous triggering is not promised or required."
  518. }
  519. },
  520. "protocol": {
  521. "schema": "prod2u-unified-wire-v2",
  522. "frame": "A5 5A | TYPE | LENGTH:u8 | PAYLOAD | CRC16/CCITT-FALSE",
  523. "length_width_bits": 8,
  524. "supported": [
  525. "SET_ALL",
  526. "GET_ALL",
  527. "HEARTBEAT"
  528. ],
  529. "responses": [
  530. "SET_ACK",
  531. "GET_ACK",
  532. "HEARTBEAT_ACK",
  533. "GET_DATA",
  534. "NACK",
  535. "MOTOR_DONE",
  536. "BEACON",
  537. "DIAGNOSTIC"
  538. ],
  539. "retired": [
  540. "16-bit length frames",
  541. "ACK_NACK 0x80 with a 4-byte detail payload",
  542. "ALL_STATUS_DATA 0x81",
  543. "MOTOR_QUEUE_WRITE 0x03",
  544. "MOTOR_CONTROL 0x04",
  545. "OUTPUT_KEEPALIVE 0x05",
  546. "EVENT_READ 0x08",
  547. "EVENT_CLEAR 0x09",
  548. "EVENT_DATA 0x83",
  549. "host i2c mailbox",
  550. "position / tags / event ring / host step cap / hold / continuous / armed start",
  551. "startup calibration seek-close/measure-open and 500-step backoff"
  552. ]
  553. },
  554. "temperature_protection": {
  555. "mode": "acquisition_only",
  556. "auto_override_outputs": false,
  557. "auto_stop_motor": false,
  558. "note": "Temperature never decides FAN, PTC or motor behaviour."
  559. },
  560. "closed_loop": false,
  561. "pid": false,
  562. "production": true,
  563. "hood_switch": {
  564. "connector": "CON140.3",
  565. "ball": "L3",
  566. "active_level": "high",
  567. "default_unpressed": "low",
  568. "pulltype": "PULLDOWN",
  569. "sampled_only_on_get_all": true
  570. },
  571. "buzzer": {
  572. "connector": "CON146.1",
  573. "ball": "H6",
  574. "active_level": "high",
  575. "default": 0
  576. },
  577. "source_closure": "products/mrdimm-chamber/source-closure.json",
  578. "requirements": "projects/mrdimm-chamber/requirements.zh-CN.md",
  579. "release_version": "3.1.0"
  580. }