Electronics By Abdulbasit Shaikh Under the guidance of Asst. Prof Kiran Chavan Introduction • Nowadays vehicles contain many embedded computers. One disadvantage is that the current use of such systems becomes static after the development process and the possibility to update the system is often limited to be done by professionals at service garages. Embedded systems are getting more important in the automotive industry and as the demands from customers increase, the lack of possibilities to modify the systems creates a problem. The EU research project DySCAS1 is an attempt to solve the problem. The project started in June 2006 and will after 30 months end during the period of this Master Thesis. The overall purpose of the project is to create a middleware, SHAPE2 , to make it easier to integrate consumer electronic devices in an automotive environment. ENEA AB are involved in the project through the creation of SHAPE and the develop of a demonstration platform to test the essential ideas which the project is built on. Problem Statement • The thesis will comprise one main task and two sub tasks. All three parts lies within the area of program or modifying drivers. The primary assignment of the thesis is to: • Investigate which graphic library that best correspond to the demands from embedded systems like DySCAS and to program a prototype for 1Dynamically Self-Configuring Automotive System (DySCAS), http://www.dyscas.org/ 2 Self-configurable High Availability and Policy base platform for Embedded systems (SHAPE) 1 graphic drivers that are being used with the demonstration platform. Contributions • A brief summary of a framework to write drivers for the operating system OSE is given. There are essentially two ways to write drivers that are recommended, signal-based interface and system call interface. Based on some requirements an analysis has been made to find out which the appropriate graphics libraries are to use in embedded systems. A focus in the search has been made to suit the hardware i.MX31ADS and ENEAs operating system OSE 5. One of the requirements has been that the graphics libraries must be operating system independent as a future goal is to add a graphic HMI (Human- Machine Interface) to the middleware SHAPE. SHAPE is at the moment implemented in combination with OSE and Linux. Theory • It begins with a description of the ways to write device drivers for the operating system OSE. That knowledge is necessary to sort out several of the tasks this thesis contains. This is followed by a study of graphics libraries suitable for embedded systems. An adaption was made to especially fit the hardware, i.MX31ADS, used in the thesis graphics work. Based on the requirements of the report two graphics libraries, OpenGL ES and Mobile 3D Graphics API for Java, remain which could be combined to obtain a greater width of the range of applications. Should only one of these graphics library be used the choice is OpenGL ES, as it is adapted for applications written in low level languages. Conclusion (Result) • For the i.MX31ADS hardware there is a driver implemented for the graphics port to Linux that support displays with the same control signals (VSYNC, HSYNC) as the SHARP screen that was used during this work. The framebuffer driver, which activates the LCD Controller driver, is used by most graphics libraries (Qt, C/PEG, etc.) and let applications talk directly with the systems framebuffer. The already implemented touch screen driver also works with the panel, and other displays, which use the four pins on the LCD connection port that SHARP uses.