| Wiring harness test instrument is a kind of device that be responsible for quality andreliability of wiring harness. By connection test principle it can eliminate invalidationproducts that can not work properly for their failure, such as open circuit, short circuit,wrong connection, loose connection and instant open circuit. As a result it improvesquality of product. Now this kind of device is widely used in wiring harness test ofhousehold appliances, communication devices, aeroplane, cars, and military equipment.This thesis mainly discusses the designing process of a kind of embedded harnesstest instrument. It includes tasks of designing the hardware of this device, portinguClinux to the hardware platform, writing Linux device drivers and debugging Linuxkernel.The exordium reviews the background of this project and its significance. Theapplication foreground of wiring hardness test instrument and the developing ofembedded system are presented in this part. Then we have introduced the connectiontest principle and the running process of wiring harness test instrument. The third partmainly describes the hardware platform of this system. The test system is implementedby S3C44B0 as a microprocessor, which integrates Ethernet interface, serial interfaceand LCD interface. The wiring hardness test module are composed by CPLDs basedupon on connection test principle. After that, the software platform has been introducedin the third part of the thesis. In this part, we mainly analyse the principle of runningbootloader, and then discuss the process of modifying uClinux source file, compilingand porting uClinux kernel. The fifth part is very important in this thesis. It analyseshow to implement Linux device drivers, especially for Linux net device driver and chardevice driver. After writing device driver for wiring harness test module and net module,we add all device drivers into Linux kernel by cross compiling toolkit. Then debug device drivers of wiring hardness test module and net module.After developing the hardware platform and porting operating system. The systemhas been tested. The uClinux OS is running well in this system. |