In English

Software implemented fault injection for AUTOSAR based systems

Johan Haraldsson ; Sigurjon Thorvaldsson
Göteborg : Chalmers tekniska högskola, 2012. 48 s.
[Examensarbete på avancerad nivå]

This master’s thesis describes the design and implementation of a software implemented fault injection tool, which can be used to perform robustness testing on application software components in embedded systems based on the AUTOSAR standard architecture. The thesis analyses the AUTOSAR standard in order to identify mechanisms, which can be used at run-time in order to inject faults. Three techniques are identified: the use of wrappers, the use of trace hooks and modification of the run-time environment. The wrapper technique was found to be most suitable and therefore implemented in a prototype fault injection tool. The fault injection tool is evaluated on two applications. The first application is a calculator application residing on a single electronic control unit, and the second application is a brake-by-wire system distributed over several electronic control units. The validation shows that the tool is successful in injecting faults into the interfaces of application software components, and that it can emulate hardware faults by causing the same reactions in the brake-by-wire system as an open circuit fault. Furthermore, it shows that it is possible to automate the wrapper generation by processing AUTOSAR XML configuration files and that an AUTOSAR complex device driver component can be efficiently utilised as an embedded fault injection controller in order to achieve performance, low intrusion and portability.

Publikationen registrerades 2012-10-09. Den ändrades senast 2013-04-04

CPL ID: 164544

Detta är en tjänst från Chalmers bibliotek