Hardware debugging

An agent that debugs the hardware, not just the code

Ask in plain English. sven starts the debug server, loads your firmware, sets breakpoints, reads registers and memory on the running target, and cleans up after itself.

$ sven "find the parameters passed to the UART TX function on the target"
  • Your probe, your server

    J-Link, OpenOCD or pyOCD: sven starts the GDB server for your probe, or attaches to one that is already running.

  • Symbolic, on real silicon

    With a firmware ELF that has debug symbols, it breaks on functions by name and reads the parameters they were called with.

  • In the same session as the code

    The change you just made and the debug session that checks it happen in one conversation, without switching tools.

sven driving a GDB session against an embedded target