CUnit test framework development for Aurix microcontroller

OData support
Gincsainé Dr. Szádeczky-Kardoss Emese
Department of Control Engineering and Information Technology

Nowadays Electronic Control Units (ECUs) play much more crucial roles in the automotive industry. Such a controller unit is responsible for the Electrical Power Steering System. In these modules machine code compiled from Embedded C language is run. These systems must be safety critical, so the programs must be tested thoroughly. In order to run the tests, some drivers must be implemented. A driver is an interface between hardware and software.

The tests are run over PC and over a so-called targetboard, which contains the microcontroller and contains the necessary hardware components for working. This controller is going to the market ready products.

In this thesis I’m going to describe the controller from Aurix microprocessor family (which is made by Infineon Company), and the software testing stream.

In this thesis I describe the reasons for and mechanism of the software testing, and the types of tests. In the next chapter I speak about hardware and software tools, which I used for the work. The next chapter is about the microcontroller. It describes the hardware modules and the startup sequence of the controller. In he fourth chapter I specify the work of the UART (Universal Asynchronous Receiver Transmitter) communication. After that I’m going to describe the self-made software modules’ (drivers) and programs’ structure and usage. The appendices don’t attach closely to the theme of this thesis, but they help to understand that.


Please sign in to download the files of this thesis.