| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- schema: prod2u-mrdimm-wire-v1
- clock_hz: 25000000
- device: EF2L45BG256B
- frame:
- preamble: [0xA5, 0x5A]
- fields: [type: u8, length: u16le, payload: bytes, crc: u16le]
- crc: {name: CRC-16/CCITT-FALSE, polynomial: 0x1021, initial: 0xFFFF, reflect_input: false, reflect_output: false, xor_output: 0, coverage: type_length_low_length_high_payload, wire_order: little}
- length_width_bits: 16
- max_request_payload_bytes: 256
- max_response_payload_bytes: 1024
- legacy_8bit_frames: RETIRED_NO_AUTODETECT
- host_uart:
- baud: 921600
- format: 8N1
- rs232: {connector: CON78, tx_ball: M10, rx_ball: N11, status: confirmed}
- ttl: {status: unbound, idle_high_when_absent}
- bmc_uart:
- baud: 115200
- format: 8N1
- optional: true
- commands:
- SET_ALL:
- type: 0x01
- payload_length: 11
- response: ACK_NACK
- payload_fields:
- - {name: fan_percent, offset: 0, count: 4, minimum: 0, maximum: 100}
- - {name: chamber_ptc_percent, offset: 4, count: 4, minimum: 0, maximum: 100}
- - {name: motor_z, offset: 8, values: {0x00: seek_lower, 0x64: seek_upper, 0xFF: unchanged}}
- - {name: motor_x, offset: 9, values: {0x00: seek_lower, 0x64: seek_upper, 0xFF: unchanged}}
- - {name: motor_y, offset: 10, values: {0x00: seek_lower, 0x64: seek_upper, 0xFF: unchanged}}
- behavior:
- validate_whole_frame_first: true
- thermal_commit_atomic_reload_lease: true
- motor_endpoint_terminates_active_and_clears_queue: true
- motor_endpoint_default_rate: axis_default_half_period
- ff_touches_no_motor: true
- same_endpoint_is_a_new_request: true
- ack_meaning: outputs_committed_and_motion_accepted_not_arrived
- GET_ALL: {type: 0x02, payload_length: 0, response: [ACK_NACK, ALL_STATUS_DATA], response_order: ack_after_snapshot_latch_then_data}
- MOTOR_QUEUE_WRITE:
- type: 0x03
- payload: {count: u8, segments: 16n}
- length: 1+16*count
- count_range: [1, 8]
- response: ACK_NACK
- behavior:
- validate_all_before_any_change: true
- preempt_clear_first_segment_of_axis_only: true
- publish_atomically: true
- MOTOR_CONTROL:
- type: 0x04
- payload_length: 8
- payload: {operation: u8, axis_mask: u16le, flags: u8, value: u32le}
- operations: {0: START_ARMED, 1: ABORT, 2: CLEAR_QUEUE, 3: CLEAR_COUNTERS, 4: SET_POSITION, 5: CLEAR_LIMIT_LATCH, 6: HOME_LOWER, 7: SEEK_UPPER}
- response: ACK_NACK
- OUTPUT_KEEPALIVE: {type: 0x05, payload_length: 0, response: ACK_NACK, feeds_watchdog_only_when_lease_active: true}
- EVENT_READ:
- type: 0x08
- payload_length: 1
- payload: {max_records: u8}
- max_records_range: [1, 8]
- response: [ACK_NACK, EVENT_DATA]
- payload_order: ack_after_view_freeze_then_data
- read_does_not_delete: true
- EVENT_CLEAR:
- type: 0x09
- payload_length: 1
- payload: {n: u8}
- semantics: {0: ILLEGAL, "1..64": clear_oldest_n, 0xFF: clear_all, "n>count": clear_existing_count}
- response: ACK_NACK
- side_effect_no_auto_retry: true
- UNLISTED_TYPES: UNSUPPORTED
- responses:
- ACK_NACK:
- type: 0x80
- payload_length: 4
- payload: [request_type, status, detail_u16le]
- status: {OK: 0, UNSUPPORTED: 1, BAD_LENGTH: 2, BAD_VALUE: 3, BUSY: 4, QUEUE_FULL: 5, BAD_AXIS: 6, BAD_MODE: 7, BAD_REGISTER: 8, NOT_READY: 9}
- ALL_STATUS_DATA:
- type: 0x81
- content: snapshot + per-axis motor telemetry + event ring head info (time_high/overflow)
- EVENT_DATA:
- type: 0x83
- payload: record_count:u8 + 16-byte records (oldest first)
- RESPONSE_TYPES_ARE_REQUESTS: UNSUPPORTED
- invalid_behavior:
- bad_header_crc_partial_timeout_framing: silent_drop
- complete_crc_valid_request: exactly_one_ack_nack
- declared_length_over_request_ram: consume_full_frame_and_crc_then_bad_length
- a55a_inside_payload: not_a_new_frame
- retry_semantics:
- set_all_with_motor_endpoints: preempting_outcome_unknown_on_timeout
- motor_queue_write: side_effect_no_auto_retry
- motor_control_side_effects: no_auto_retry
- keepalive_get: retryable
- motor_segment:
- bytes: 16
- layout:
- axis: {offset: 0, values: {0: X, 1: Y, 2: Z}}
- mode: {offset: 1, values: {0: relative, 1: seek_lower, 2: seek_upper, 3: continuous, 4: hold}}
- flags: {offset: 2, bits: {0: upper_direction, 1: preempt, 2: arm, 3: clear_queue}, high_nibble: must_be_zero}
- reserved3: 0
- count_or_duration: {offset: 4, type: u32le}
- half_period_us: {offset: 8, type: u32le}
- command_tag: {offset: 12, type: u16le}
- reserved14: 0
- min_half_period_us: {x: 500, y: 500, z: 20000}
- frequency: 500000/half_period_us
- hold: {half_period_must_be_zero: true, count_zero_completes_immediately: true}
- stop_reason: {0: NONE, 1: STEP_COUNT_COMPLETE, 2: LOWER_LIMIT, 3: UPPER_LIMIT, 4: ABORT, 5: PREEMPT, 6: RESET, 7: BOTH_LIMITS, 8: HOST_STEP_CAP_COMPLETE, 9: HOLD_COMPLETE}
- event_codes: {1: segment_complete, 2: lower_limit, 3: upper_limit, 4: abort, 5: preempt, 6: reset, 7: both_limits, 8: host_step_cap, 9: hold_complete, 10: home_complete}
- outstanding_transactions: 1
- watchdog_feed: legal_set_all_commit_or_active_keepalive_only
|