Using virtual prototypes and metamorphic testing to verify the hardware/software-stack of embedded graphics libraries

Embedded graphics libraries are part of the Firmware (FW) of embedded systems and provide complex functionalities optimized for specific hardware. After unit testing of embedded graphics libraries, integration testing is a significant challenge, in particular since the hardware is needed to obtain the output image as well as the inherent difficulty in defining the reference result. In this paper, we present a novel approach focusing on integration testing of embedded graphic libraries. We leverage Virtual Prototypes (VPs) and integrate them with Metamorphic Testing (MT). Metamorphic Testing (MT) is a software testing technique that uncovers faults or issues in a system by exploring how its outputs change under predefined input transformations, without relying on explicit oracles or predetermined results. In combination with virtualizing the displays in VPs, we even eliminate the need for physical hardware. This allows us to develop a Metamorphic Testing (MT) framework automating the verification process. In our evaluation, we demonstrate the effectiveness of our Metamorphic Testing (MT) framework. On an extended RISC-V Virtual Prototype (VP) for the GD32VF103VBT6 platform, we found 15 distinct bugs for the widely used TFT_eSPI embedded graphics library, confirming the strength our approach. We finish the evaluation of our Metamorphic Testing (MT) approach by discussing the achieved structural coverage for function, line and branch coverage. • Introducing a novel approach focusing on integration testing of embedded graphics libraries encom-passing the entire hardware/software stack. • Using Virtual Prototypes to eliminate the need for physical hardware and visual inspection. • Using Metamorphic Testing to circumvent the need of reference models. • Defining comprehensive Metamorphic Relations tailored for embedded graphics libraries. • Revealing 15 unknown bugs in the widely-used TFT eSPI embedded graphics library.

Authors

Institutions

Publication Details

Journal
Integration
Published
2024-12-10
DOI
https://doi.org/10.1016/j.vlsi.2024.102320
Citations
5
Primary Topic
Embedded Systems Design Techniques
Type
article
Field-Weighted Citation Impact
2.45
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Using virtual prototypes and metamorphic testing to verify the hardware/software-stack of embedded graphics libraries

Christoph Hazott, Florian Stögmüller, Daniel Große
5 citations
Integration
Embedded Systems Design Techniques
2.45
article

Using virtual prototypes and metamorphic testing to verify the hardware/software-stack of embedded graphics libraries

Christoph Hazott, Florian Stögmüller, Daniel Große
article en
5 citations

Abstract

Embedded graphics libraries are part of the Firmware (FW) of embedded systems and provide complex functionalities optimized for specific hardware. After unit testing of embedded graphics libraries, integration testing is a significant challenge, in particular since the hardware is needed to obtain the output image as well as the inherent difficulty in defining the reference result. In this paper, we present a novel approach focusing on integration testing of embedded graphic libraries. We leverage Virtual Prototypes (VPs) and integrate them with Metamorphic Testing (MT). Metamorphic Testing (MT) is a software testing technique that uncovers faults or issues in a system by exploring how its outputs change under predefined input transformations, without relying on explicit oracles or predetermined results. In combination with virtualizing the displays in VPs, we even eliminate the need for physical hardware. This allows us to develop a Metamorphic Testing (MT) framework automating the verification process. In our evaluation, we demonstrate the effectiveness of our Metamorphic Testing (MT) framework. On an extended RISC-V Virtual Prototype (VP) for the GD32VF103VBT6 platform, we found 15 distinct bugs for the widely used TFT_eSPI embedded graphics library, confirming the strength our approach. We finish the evaluation of our Metamorphic Testing (MT) approach by discussing the achieved structural coverage for function, line and branch coverage. • Introducing a novel approach focusing on integration testing of embedded graphics libraries encom-passing the entire hardware/software stack. • Using Virtual Prototypes to eliminate the need for physical hardware and visual inspection. • Using Metamorphic Testing to circumvent the need of reference models. • Defining comprehensive Metamorphic Relations tailored for embedded graphics libraries. • Revealing 15 unknown bugs in the widely-used TFT eSPI embedded graphics library.

IntegrationVol. 101
Johannes Kepler University of Linz (AT)
Openalex Percentile: Top 9%
Embedded Systems Design Techniques
2.45
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Using virtual prototypes and metamorphic testing to verify the hardware/software-stack of embedded graphics libraries — Christoph Hazott, Florian Stögmüller, et al. · Integration (2024) | TGRS Research Map | TGRS