Lin Bus Testing Software

In our days the microcontrollers are widely used in many domains. For example a modern automobile includes tens of microcontrollers. The communication between them is done via serial buses, one variant being the LIN (local interconnect network) bus. In order to build, debug and test LIN based multi-microcontroller systems, tools are necessary. The paper presents a dedicated tool through which a PC can test and debug a LIN bus. Starting from a given hardware, a LIN bus testing software was conceived and implemented. The LIN tester has two working modes: passive and active. In the passive mode the tester doesn't interfere in LIN communication. It gets and interprets the LIN frames and sends them to the PC via a CAN interface. In the active mode the tester interferes in LIN communication. It sends LIN headers, LIN responses and generates LIN typical errors. The LIN tester has common capabilities with other similar tools and also advantages, such as injecting LIN typical errors

[1]  Christer Norström,et al.  Frame packing in real-time communication , 2000, Proceedings Seventh International Conference on Real-Time Computing Systems and Applications.

[2]  Bernd Hardung,et al.  Reuse of software in distributed embedded automotive systems , 2004, EMSOFT '04.

[3]  Ali Emadi,et al.  Electronic control units for automotive electrical power systems: Communication and networks , 2004 .

[4]  Wilfried Elmenreich,et al.  A comparison of LIN and TTP/A , 2000, 2000 IEEE International Workshop on Factory Communication Systems. Proceedings (Cat. No.00TH8531).

[5]  Jan Gustafsson,et al.  Applying static WCET analysis to automotive communication software , 2005, 17th Euromicro Conference on Real-Time Systems (ECRTS'05).

[6]  J. W. Specks,et al.  LIN-protocol, development tools, and software Interfaces for local interconnect networks in vehicles , 2000 .