Episode 11: debugging embedded systems using AI
Ryan and Luca explore practical techniques for using AI to debug embedded systems – from analyzing breadboard photos to parsing UART output and managing complex debugging workflows. LLMs work best as force multipliers rather than replacements for engineering expertise: they handle tedious tasks like adding printf statements, analyzing logs, and decoding resistor color codes, while the engineer guides the process and catches mistakes.
A key theme is context management: balancing deterministic scripts for repeatable tasks with non-deterministic AI analysis, and using separate sessions to keep debugging focused. We share cautionary tales of LLMs getting stuck in loops or reverting to common patterns despite specific instructions – human oversight remains essential. Experienced engineers benefit most because they can effectively steer the LLM and recognize when it goes off track.
Key Topics:
- [02:30] Debugging hardware via photos – having LLMs identify wiring errors on breadboards
- [06:45] The rubber duck effect – LLMs as interactive debugging partners
- [11:20] Printf debugging with AI – adding debug statements and analyzing UART output
- [15:40] Context management – separate sessions, distilled datasheet summaries
- [22:15] LLM failure modes – loops, pattern reversion, ignoring specific instructions
- [28:30] Force multiplier vs. replacement – why experience matters more with AI tools
- [33:50] Deterministic scripts + non-deterministic AI analysis
- [38:20] Future: webcams and oscilloscope screenshots for real-time hardware debugging
Notable Quotes:
" It’s like the over-eager intern – it’s a little naive, but it can type like the devil." — Luca Ingianni
" You cannot use an LLM as a replacement for your brain or for your experience, but you can use it as a force multiplier." — Luca Ingianni
" The LLM does not have that emotional connection to the code. I don’t think people understand how emotional that connection is." — Ryan Torvik
Resources Mentioned:
- Claude Code (Anthropic) – AI coding assistant used for debugging, image analysis, and code generation
- Arduino/Elegoo Development Boards – hardware platforms discussed in context of voltage compatibility debugging
- Agile Embedded Podcast – Luca’s podcast on agile practices in embedded development
Listen
Hosts
Ryan Torvik
Software engineer with over two decades in cybersecurity and embedded systems. Former principal engineer at Raytheon Intelligence & Space, now founder of Tulip Tree Technology, building CodeForge - an AI-powered edge-case discovery tool for embedded systems.
Tulip Tree Technology • LinkedIn
Luca Ingianni
Aerospace engineer working across embedded systems in aerospace, automotive, medical, and industrial sectors. Agile and DevOps practitioner since 2009, now coaching teams on AI integration in embedded development. Co-host of the Agile Embedded Podcast and TÜV-certified in AI.
luca.engineer • Agile Embedded Podcast • LinkedIn
Subscribe & Follow
Never miss an episode! Subscribe on your favorite platform:
Get in Touch
Have questions, feedback, or topics you'd like us to cover?
Email: info@embeddedaipodcast.com
199a9f9 @ 2026-03-21