The topic of my thesis was to develop an integration test environment that can automate the calibration of automotive electronic control units and measure their internal state and signals. The software uses the widespread XCP (Universal Measurement and Calibration Protocol) protocol which defines different types of communication channels for a calibration and measurement connection between the user and the unit to be tested. It also defines a standard command set for measurement and calibration processes. With the help of the test framework the time required for development can be significantly reduced by replacing the manual calibration and regression testing procedures.
I thoroughly examined the XCP standard and got familiar with the calibration concepts used in practice. The thesis also presents the the fundamental features and disadvantages of the most commonly used development tools in the current industry such as CANape and INCA.
The framework provides comprehensive support for writing and running complex test cases and offers solutions to connect control units to the test environment using a CAN bus or Ethernet connection in a simple, user-friendly way. Several tests have been implemented during the development which can be applied either as a future example or in real use.