论文部分内容阅读
嵌入式操作系统Linux下扩展各类CAN总线设备,需设计相应的驱动程序.SJA1000为常用的CAN总线控制器,通过SJA1000详细研究分析了嵌入式操作系统中设备管理和驱动程序的特点,以及Linux下CAN设备驱动程序的开发流程和技巧,并结合CAN总线技术的特点,设计了相关的重要数据结构和操作代码.最后介绍了把驱动程序编译添加进uClinux内核的方法,实现了CAN设备的驱动.“,”To expand all kinds of CAN devices in the embedded operation system of Linux should design the corresponding driver. SJA1000 is commonly used CAN controller, taking it for example, the management of the device and characteristic of the driver in the embedded operation system are researched and analyzed in detail, including the development procedure and skill of CAN device driver in the uClinux. The relevant important data structure and operating code is written which is combined the technological characteristic of CAN bus. Finally, the method of compiling and adding the driver into uClinux kernel is introduced, the normal work of CAN devices is realized.