Board bring-up starts by hand. You scan the I2C bus to see who answers, read a chip ID, write a config register and read it back, toggle a pin and watch the LED. When it all works you move on, and those twenty steps are gone. Three months later a layout change breaks the same bus, and nobody remembers what "working" looked like.
The bus console's sequences keep those steps. Tick the rows that worked, save them under a name, and run them again later or export them as a pytest file with an assert for every read. The steps you clicked through on day one become the regression test.
The bus console
The bus console sits next to the captures in BenchPod Desktop (free, no account needed) and in the web app's Drive tab. It has a tab per bus, I2C, SPI, CAN and GPIO, and a log of every call underneath:
- I2C: open the pod's I2C master on two channels, scan the bus, read and write registers, send a raw transfer.
- SPI: open the SPI master on four channels and transfer bytes in any of the four SPI modes.
- CAN: bring the bus up, send frames, read what arrived.
- GPIO: set channels as inputs or outputs, drive levels, read them, wait for one, send a pulse train.
Every row in the log is one call to the pod, with what it sent and what came back. The agent's calls land in the same log, so if an AI agent found the working sequence for you, it's already there to keep.
Save the rows that worked
Each row in the log has a checkbox. Tick the ones you want (failed or declined calls can't be picked) and the Sequences panel shows Save 6 steps. Give it a name, and it's saved.
Two details make a saved sequence run on its own later:
- Setup comes with it. If the rows you picked used an I2C, CAN or UART session that you opened earlier in the log, the sequence starts with the calls that open it the way you did: the same pins, rate, pull-ups and bit rate. You don't have to remember to tick the "open" row.
- Every read keeps its answer. A sequence stores what each read saw when you recorded it: the bytes from a register read, the addresses a scan found, the level of a pin, the CAN frames that arrived.
Where it's kept depends on the app. BenchPod Desktop saves sequences on your computer, in bus-sequences.json in its data folder. Signed in to embeddedci.com, you can also share one with your organization: the other members can run it and export it, but not change it.
Run it again
Run replays the steps in order. Each step goes through the same confirmations as when you clicked it by hand, and shows up in the log the same way. A step that fails stops the run, the way a pytest test stops at its first error. A read that comes back different from the recording doesn't stop it: the step is marked as differing, with what was expected and what came back.
That's already useful without any code: after a rework, run "bring-up" on the board and see at a glance which register no longer reads what it did.
Export it as pytest
The pytest button turns the sequence into a test file. Here's what a short I2C bring-up sequence looks like when exported:
# test_read_chip_id.py: the bus console sequence "Read chip id", exported 2026-11-13.
#
# Runs with the embeddedci SDK and its pytest plugin (the `benchpod` fixture):
# pip install embeddedci
# pytest test_read_chip_id.py --benchpod-connection <host, usb or embeddedci:<pod>>
#
# Each read asserts what the pod saw when the sequence was recorded: edit the expected bytes
# and levels to what your board should return. Channel names come from the wiring profile.
from contextlib import ExitStack
def test_read_chip_id(benchpod):
bp = benchpod
with ExitStack() as stack: # closes the sessions opened below, even when an assert fails
bp.enable_pullup(1, 2) # LA1 i2c_sda, LA2 i2c_scl
stack.callback(bp.disable_pullup, 1, 2) # the pull-ups go off again at the end
i2c = stack.enter_context(bp.open_i2c(sda=1, scl=2, hz=100_000)) # LA1 i2c_sda, LA2 i2c_scl
assert i2c.read_reg(0x76, 0xd0, 1) == bytes.fromhex("58")
i2c.write_reg(0x76, 0xf4, bytes.fromhex("27"))That's ordinary code against the pytest SDK, not a recording format. The benchpod fixture comes from the embeddedci package's pytest plugin, so the same file runs against a pod on your desk, over USB, or in GitHub Actions through the cloud: only --benchpod-connection changes.
A few things the generator does that we'd otherwise do by hand:
- An assert per read. Register reads compare bytes, a scan compares the list of addresses, a GPIO read compares the pin's level, a
wait_for_levelasserts the level came in time, and a CAN read compares IDs and payloads. - NACKs are recorded too. A transfer that wasn't acknowledged when you recorded it exports as
assert not i2c.xfer(...).ack, so "nothing answers at 0x50" is a checked fact, not a missing line. - Cleanup always runs. Sessions open inside an
ExitStack, and the pull-ups get a callback to switch off again, so a failing assert never leaves the pod's I2C master open or a pull-up on for the next test. - Names are kept as comments. Channels come from the wiring profile, so
LA3 READYandLA5 LEDshow up next to the numbers.
Bigger sequences export the same way. A sequence that touches every bus exports to something like this excerpt:
assert i2c.scan(0x08, 0x77) == [0x76]
assert not i2c.xfer(0x50, bytes.fromhex("00 01"), read=2).ack # NACK when recorded
cap_9 = bp.capture_la(8192, sample_rate_hz=12_000_000, trigger=Trigger(i2c.sda, "falling"), send=i2c.send(0x76, bytes.fromhex("d0"), read=1))
assert cap_9.send_result.ok
assert cap_9.send_result.data == bytes.fromhex("58")
i2c.close()
bp.configure_gpio([5], "output", level=0) # LA5 LED
bp.set_gpio(5, 1) # LA5 LED
assert bp.wait_for_level("READY", 1, timeout=2)
with bp.open_spi(hz=1_000_000) as spi:
assert spi.transfer(bytes.fromhex("9f 00 00 00")) == bytes.fromhex("ff ef 40 18")The capture_la(..., send=...) line is a capture that triggered on its own I2C transaction, so the test keeps the waveform of the read as well as its result. A step with no SDK form (flashing a file from the desktop's firmware list, say) is written as a comment that says so, instead of being dropped silently.
The export opens in an editor first, with Copy and Download. The expected values are what your board returned on the day you recorded, so look at them before you commit the file: a register that holds a counter or a timestamp will differ on every run, and that assert belongs in the bin or behind a range check.
Where it fits
We see three ways people get to a hardware test:
| Start from | Good at | Ends as |
|---|---|---|
| The bus console | bring-up, a board you don't know yet | a sequence, then a pytest file |
| An AI agent | narrowing down a failure | the agent's calls in the log, saved as a sequence |
| Code | a test suite you plan up front | a pytest file |
They all end in the same place: a pytest file that runs the same way every time, with no person and no model in the loop. The sequence is the shortest path for the steps you'd otherwise lose.
Sequences and the pytest export need BenchPod Desktop 0.1.8 or later, and the pytest export runs with the embeddedci package from PyPI. The SDK reference is in the pytest framework docs. Every call the bus console makes is in the API reference.