Exploring and Characterizing Large Language Models For Embedded System Development and Debugging
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) have shown remarkable abilities to generate code, however their ability to develop software for embedded systems, which requires cross-domain knowledge of hardware and software has not been studied. In this paper we develop an extensible, open source hardware-in-the-loop framework to systematically evaluate leading LLMs (GPT-3.5, GPT-4, PaLM 2) to assess their capabilities and limitations for embedded system development. We observe through our study that even when these tools fail to produce working code, they consistently generate helpful reasoning about embedded design tasks. We leverage this finding to study how human programmers interact with these tools, and develop an human-AI based software engineering workflow for building embedded systems. Our evaluation platform for verifying LLM generated programs uses sensor actuator pairs for physical evaluation. We compare all three models with N=450 experiments and find surprisingly that GPT-4 especially shows an exceptional level of cross-domain understanding and reasoning, in some cases generating fully correct programs from a single prompt. In N=50 trials, GPT-4 produces functional I2C interfaces 66% of the time. GPT-4 also produces register-level drivers, code for LoRa communication, and context-specific power optimizations for an nRF52 program resulting in over 740x current reduction to 12.2uA. We also characterize the models' limitations to develop a generalizable human-AI workflow for using LLMs in embedded system development. We evaluate our workflow with 15 users including novice and expert programmers. We find that our workflow improves productivity for all users and increases the success rate for building a LoRa environmental sensor from 25% to 100%, including for users with zero hardware or C/C++ experience.
Key facts. Cited by 20 papers in the map (data through 14 Oct 2026). Builds on 37 of its 73 references that are in the map. First posted on arXiv 7 Jul 2023.
Builds on
37 of 73 references.
References · 37
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,459
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
- 2021Evaluating Large Language Models Trained on Codecited by 8,320
- 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,211
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
- 2019SuperGLUE: A Stickier Benchmark for General-Purpose Language Understanding Systemscited by 1,729
25 more
- 2023Video-LLaMA: An Instruction-tuned Audio-Visual Language Model for Video Understandingcited by 1,471
- 2023Is Your Code Generated by ChatGPT Really Correct? Rigorous Evaluation of Large Language Models for Code Generationcited by 1,391
- 2023Gorilla: Large Language Model Connected with Massive APIscited by 1,332
- 2023ImageBind: One Embedding Space To Bind Them Allcited by 1,175
- 2023PaLM 2 Technical Reportcited by 1,162
- 2022Large Language Models Are Human-Level Prompt Engineerscited by 1,045
- 2023Teaching Large Language Models to Self-Debugcited by 988
- 2023BloombergGPT: A Large Language Model for Financecited by 939
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
- 2023A Prompt Pattern Catalog to Enhance Prompt Engineering with ChatGPTcited by 619
- 2023Language Models can Solve Computer Taskscited by 372
- 2022A Systematic Evaluation of Large Language Models of Codecited by 363
- 2023Self-collaboration Code Generation via ChatGPTcited by 258
- 2023A Comprehensive Capability Analysis of GPT-3 and GPT-3.5 Series Modelscited by 246
- 2022Synchromesh: Reliable code generation from pre-trained language modelscited by 156
- 2017RobustFill: Neural Program Learning under Noisy I/Ocited by 126
- 2023CodeGen2: Lessons for Training LLMs on Programming and Natural Languagescited by 125
- 2023Large Language Models are Few-Shot Health Learnerscited by 118
- 2021Jigsaw: Large Language Models meet Program Synthesiscited by 103
- 2022Productivity Assessment of Neural Code Completioncited by 98
- 2023Improving Code Generation by Training with Natural Language Feedbackcited by 76
- 2023"It's Weird That it Knows What I Want": Usability and Interactions with Copilot for Novice Programmerscited by 64
- 2022Interactive Code Generation via Test-Driven User-Intent Formalizationcited by 50
- 2021The Language Model Understood the Prompt was Ambiguous: Probing Syntactic Uncertainty Through Generationcited by 15
- 2022Embedded Systems Education in the 2020s: Challenges, Reflections, and Future Directionscited by 4
Built on by
Citing papers per year: 2023: 2; 2024: 2; 2025: 11; 2026: 5.
20 papers.
Sort:
By area:
- 2023A Survey of Large Language Models in Medicine: Progress, Application, and Challengecited by 124
- 2025ContextAgent: Context-Aware Proactive LLM Agents with Open-World Sensory Perceptionscited by 45
- 2025AI Agentic Programming: A Survey of Techniques, Challenges, and Opportunitiescited by 28
- 2024SocialMind: LLM-based Proactive AR Social Assistive System with Human-like Perception for In-situ Live Interactionscited by 25
- 2025ProAgent: Harnessing On-Demand Sensory Contexts for Proactive LLM Agent Systems in the Wildcited by 10
- 2024EmbedGenius: Towards Automated Software Development for Generic Embedded IoT Systemscited by 6
- 2025EmbedAgent: Benchmarking Large Language Models in Embedded System Developmentcited by 5
- 2026InCoder-32B-Thinking: Industrial Code World Model for Thinkingcited by 4
- 2025Consolidating TinyML Lifecycle with Large Language Models: Reality, Illusion, or Opportunity?cited by 3
- 2025Securing LLM-Generated Embedded Firmware through AI Agent-Driven Validation and Patchingcited by 3
- 2025ProtocolLLM: RTL Benchmark for SystemVerilog Generation of Communication Protocolscited by 1
- 2025Advances in Large Language Models for Medicinecited by 1
8 more
- 2023VoCopilot: Voice-Activated Tracking of Everyday Interactionscited by 0
- 2025CrossPL: Evaluating Large Language Models on Cross Programming Language Code Generationcited by 0
- 2025AutoBridge: Automating Smart Device Integration with Centralized Platformcited by 0
- 2025Smarter, not Bigger: Fine-Tuned RAG-Enhanced LLMs for Automotive HIL Testingcited by 0
- 2026Artificial Intelligence as a Catalyst for Innovation in Software Engineeringcited by 0
- 2026Embedded Arena: Iterative Optimization via Hardware Feedbackcited by 0
- 2026Surveying GenAI-based Automation in Printed Circuit Board Design and Testcited by 0
- 2026Developing a Roadmap to an AI-first Organization: A Case Study in Embedded Software Developmentcited by 0
- 2026Developing a Roadmap to an AI-first Organization: A Case Study in Embedded Software Development25 Sep 2026
- 2026Embedded Arena: Iterative Optimization via Hardware Feedback15 Jun 2026
- 2026Surveying GenAI-based Automation in Printed Circuit Board Design and Test10 Jun 2026
- 2026InCoder-32B-Thinking: Industrial Code World Model for Thinking3 Apr 2026
- 2026Artificial Intelligence as a Catalyst for Innovation in Software Engineering11 Mar 2026
- 2025ProAgent: Harnessing On-Demand Sensory Contexts for Proactive LLM Agent Systems in the Wild7 Dec 2025
- 2025Smarter, not Bigger: Fine-Tuned RAG-Enhanced LLMs for Automotive HIL Testing27 Nov 2025
- 2025Advances in Large Language Models for Medicine23 Sep 2025
- 2025Securing LLM-Generated Embedded Firmware through AI Agent-Driven Validation and Patching12 Sep 2025
- 2025AI Agentic Programming: A Survey of Techniques, Challenges, and Opportunities15 Aug 2025
- 2025AutoBridge: Automating Smart Device Integration with Centralized Platform31 Jul 2025
- 2025CrossPL: Evaluating Large Language Models on Cross Programming Language Code Generation26 Jul 2025
8 more
- 2025ProtocolLLM: RTL Benchmark for SystemVerilog Generation of Communication Protocols9 Jun 2025
- 2025ContextAgent: Context-Aware Proactive LLM Agents with Open-World Sensory Perceptions20 May 2025
- 2025EmbedAgent: Benchmarking Large Language Models in Embedded System Development19 Apr 2025
- 2025Consolidating TinyML Lifecycle with Large Language Models: Reality, Illusion, or Opportunity?20 Jan 2025
- 2024EmbedGenius: Towards Automated Software Development for Generic Embedded IoT Systems12 Dec 2024
- 2024SocialMind: LLM-based Proactive AR Social Assistive System with Human-like Perception for In-situ Live Interactions5 Dec 2024
- 2023VoCopilot: Voice-Activated Tracking of Everyday Interactions15 Dec 2023
- 2023A Survey of Large Language Models in Medicine: Progress, Application, and Challenge9 Nov 2023
- 2025ContextAgent: Context-Aware Proactive LLM Agents with Open-World Sensory Perceptionscited by 45
- 2025AI Agentic Programming: A Survey of Techniques, Challenges, and Opportunitiescited by 28
- 2025ProAgent: Harnessing On-Demand Sensory Contexts for Proactive LLM Agent Systems in the Wildcited by 10
- 2025Securing LLM-Generated Embedded Firmware through AI Agent-Driven Validation and Patchingcited by 3
- 2025ProAgent: Harnessing On-Demand Sensory Contexts for Proactive LLM Agent Systems in the Wild7 Dec 2025
- 2025Securing LLM-Generated Embedded Firmware through AI Agent-Driven Validation and Patching12 Sep 2025
- 2025AI Agentic Programming: A Survey of Techniques, Challenges, and Opportunities15 Aug 2025
- 2025ContextAgent: Context-Aware Proactive LLM Agents with Open-World Sensory Perceptions20 May 2025
- 2023A Survey of Large Language Models in Medicine: Progress, Application, and Challengecited by 124
- 2024SocialMind: LLM-based Proactive AR Social Assistive System with Human-like Perception for In-situ Live Interactionscited by 25
- 2024EmbedGenius: Towards Automated Software Development for Generic Embedded IoT Systemscited by 6
- 2025EmbedAgent: Benchmarking Large Language Models in Embedded System Developmentcited by 5
- 2025Consolidating TinyML Lifecycle with Large Language Models: Reality, Illusion, or Opportunity?cited by 3
- 2025ProtocolLLM: RTL Benchmark for SystemVerilog Generation of Communication Protocolscited by 1
- 2025Advances in Large Language Models for Medicinecited by 1
- 2023VoCopilot: Voice-Activated Tracking of Everyday Interactionscited by 0
- 2025CrossPL: Evaluating Large Language Models on Cross Programming Language Code Generationcited by 0
- 2025AutoBridge: Automating Smart Device Integration with Centralized Platformcited by 0
- 2025Smarter, not Bigger: Fine-Tuned RAG-Enhanced LLMs for Automotive HIL Testingcited by 0
- 2026Artificial Intelligence as a Catalyst for Innovation in Software Engineeringcited by 0
12 most cited of 15 All 15 (JSON)
- 2026Developing a Roadmap to an AI-first Organization: A Case Study in Embedded Software Development25 Sep 2026
- 2026Embedded Arena: Iterative Optimization via Hardware Feedback15 Jun 2026
- 2026Surveying GenAI-based Automation in Printed Circuit Board Design and Test10 Jun 2026
- 2026Artificial Intelligence as a Catalyst for Innovation in Software Engineering11 Mar 2026
- 2025Smarter, not Bigger: Fine-Tuned RAG-Enhanced LLMs for Automotive HIL Testing27 Nov 2025
- 2025Advances in Large Language Models for Medicine23 Sep 2025
- 2025AutoBridge: Automating Smart Device Integration with Centralized Platform31 Jul 2025
- 2025CrossPL: Evaluating Large Language Models on Cross Programming Language Code Generation26 Jul 2025
- 2025ProtocolLLM: RTL Benchmark for SystemVerilog Generation of Communication Protocols9 Jun 2025
- 2025EmbedAgent: Benchmarking Large Language Models in Embedded System Development19 Apr 2025
- 2025Consolidating TinyML Lifecycle with Large Language Models: Reality, Illusion, or Opportunity?20 Jan 2025
- 2024EmbedGenius: Towards Automated Software Development for Generic Embedded IoT Systems12 Dec 2024
12 newest of 15 All 15 (JSON)