Abstract

During the inspection stage, an integration test is performed on electronic automobile parts that have passed a unit test. The faults found during this test are reported to the developer, who subsequently modifies the source code. If the tester provides the developer with memory usage information (such as functional symbol or interface signal), which works differently from normal operation in failed Hardware-in-the-Loop (HiL) testing (even when the tester has no source code), that information will be useful for debugging. In this paper, we propose a fault localization method for automotive software in an HiL environment by comparing the analysis results of updated memory between units and integration tests. Analyzing the memory usage of a normally operates unit test, makes it possible to obtain memory-updated information necessary for the operation of that particular function. By comparing this information to the memory usage when a fault occurs during an integration test, erroneously operated symbols and stored values are presented as potential root causes of the fault. We applied the proposed method to HiL testing for an OSEK/VDX-based electronic control unit (ECU). As a result of testing using fault injection, we confirmed that the fault causes can be found by checking the localized memory symbols with an average of 5.77%. In addition, when applying this methodology to a failure that occurred during a body control module (BCM) (which provides seat belt warnings) test, we could identify a suspicious symbol and find the cause of the test failure with only 8.54% of localized memory symbols.

Highlights

  • As the number of electronic control units (ECU) in automobiles increases, so does the functional complexity of automotive software

  • We propose a method of fault localization for automotive software in an HiL

  • We focus on fault localization in the integration test by but faults were found in the integration test

Read more

Summary

Introduction

As the number of electronic control units (ECU) in automobiles increases, so does the functional complexity of automotive software. It is difficult to apply the conventional when a fault occurs method during the test, a method that does not use the source code and the operation debugger source-code-based of to in order to understand the internal are needed without affecting the test flow performed on the test script basis. We propose a method of fault localization for automotive software in an HiL environment This is accomplished by comparing analysis results of updated memory between a normal unit test and a failed integration test without the source code. We can provide debugging information for suspicious symbols and memory usage in an ECU/SW integration test in the HiL environment.

Related Work
Software Fault Localization
Fault Localization Process
Data Collection
Data Analysis Case ID
Dataside
Static
Static Analysis of the Execution File
Computation of Memory-Updated Information
Fault Localization Method Using Memory Updates
Data from Test Specification and Memory Updates
Identification of Input-Driven Updated Range
13: END FOR
Evaluation
Testbed for Fault Injection
Experimental Result
Memory-Updated of Unit
10. Unit of “Left
Finding
Conclusions
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call