| 1 |
- {"board":"FCB V1.1","canonical_profiles":{"6400-front-rear":{"allowed_commands":["SET_ALL","GET_ALL","OUTPUT_KEEPALIVE","MOTOR_QUEUE_WRITE_UNSUPPORTED","MOTOR_CONTROL_UNSUPPORTED","EVENT_READ_UNSUPPORTED","EVENT_CLEAR_UNSUPPORTED"],"production":true,"simulation_only":false}},"contract_sha256":"d9b61d0e9532b1a450cea4d293f272158417581dd415eb0da81c794ecd1d06eb","device":"EF2L45BG256B","i2c_register_map":{"address_7bit":42,"clock_modes_khz":[100,400],"clock_stretching":false,"contract_sha256":"d9b61d0e9532b1a450cea4d293f272158417581dd415eb0da81c794ecd1d06eb","pointer_msb_first":true,"register_address_width_bits":16,"registers":[{"access":"RO","address":0,"name":"DEVICE_STATUS"},{"access":"RO","address":1,"name":"RESPONSE_OK"},{"access":"RO","address":2,"name":"RESPONSE_COMMAND"},{"access":"RO","address":3,"name":"RESPONSE_STATUS"},{"access":"RO","address":4,"name":"RESPONSE_DETAIL"},{"access":"RO","address":5,"name":"WATCHDOG_REMAINING_SECONDS"},{"access":"RO","address":6,"name":"SET_ALL_BYTES_WRITTEN"},{"access":"RO","address":7,"name":"SNAPSHOT_LENGTH_L"},{"access":"RO","address":8,"name":"SNAPSHOT_LENGTH_H"},{"access":"WO","address":16,"name":"COMMAND"},{"access":"RW","address":256,"address_end":287,"name":"SET_ALL_STAGING"},{"access":"RO","address":512,"address_end":767,"name":"SNAPSHOT_DATA"}],"schema":"prod2u-6400-host-i2c-register-map-v1","sda_drive":"low_or_hiz_only"},"outputs":{"fan_board_invert_mask":15,"fan_duty_semantics":"connector_high_level_request_percent","fan_pwm_hz":500,"front_fan_count":4,"ptc_count":24,"ptc_pwm_hz":500,"rear_fan_count":4,"safe_front_percent":20,"safe_ptc_percent":0,"safe_rear_percent":20},"product":"6400-front-rear","safety":{"bmc_lane_hard_c":77,"bmc_single_channel_off_c":76},"schema":"prod2u-6400-manual-host-contract-v1","snapshot":{"fields":[{"name":"mode","offset":0,"size":1,"type":"u8"},{"name":"fault_flags","offset":1,"size":2,"type":"u16"},{"name":"watchdog_active","offset":3,"size":1,"type":"u8"},{"name":"watchdog_remaining","offset":4,"size":1,"type":"u8","unit":"seconds"},{"name":"manual_mode","offset":5,"size":1,"type":"u8"},{"name":"bmc_valid","offset":6,"size":1,"type":"u8"},{"name":"bmc_stale","offset":7,"size":1,"type":"u8"},{"name":"ct_valid","offset":8,"size":1,"type":"u8"},{"name":"ct_stale","offset":9,"size":1,"type":"u8"},{"name":"hard_protect","offset":10,"size":1,"type":"u8"},{"name":"bmc_epoch","offset":11,"size":2,"type":"u16"},{"name":"ct_epoch","offset":13,"size":2,"type":"u16"},{"name":"control_epoch","offset":15,"size":2,"type":"u16"},{"name":"bmc_age","offset":17,"size":2,"type":"u16","unit":"seconds"},{"name":"ct_age","offset":19,"size":2,"type":"u16","unit":"seconds"},{"count":24,"name":"bmc_raw","offset":21,"size":48,"type":"u16"},{"count":3,"name":"bmc_valid_mask","offset":69,"size":3,"type":"bytes"},{"count":27,"name":"ct_raw","offset":72,"size":54,"type":"u16"},{"count":4,"name":"ct_valid_mask","offset":126,"size":4,"type":"bytes"},{"count":24,"name":"ptc_requested","offset":130,"size":24,"type":"u8"},{"count":24,"name":"ptc_applied","offset":154,"size":24,"type":"u8"},{"count":4,"name":"front_requested","offset":178,"size":4,"type":"u8"},{"count":4,"name":"front_applied","offset":182,"size":4,"type":"u8"},{"count":4,"name":"rear_requested","offset":186,"size":4,"type":"u8"},{"count":4,"name":"rear_applied","offset":190,"size":4,"type":"u8"},{"count":3,"name":"safety_override_mask","offset":194,"size":3,"type":"bytes"},{"name":"lane_fault_mask","offset":197,"size":1,"type":"u8"},{"name":"global_fault","offset":198,"size":1,"type":"u8"}],"payload_length":199},"watchdog":{"only_feed_on_successful_set_all":true,"seconds":30},"wire":{"commands":{"EVENT_CLEAR":{"product_behavior":"UNSUPPORTED","type":9},"EVENT_READ":{"product_behavior":"UNSUPPORTED","type":8},"GET_ALL":{"payload_length":0,"response":["ACK_NACK","ALL_STATUS_DATA"],"response_order":"ack_after_snapshot_latch_then_data","type":2},"MOTOR_CONTROL":{"product_behavior":"UNSUPPORTED","type":4},"MOTOR_QUEUE_WRITE":{"product_behavior":"UNSUPPORTED","type":3},"OUTPUT_KEEPALIVE":{"feeds_watchdog":true,"payload_length":0,"response":"ACK_NACK","type":5},"SET_ALL":{"payload_fields":[{"count":24,"maximum":100,"minimum":0,"name":"ptc_duty_percent","offset":0,"unit":"percent"},{"count":4,"maximum":100,"minimum":0,"name":"front_fan_duty_percent","offset":24,"unit":"percent"},{"count":4,"maximum":100,"minimum":0,"name":"rear_fan_duty_percent","offset":28,"unit":"percent"}],"payload_length":32,"response":"ACK_NACK","type":1},"UNLISTED_TYPES":"UNSUPPORTED"},"host_i2c":{"address_7bit":42,"clock_stretching":false,"connector":"CON36","modes_khz":[100,400],"pointer_byte_order":"msb_first","register_address_width_bits":16,"repeated_start":true,"scl":{"board_net":"FAN_GPIO16","connector_pin":4,"fpga_ball":"B12"},"sda":{"board_net":"FAN_GPIO15","connector_pin":3,"fpga_ball":"C12"},"sda_drive":"low_or_hiz_only","sequential_read":true,"sequential_write":true},"responses":{"ACK_NACK":{"payload":["request_type","status","detail_u16le"],"payload_length":4,"status":{"BAD_AXIS":6,"BAD_LENGTH":2,"BAD_MODE":7,"BAD_REGISTER":8,"BAD_VALUE":3,"BUSY":4,"NOT_READY":9,"OK":0,"QUEUE_FULL":5,"UNSUPPORTED":1},"thermal_lock_mapping":{"detail_distinguishes_thermal_lock":true,"legacy_safety_locked":"NOT_READY"},"type":128},"ALL_STATUS_DATA":{"payload_contract":"6400-snapshot.yaml","type":129},"EVENT_DATA":{"product_behavior":"UNSUPPORTED","type":131},"RESPONSE_TYPES_ARE_REQUESTS":"UNSUPPORTED"},"uart":{"ack_type":6,"baud":921600,"crc":"CRC-16/CCITT-FALSE","format":"8N1","get_snapshot_type":2,"header":[165,90],"removed_type":4,"reserved_type":3,"set_all_payload_bytes":32,"set_all_type":1,"snapshot_type":130}}}
|