| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207 |
- schema: prod2u-mrdimm-wire-v2
- product: mrdimm-chamber
- board: FCB V1.2
- device: EF2L45BG256B
- clock_hz: 25000000
- note: >-
- The one active wire protocol for the MRDIMM FCB V1.2 product. There is exactly
- one frame shape: A5 5A | TYPE:u8 | LENGTH:u8 | PAYLOAD | CRC_L | CRC_H.
- Total bytes = LENGTH + 6. There is no version field, no product id, no sequence
- number, no Tag, no TLV and no autodetection of any historical frame. The
- retired protocol (16-bit length frames, the old ACK/status/event types, the
- queue-write/control/keepalive/event commands, the host register interface and
- the unbounded motion commands) is not present anywhere in this product.
- frame:
- preamble: [0xA5, 0x5A]
- fields: [type: u8, length: u8, payload: bytes, crc: u16le]
- total_bytes: length_plus_6
- payload_byte_zero_is_request_ram_address_zero: true
- crc:
- name: CRC-16/CCITT-FALSE
- polynomial: 0x1021
- initial: 0xFFFF
- reflect_input: false
- reflect_output: false
- xor_output: 0
- coverage: type_length_payload
- wire_order: little
- excludes_header: true
- rx_and_tx_accumulators_are_independent: true
- length_width_bits: 8
- max_request_payload_bytes: 69
- max_response_payload_bytes: 65
- request_staging_bytes: 128
- inter_byte_timeout_clks: 250000
- inter_byte_timeout_us: 10000
- host_uart:
- baud: 921600
- supported_build_bauds: [921600, 460800, 230400, 115200]
- format: 8N1
- clks_per_bit: 27
- rs232: {connector: CON78, tx_ball: M10, rx_ball: N11, status: confirmed}
- ttl:
- status: confirmed
- connector: CON140
- tx_ball: T11
- rx_ball: P13
- tx_pin: 1
- rx_pin: 2
- ground: CON77.3_or_CON77.4_or_verified_board_GND
- note: >-
- CON140.1 TX (T11 via R1261 0 ohm), CON140.2 RX (P13 via R1262 0 ohm), 3.3V.
- CON140.3/4 are GPIO, not ground. CON146 is a 12V LED/key circuit, never a UART.
- Default 921600 8N1 with fixed-rate fallback builds; same TX stream as RS232.
- source_select: minimal_rx_source_select_with_broadcast_tx
- conflict_detection: none
- fair_arbitration: none
- reply_not_truncated_by_rx_idle_release: true
- parser_stays_enabled_during_reply_or_done: true
- bmc_uart:
- baud: 115200
- format: 8N1
- clks_per_bit: 217
- optional: true
- set_all_allowed_without_bmc: true
- poll_ascii: "ipmitool raw 0x36 0x6c 0xdf 0xdd 0x00 0x03"
- poll_line_terminator: 0x0A
- poll_command_bytes: 43
- response_hex_tokens: 48
- response_pairs: 24
- response_lines_typical: 3
- commands:
- SET_ALL:
- type: 0x01
- payload_length: 69
- legacy_payload_length: 68
- response: SET_ACK
- feeds_watchdog: true
- admission: SET_ACCEPT_after_validation_latest_wins_per_axis
- payload_fields:
- - {name: fan_duty_percent, offset: 0, count: 4, minimum: 0, maximum: 100, unit: percent}
- - {name: ptc_duty_percent, offset: 4, count: 4, minimum: 0, maximum: 100, unit: percent}
- - name: axis_slots
- offset: 8
- count: 12
- stride: 5
- slot_layout:
- action: {offset: 0, type: u8}
- steps: {offset: 1, type: u16le}
- half_period_us: {offset: 3, type: u16le}
- - {name: buzzer_ctrl, offset: 68, count: 1, minimum: 0, maximum: 1, unit: bool}
- actions:
- 0x00: NOTHING
- 0x01: PUSH_DOWN
- 0x02: PUSH_UP
- 0xFF: STOP_CLEAR
- action_semantics:
- NOTHING: the four following bytes take no part in the action; the SDK writes 0
- STOP_CLEAR: the four following bytes take no part in the action; the SDK writes 0
- PUSH_DOWN: finite downward segment, steps and half period apply
- PUSH_UP: finite upward segment, steps and half period apply
- push_steps_range: [1, 65535]
- push_half_period_us_range: [1, 65535]
- half_period_nonzero_required: true
- speed_hz: "500000 / half_period_us"
- max_half_period_hz: 7.63
- implemented_min_half_period_us: 1
- implemented_min_note: >-
- Twelve independent counters use the shared 1 us tick. Each axis stores one
- finite segment; a new PUSH replaces that axis immediately. Wait for DONE
- when each segment must complete. Axes may run concurrently without a
- synchronous start requirement.
- every_axis_is_variable_speed: true
- stop_clear_timing: per_axis_during_sequential_application_after_validation
- fan_duty_meaning: connector_requested_duty_not_rpm_not_airflow
- GET_ALL:
- type: 0x02
- payload_length: 0
- response: [GET_ACK, GET_DATA]
- response_order: ack_then_data_contiguous_group
- feeds_watchdog: true
- data_is_not_an_ack: true
- reads_most_recent_values_in_order_without_a_global_snapshot_lock: true
- HEARTBEAT:
- type: 0x03
- payload_length: 0_or_4
- response: HEARTBEAT_ACK
- feeds_watchdog: true
- note: >-
- Simplest independent heartbeat ping for physical link health verification.
- Immediately acknowledged without touching thermal banks or actuator queues.
- Payload can be 0 or 4 (nonce). If 4-byte nonce provided, HEARTBEAT_ACK echoes it.
- UNLISTED_TYPES: UNSUPPORTED
- responses:
- SET_ACK: {type: 0x81, payload_length: 0}
- GET_ACK: {type: 0x82, payload_length: 0}
- HEARTBEAT_ACK: {type: 0x83, payload_length: 0_or_4}
- BEACON: {type: 0x51, payload_length: 0, autonomous: true, period_ms: 5000, feeds_watchdog: false, active_telemetry: "Legal A5 5A 51 00 81 20 frame; no ASCII banner; emitted when the transaction core is idle"}
- DIAGNOSTIC: {type: 0x52, payload_length: 8, autonomous: true, period_ms: 5000, feeds_watchdog: false, format_version: 2, note: "Always-on lean debug frame emitted after BEACON: [0x02, 0x80, 3, 2, 0, flags, active_lo, active_hi]"}
- GET_DATA: {type: 0x42, payload_length: 65, payload_contract: mrdimm-status.yaml}
- MOTOR_DONE:
- type: 0x50
- payload_length: 4
- payload_fields:
- - {name: axis, offset: 0, type: u8}
- - {name: reason, offset: 1, type: u8}
- - {name: steps_done, offset: 2, type: u16le}
- reasons: {0x00: steps_complete, 0x01: lower_limit, 0x02: upper_limit, 0x03: both_limits}
- steps_done_counts: final_output_step_rising_edges_not_planned_steps_not_cumulative_position
- ff_ff_steps_is_not_an_invalid_temperature: true
- one_waiting_done_slot_per_axis: true
- NACK:
- type: 0xC0
- payload_length: 2
- payload: [request_type, reason]
- reason: {UNSUPPORTED: 1, BAD_LENGTH: 2, BAD_VALUE: 3, QUEUE_FULL: 4, BUSY: 5}
- no_detail_strings: true
- no_field_index: true
- no_extra_fault_state: true
- RESPONSE_TYPES_ARE_REQUESTS: UNSUPPORTED
- host_response_order:
- SET_ALL: [SET_ACK]
- GET_ALL: [GET_ACK, GET_DATA]
- HEARTBEAT: [HEARTBEAT_ACK]
- UNSUPPORTED: [NACK]
- invalid_behavior:
- bad_header_crc_partial_timeout_framing: silent_drop_and_recover
- complete_crc_valid_request: exactly_one_set_ack_get_ack_or_nack
- crc_valid_but_unsupported_or_bad_length_or_bad_value_or_queue_full: >-
- nack, take no effect, do not feed the watchdog, keep the command queue
- bounded and keep execution state unchanged
- declared_length_over_request_ram: consume_full_frame_and_crc_then_bad_length
- a55a_inside_payload: not_a_new_frame
- resync: next_real_frame_after_declared_extent
- half_frame: abandon_only_after_inter_byte_timeout
- outstanding_transactions: 1
- command_fifo: false
- watchdog:
- seconds: 30
- timebase: existing_shared_tick
- feed_on: [successful_set_accept, legal_get_accept, legal_heartbeat_accept]
- no_feed_on: [bad_request, nack, motor_done]
- starts_at: first_successful_set_or_get
- expiry:
- stop_all_axes: true
- invalidate_segments_queues_unsent_dones: true
- thermal_output_defaults_within: next_complete_20hz_pwm_period
- reset_uart_or_parser_or_fifo_or_tx: false
- already_started_reply_frames_finish: true
- old_done_completion_callback_restarts_work: false
- pre_expiry_settings_permanently_invalid: true
- default_validity_cleared_only_by_a_genuinely_applied_new_set: true
- get_continues_to_feed_while_returning_defaults: true
- same_value_set_after_expiry_recovers_directly: true
- different_value_set_after_expiry_recovers_directly: true
- retry_semantics:
- set_all_with_motor_segments: outcome_unknown_structured_no_auto_retry
- get_all: retryable_after_resync
- motor_done_is_not_a_host_request: true
- pwm:
- fan_hz: 20
- ptc_hz: 20
- phases: 100
- period_clks: 1250000
- buzzer_hz: 4000
- buzzer_duty_percent: 80
- buzzer_period_clks: 6250
- buzzer_high_clks: 5000
|