protocol-emulator

Protocol corpus

Drawn: picked from sigrok's decoders by drand round 33346612 (demo/corpus_draw_33346612.json). Held out: sealed in test/heldout.sha256 on 2026-10-02 and opened on 2026-11-02 (test/heldout.txt). Invented spec: written for a blind rehearsal on 2026-10-18, with no public datasheet. The rest is the library. The drawn and held-out runs are on Flexibility.

protocoloriginfirmwarecertifiedlimitslimits failedspec to certificatespec to benchboard runswitnessed in CI
uart136140--11
spi3300--00
i2c169460--33
usb3300--11
edge_meter1100--00
ws28123280--11
ethernet2100--00
one_wire2180--11
ps2216049.5 min53.0 min00
jtag1100--00
can4170--11
dshot1100--00
sent1100--00
cec21100--00
spi_cs128240--33
spi_target8800--00
swd2120--11
tables2200--00
nec420032.2 min-11
snorbleinvented spec2110086.5 min-00
plinkooinvented spec110069.8 min-00
microwiredrawn2131018.8 min6.0 days11
ir_rc6drawn210038.6 min5.9 days11
caliperdrawn215016.6 min5.9 days11
xy2_100drawn212018.0 min5.8 days11
lfastdrawn21208.0 min5.8 days11
tdm_audiodrawn210015.5 min71.8 min11
usb_fs1100--00
daliheld out212019.4 min-11
linheld out218045.3 min-11
spdifheld out213031.8 min-11
usb_power_deliveryheld out217016.7 min-11
dmx512held out2111041.2 min-11
wiegandheld out210016.7 min-11
swd_blindheld out217022.0 min-11
ir_necheld out2112030.9 min-11
tlc56202170--00
modbus_rtu2120--00
avr_isp2130--00
midi2120--00

Times are the first mark of each stage in demo/speed.tsv; a protocol nobody timed has no row.

Board witnesses tied to no protocol page

test/boardtimedemoresultcommitwindows provedteeth
can_node2026-11-03T07:59:33can_nodePASSb938551d485 of 7 (5 spec)CAN R inverted over the first data byte's fourth bit; an edge of the first frame a quarter bit late
eth_rx2026-11-03T08:20:32eth_rxPASSb938551d48-frame 0's first byte handed back with its low bit flipped; frame 9, its FCS bad, said to be judged good
fault_release2026-11-11T13:41:16fault_releasePASS67c070de34-SWDIO driven low again for 1 ms, 0.5 s after its rise; the blink held still from 1 s after SWDIO's rise; the log's start leaving engine 0 running
kernel_vs_board2026-11-07T18:52:43kernel_vs_boardPASS87f76069e5-the first variant that ran printed with an edge out of its window; the first refused variant printed as started anyway; the first refused variant printed as run on time; the first refused variant printed as refused a pc later; the last row dropped; run.txt's last run on another bitstream
spdif_ac32026-11-10T16:26:31spdif_ac3PASSeae2b6ed067 of 9 (1 spec, 4 own, 2 derived)the burst's first word's bits 4 and 5 cleared; the first half slot cut to a sample
spdif_codecs2026-11-11T12:48:51spdif_codecsPASS53b620ec626 of 9 (1 spec, 3 own, 2 derived)the burst's first word's bits 4 and 5 cleared; the first half slot cut to a sample
start_hold_hw2026-11-11T13:22:47start_hold_hwPASS77f3c194412 of 2 (1 spec, 1 own)SDA held high throughout; the first START's SCL fall moved to 3 us
start_hold_pio2026-11-11T13:22:27start_hold_pioFAIL77f3c194412 of 2 (2 own)SDA held high throughout; the first START's SCL fall moved to 4.2 us
usb_fs_device2026-11-11T13:56:57usb_fs_devicePASSd93077a921-one digit of the descriptors the host read changed; the host seeing a low speed device; the log without its configured line

Learn runs on the board

test/boarddemodecoded
learn_clockedlearn_clockedspi-1: A5 spi-1: 01 spi-1: 00 spi-1: 6B
learn_modbuslearn_modbusmodbus-1: Start at address 0x301; modbus-1: CRC correct
learn_neclearn_necir_nec-1: Address: 0x00; ir_nec-1: Command: 0x41
learn_pt2262learn_pt2262rc_encode-1: 0 rc_encode-1: A0 rc_encode-1: f rc_encode-1: A1 rc_encode-1: 0 rc_encode-1: A2 rc_encode-1: f rc_encode-1: A3 rc_encode-1: 0 rc_encode-1: A4 rc_encode-1: f rc_encode-1: A5 rc_encode-1: 0 rc_encode-1: A6/D5 rc_encode-1: f rc_encode-1: A7/D4 rc_encode-1: f rc_encode-1: A8/D3 rc_encode-1: 0 rc_encode-1: A9/D2 rc_encode-1: f rc_encode-1: A10/D1 rc_encode-1: 0 rc_encode-1: A11/D0 rc_encode-1: Sync
learn_rc5learn_rc5ir_rc5-1: Address: 5 (Video cassette recorder 1) ir_rc5-1: Command: 0 (0)
learn_rc6learn_rc6ir_rc6-1: Address: 00 ir_rc6-1: Data: 0A

Hashes of every page: corpus.sha256.