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, Master of science program in Electronic Engineering, 2025
|
Preview |
PDF (Tesi_di_laurea)
- Thesis
Licence: 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
Relators
Academic year
Publication type
Number of Pages
Course of studies
Classe di laurea
Aziende collaboratrici
URI
![]() |
Modify record (reserved for operators) |
