An Investigative Study of Software- and Hardware-Based Dependencies in Automotive Software
| dc.contributor.author | De Muinck, Friso | |
| dc.contributor.author | Lindvall, Alexandra | |
| dc.contributor.department | Chalmers tekniska högskola / Institutionen för data och informationsteknik | sv |
| dc.contributor.department | Chalmers University of Technology / Department of Computer Science and Engineering | en |
| dc.contributor.examiner | Ali-Eldin Hassan, Ahmed | |
| dc.contributor.supervisor | Ali-Eldin Hassan, Ahmed | |
| dc.date.accessioned | 2026-07-08T12:13:44Z | |
| dc.date.issued | 2026 | |
| dc.date.submitted | ||
| dc.description.abstract | Modern vehicles are increasingly software driven, shifting Electronic Control Unit (ECU) development toward virtualized environments to enable pre-silicon testing and bypass physical hardware bottlenecks. This thesis investigates the portability barriers of retrofitting a production-level Basic Software (BSW) stack from Volvo AB onto a virtualized Infineon TC39x microcontroller using a Synopsys Virtualizer Development Kit (VDK). The success of the virtualization was evaluated against two primary criteria. These were verification of hardware initialization and successful deployment of the Operating System (OS) scheduler. The investigation revealed a distinct difference between the static initialization and dynamic execution phases of the software. During the static phase, procedural hardware dependencies were successfully mitigated. By developing Python-based workaround scripts to intercept memory-mapped Input/Output (I/O) and bypass simplified hardware ”stub modules” (the Memory Test Unit (MTU) and Power Management System (PMS)), execution time was iteratively extended. Furthermore, a ”warm start” memory injection strategy was implemented, capturing and mapping 7.45 MB of active Program and Data Flash from a physical reference ECU to overcome missing boot-sequence calibrations and diagnostic resets. This low-level register and memory manipulation enabled the virtual target to execute past early hardware checks and successfully initiate the OS on Core 0. However, when entering the dynamic phase at approximately 84 ms of runtime, the system encountered a terminal ”dependency explosion”. As execution transitioned to an asynchronous, event-driven environment, the OS kernel stalled due to missing timing-synchronized feedback from the Generic Timer Module (GTM) and Controller Area Network (CAN) controllers. This proves that functional stubbing is insufficient for Real-Time Operating System (RTOS) execution without synchronized peripheral simulations. Ultimately, this work documents the ”Retrofitting Trap” of forcing hardware-coupled binaries into virtual environments, highlighting the necessity for an industry paradigm shift toward simulation-aware, modular Hardware Abstraction Layer (HAL) to support scalable, cloud-native validation of software-defined vehicles. | |
| dc.identifier.uri | https://hdl.handle.net/20.500.12380/311940 | |
| dc.language.iso | eng | |
| dc.setspec.uppsok | Technology | |
| dc.subject | Computer, science, computer science, engineering, project, thesis, virtual ECU, Paravirtualization, BSW, hardware dependencies, Infineon AURIX TC39x, real-time operating system, software-defined vehicles | |
| dc.title | An Investigative Study of Software- and Hardware-Based Dependencies in Automotive Software | |
| dc.type.degree | Examensarbete för masterexamen | sv |
| dc.type.degree | Master's Thesis | en |
| dc.type.uppsok | H | |
| local.programme | Embedded electronic system design (MPEES), MSc |
