To Örebro University

oru.seÖrebro University Publications
Change search
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf
A Realistic Simulator for Regression Testingwithin an Embedded Defence System
Örebro University, School of Science and Technology.
2025 (English)Independent thesis Basic level (professional degree), 10 credits / 15 HE creditsStudent thesis
Abstract [en]

Ensuring robustness and reliability in embedded defence systems requires extensive testing, often under conditions that are difficult or costly to replicate in the field. This thesis presents the design, implementation, and evaluation of a proof-of-concept regression testing system for Product A, a system within SAAB’s embedded defence portfolio. To address the limitations of traditional field and code-based testing, a simulator was developed to emulate Product A’s operational environment, replicating both normal and faulty behaviours of connected subsystems. The system focuses on serial communication using protocols such as Universal Asynchronous Receiver/Transmitter (UART) and Recommended Standard 232 (RS-232), combined with error-detection mechanisms like Cyclic Redundancy Check (CRC) to ensure data integrity. A complete hardware and software architecture was implemented, utilizing STM32 microcontrollers, level converters, logic analysers, and a suite of development tools including STM32CubeMX. The simulator’s modular design allows for configurable fault injection and automated regression testing, enabling systematic evaluation of Product A’s error handling and delay tolerance. Extensive testing was performed, generating comprehensive communication logs and performance metrics. These results were analysed using statistical methods and visualized to highlight system stability and error resilience. The findings demonstrate the simulator’s capability to reliably detect faults and performance anomalies, validating its effectiveness as a regression testing tool within embedded defence applications. The thesis further discusses development challenges such as integration of hardware and software components, debugging complex communication protocols, and managing project scope under time constraints. The presented solution offers a scalable, repeatable, and automated approach to regression testing, contributing to more efficient verification processes in embedded defence systems.

Place, publisher, year, edition, pages
2025.
Keywords [en]
Embedded Systems, Regression Testing, Serial Communication, Error Detection, STM32 Microcontroller, System Simulation.
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:oru:diva-121816OAI: oai:DiVA.org:oru-121816DiVA, id: diva2:1976093
Subject / course
Computer Engineering
Supervisors
Examiners
Available from: 2025-06-24 Created: 2025-06-24 Last updated: 2025-06-24Bibliographically approved

Open Access in DiVA

A Realistic Simulator for Regression Testing within an Embedded Defence System(4597 kB)337 downloads
File information
File name FULLTEXT01.pdfFile size 4597 kBChecksum SHA-512
4000c6ea85f18c8988a2704d94d9ce19a7748ad29a1e9942186510a830d3da4e8a1b20e2a55fc84000d085ad63f67556676f98796834084b515bf6f93cdac09a
Type fulltextMimetype application/pdf

By organisation
School of Science and Technology
Computer Sciences

Search outside of DiVA

GoogleGoogle Scholar
Total: 340 downloads
The number of downloads is the sum of all downloads of full texts. It may include eg previous versions that are now no longer available

urn-nbn

Altmetric score

urn-nbn
Total: 328 hits
CiteExportLink to record
Permanent link

Direct link
Cite
Citation style
  • apa
  • ieee
  • modern-language-association-8th-edition
  • vancouver
  • Other style
More styles
Language
  • de-DE
  • en-GB
  • en-US
  • fi-FI
  • nn-NO
  • nn-NB
  • sv-SE
  • Other locale
More languages
Output format
  • html
  • text
  • asciidoc
  • rtf