Clifford-Swartz/peripheral-pretender
QEMU digital twin of Microchip dev boards and MikroE Click boards, checked against silicon: live board view, logic-analyzer timeline, fault injection, exact replay, VS Code extension, MCP (personal project)
Featured achievements
The project's latest awards
#1 Repository of the week
#1 Repository of the week
#1 Repository of the week
🖥️ QEMU digital twin for Microchip dev boards
Run firmware on virtual board, no hardware needed.
Peripheral Pretender emulates PIC32CM, SAM E51, AVR boards, 38 MikroE Clicks in QEMU. Boots ELF unchanged, matches silicon byte for byte. Live board view shows LEDs, buttons, COM port. Logic analyzer timeline captures pin edges, bus traffic, interrupts.
✨ Highlights
- Runs firmware unchanged: ELF boots on QEMU models, peripherals match silicon.
- Live board view: Rendered from production Gerbers, LEDs follow pins, buttons click, COM port console.
- Logic analyzer timeline: Pin edges, UART, SPI, I2C, interrupts stamped with firmware time, zoomable.
- Fault injection: Short pins, NACK I2C, stuck MISO, observe error handling.
- Exact replay: Record inputs, replay event for event, diff first divergence.
- Analog in loop: SPICE circuits run in ngspice lockstep with chip.
- VS Code debugging: Breakpoints, stepping, auto-pickup new build.
- MCP server: AI assistants add boards, plug Clicks, run firmware, read timeline, inject faults.
💡 Why it matters
Enables CI testing without hardware. Catches edge cases early.
Reproducible runs turn flaky bugs into deterministic failures. Integration with VS Code and AI assistants streamlines embedded development.
#avr #qemu #embedded #TiniX
Similar Projects
Discover other similar projects and AI models.
Reverse engineer anything with agents, from app behavior down to native binaries.
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io
Your Gateway to Embedded Software Development Excellence :alien:
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Python tool for converting files and office documents to Markdown.