Skip to Main Content

Rafael Vanca

Built at Meta Global AI Developer Hackathon · Oct 26, 2026 · Remote

Rafael Vanca — Demo video

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