Fault Localization Method by Partitioning Memory Using Memory Map and the Stack for Automotive ECU Software Testing
Autor: | Ki-Yong Choi, Jung-Won Lee, Kwanhyo Kim |
---|---|
Rok vydání: | 2016 |
Předmět: |
Engineering
Flat memory model Page fault ComputerApplications_COMPUTERSINOTHERSYSTEMS 02 engineering and technology Overlay fault localization lcsh:Technology lcsh:Chemistry Memory address 0202 electrical engineering electronic engineering information engineering General Materials Science memory update lcsh:QH301-705.5 Instrumentation Fluid Flow and Transfer Processes Electronic Control Unit (ECU) lcsh:T business.industry Process Chemistry and Technology General Engineering 020206 networking & telecommunications 020207 software engineering Memory map lcsh:QC1-999 automotive software embedded testing memory map Hardware in the Loop (HiL) Computer Science Applications Extended memory lcsh:Biology (General) lcsh:QD1-999 lcsh:TA1-2040 Embedded system Virtual memory lcsh:Engineering (General). Civil engineering (General) business Segmentation fault lcsh:Physics |
Zdroj: | Applied Sciences; Volume 6; Issue 9; Pages: 266 Applied Sciences, Vol 6, Iss 9, p 266 (2016) |
ISSN: | 2076-3417 |
Popis: | Recently, the usage of the automotive Electronic Control Unit (ECU) and its software in cars is increasing. Therefore, as the functional complexity of such software increases, so does the likelihood of software-related faults. Therefore, it is important to ensure the reliability of ECU software in order to ensure automobile safety. For this reason, systematic testing methods are required that can guarantee software quality. However, it is difficult to locate a fault during testing with the current ECU development system because a tester performs the black-box testing using a Hardware-in-the-Loop (HiL) simulator. Consequently, developers consume a large amount of money and time for debugging because they perform debugging without any information about the location of the fault. In this paper, we propose a method for localizing the fault utilizing memory information during black-box testing. This is likely to be of use to developers who debug automotive software. In order to observe whether symbols stored in the memory have been updated, the memory is partitioned by a memory map and the stack, thus the fault candidate region is reduced. A memory map method has the advantage of being able to finely partition the memory, and the stack method can partition the memory without a memory map. We validated these methods by applying these to HiL testing of the ECU for a body control system. The preliminary results indicate that a memory map and the stack reduce the possible fault locations to 22% and 19% of the updated memory, respectively. |
Databáze: | OpenAIRE |
Externí odkaz: |