Skip to Main Content

Firmware bugs are the most expensive bugs in the room: a wrong prescaler or a misconfigured clock ships silently, and you find out on the bench — or in the field. AI chatbots don't help, they guess register values with total confidence and zero accountability. ChipLlama flips that deal. You describe what the chip should do in plain English — "Timer1 interrupt every 10 ms, priority 5" — and it generates register-exact C, then proves it: a deterministic reference solver computes the right answer, Meta Muse Spark writes the code with real datasheet pages attached as images, the actual Microchip XC16 compiler builds it, a register emulator replays the init sequence, and a rule checker diffs the result against the solver. Anything off — a U1BRG off by one, a wrong ISR name, a PPS conflict — goes back to the model with the exact findings until everything passes. Only then is the code marked VERIFIED and exported as an MPLAB X project. One dashboard covers the whole bring-up loop: Generate (verified drivers), Blocks (visual programming, same checker), Audit (existing code scored with datasheet-cited fixes), Explain (every register access decoded), Pin planner (PPS/JTAG/ICS conflicts + init code), Reverse debug (drop an SFR or scope screenshot — vision transcribes it twice, ChipLlama recomputes every number and names the fault), and Circuit (schematic + live ERC + HAL project + BOM). It already spans PIC24, dsPIC33, PIC18 and PIC32, plus Arduino AVR, STM32 and ESP32 family plugins. Proven, not promised: 559 tests green, Timer1/UART1/SPI1 and screenshot debug verified live against the real toolchain. Demo: https://youtu.be/TNuwFj-aAUs · Code (MIT): https://github.com/RafaelMarian/ChipLlama Where it goes next: deeper family coverage (dsPIC33C, PIC32MK, STM32H7, ESP32-S3/C6, RP2040, AVR Dx) with a family-aware pin planner across all of them; harder peripherals (USB stacks, CAN-FD, Ethernet, motor control tuned from scope shots); true hardware-in-the-loop via PICkit 5 — flash, read back the silicon, verify the prediction against reality; meeting engineers where they live with an MPLAB X plugin, a VS Code extension and a CI action that verifies firmware pull requests; and community rule packs so every board gets its own expert auditor.

Team

RafaelVanca

More from Meta Global AI Developer Hackathon

Cardo turns the world around you into Kurdish flashcards. Kurdish is spoken by tens of millions of people, but it has very few learning tools, and most…

Kurdolingo project preview

oqed is an LLM-guided superoptimizer for x86-64. You point it at a C or C++ project and it does the rest: - builds the project and runs its workload…

oqed project preview

Playtest Agent plays a game from screenshots, looks for bugs, then replays each report and has a judge check it. I make games alone. Solo developers and…

Adrian project preview

Open-source npm malware detection on Meta's models: a live monitor that flags new malware about a day before the public lists, a Muse agent that investigates…

Gatekeeper project preview

Video2URDF turns one short phone video of a real articulated object (a laptop lid, a drawer, a desk lamp, a microwave door) into a measured URDF/MJCF a robot…

Video2URDF project preview

Glimmer Scope opens up Muse Glimmer 30B so you can see and steer the concepts it thinks with. I trained sparse autoencoders on nine layers of Glimmer's…

Kroonen AI project preview