Amirhossein Mohtashami
Continuous Integration and Unit Testing with Hardware-in-the-Loop for Enhancing Embedded Software Quality.
Rel. Alessandro Savino, Stefano Di Carlo, Arturo Guadalupi. Politecnico di Torino, Corso di laurea magistrale in Ingegneria Elettronica (Electronic Engineering), 2025
|
Preview |
PDF (Tesi_di_laurea)
- Tesi
Licenza: Creative Commons Attribution Non-commercial No Derivatives. Download (8MB) | Preview |
Abstract
This thesis presents the design and implementation of a complete Continuous Integration (CI) workflow for automated testing and validation of embedded firmware using Hardware-in-the-Loop (HIL) techniques. While CI is widely used in software development, applying it to embedded systems introduces unique challenges due to dependencies on real hardware, timing constraints, and limited observability. The proposed system automates the full firmware testing cycle using a Go-based host orchestration tool, custom firmware (ATU) on the Arduino GIGA R1 WiFi board, and SCPI-controllable lab instruments: a Rigol DP832 power supply, DS1054Z oscilloscope, and Keithley DMM6500 multimeter. The process includes automatic sketch compilation and flashing via Arduino CLI, test command execution via serial communication, and signal validation through TCP/IP communication with the instruments.
The Go orchestration program coordinates these components to run end-to-end tests without user intervention
Relatori
Anno Accademico
Tipo di pubblicazione
Numero di pagine
Corso di laurea
Classe di laurea
Aziende collaboratrici
URI
![]() |
Modifica (riservato agli operatori) |
