Embedded AI Podcast· Folge 11

E11 debugging embedded systems using AI

Freitag, 20. März 2026 · 44 min

MP3

Shownotes

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:
• [] Debugging hardware via photos -- having LLMs identify wiring errors on breadboards
• [] The rubber duck effect -- LLMs as interactive debugging partners
• [] Printf debugging with AI -- adding debug statements and analyzing UART output
• [] Context management -- separate sessions, distilled datasheet summaries
• [] LLM failure modes -- loops, pattern reversion, ignoring specific instructions
• [] Force multiplier vs. replacement -- why experience matters more with AI tools
• [] Deterministic scripts + non-deterministic AI analysis
• [] 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

0:00 / 0:00