Back to Trending
RepositoryPython
Clifford-Swartz

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)

57stars
8forks
0issues
0views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: avr

#1 Repository of the week

1
TINIX TRENDING·Topic: pic32

#1 Repository of the week

1
TINIX TRENDING·Topic: microchip

#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.

RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

487.0k
Dec 2, 2026
RepositoryJavaScript
Snailclimb/JavaGuide

Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发

159.7k
Nov 27, 2026
RepositoryRust
farion1231/cc-switch

A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode,DeepSeek Harness and more. Only official website: ccswitch.io

158.7k
Dec 2, 2026
RepositoryPython
platformio/platformio-core

Your Gateway to Embedded Software Development Excellence :alien:

9.6k
Nov 9, 2026
RepositoryJavaScript
RoutineMiku/apkstart

Windows 上的安卓应用运行器:双击 APK 即装,应用以独立窗口与桌面图标运行,自持 QEMU 运行时

11.0k
Dec 1, 2026
RepositoryC
avrdudes/avrdude

AVRDUDE is a utility to program AVR microcontrollers

1.2k
Nov 24, 2026
RepositoryJavaScript
affaan-m/ECC

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

315.1k
Dec 1, 2026
RepositoryPython
microsoft/markitdown

Python tool for converting files and office documents to Markdown.

199.5k
Dec 2, 2026
RepositoryC
raysan5/raylib

A simple and easy-to-use library to enjoy videogames programming

35.8k
Nov 25, 2026