Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A PCI bus-based CAN device driver and method

A PCI bus and device driver technology, applied in the field of CAN device drivers based on the PCI bus, can solve problems such as intricacies, file system damage, and system crashes, and achieve the effects of good flexibility, high overall efficiency, and correctness

Active Publication Date: 2020-10-02
HUBEI SANJIANG AEROSPACE WANFENG TECH DEV
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the writing of embedded device drivers requires developers to have a deep understanding of the kernel and a lot of kernel debugging skills. An improperly written device driver can even crash the system and cause file system damage and data loss. At the same time, Since the kernel source code of the Ruihua operating system is not open to the outside world, the kernel source code is large and intricate, resulting in difficulties in the design and development of self-developed CAN device drivers, which has become an urgent problem to be solved in the development of CAN devices

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A PCI bus-based CAN device driver and method
  • A PCI bus-based CAN device driver and method
  • A PCI bus-based CAN device driver and method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0034] In addition, the technical features involved in the various embodiments of the present invention described below can be combined with each other as long as they do not constitute a conflict with each other. The present invention will be further described in detail below in combination with specific embodiments.

[0035] figure 1 It is a schematic structural diagram of a PCI bus-based CAN device driver according to an embodiment of the present invention. Such as figure 1 As shown, the device includes a main control module, an FPGA module, and a CAN link module connected in sequence. The exte...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a CAN equipment driving device and method based on a PCI bus. The device comprises a main control module, an FPGA module and a CAN link module which are sequentially connected;the main control module comprises a driving module, a switching equipment module, a control module and an interruption module; the driving module is used for externally inputting a first-stage instruction and a second-stage instruction to realize identification of equipment to be driven and setting of initialization parameters; the switch equipment module is used for opening or closing semaphore,a task, sending FIFO, receiving FIFO and a message queue of the CAN link module according to an externally input switch instruction; the control module is used for realizing a command word function,a reading function and a writing function operation on the CAN link module according to an externally input control instruction; and the interruption module is used for controlling the CAN link moduleto realize interruption operation on the to-be-driven equipment according to an interruption instruction input externally, thereby controlling the CAN link module to realize driving of the to-be-driven equipment.

Description

technical field [0001] The invention belongs to the field of device driving, and in particular relates to a PCI bus-based CAN device driving device and method. Background technique [0002] With the progress and rapid development of domestic information technology, domestic CPU and domestic embedded operating system are more and more widely used in industrial design. Localized chips based on the mips architecture, such as Loongson CPU, have become popular chips for localization due to their small size, fast speed, and low power consumption; domestic embedded operating systems such as the domestic embedded Ruihua operating system ReWorks are widely used, and they support Loongson, For X86, ARM7, ARM9, PowerPC and other CPU environments, the real-time response is less than 15 microseconds, the minimum configuration is less than 20K, and the MMU-based space protection capability and task migration capability. Therefore, the combination of domestic CPU and domestic embedded ope...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F13/10G06F13/24
CPCG06F13/102G06F13/24G06F2213/0024
Inventor 梁美红卢联杰王明博查坤陈辉沈坤王敏敏
Owner HUBEI SANJIANG AEROSPACE WANFENG TECH DEV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products