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

Auxiliary generating method and system for embedded device driver

An embedded device and driver technology, applied in memory systems, program control design, instruments, etc., can solve the problems of inability to reduce development difficulty, lack of portability, and high learning costs, achieve good portability, and improve development efficiency. , the effect of succinct syntax

Inactive Publication Date: 2010-11-24
PEKING UNIV
View PDF1 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] Existing driver-assisted generation methods have problems such as only targeting specific platforms, lack of portability, complex methods, high learning costs, and inability to reduce development difficulty.

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
  • Auxiliary generating method and system for embedded device driver
  • Auxiliary generating method and system for embedded device driver
  • Auxiliary generating method and system for embedded device driver

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0067] The present invention is further elaborated below with reference to the accompanying drawings, through the development of the UART device driver on the s3c44b0 development board.

[0068] Specific steps are as follows:

[0069] 1. Use the human-computer interaction interface to describe the UART device of s3c44b0:

[0070] 2. Generate a description file, some of the file contents are as follows:

[0071]

[0072]

[0073]

[0074]

[0075] 3. Parse the description file and generate driver stub code. Part of the code is as follows:

[0076]

[0077] Finally, it should be noted that the purpose of publishing the embodiments is to help further understanding of the present invention, but those skilled in the art can understand that various replacements and modifications can be made without departing from the spirit and scope of the present invention and the appended claims. It is possible. Therefore, the present invention should...

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 relates to an auxiliary generating method and an auxiliary generating system for an embedded device driver and belongs to the field of embedded system software design. The method comprises the following steps of: describing a device access interface, a hardware platform characteristic and a hardware device logic function by using an embedded device driver interface; saving a file in the format of XML; resolving a description file and generating an internal data structure in an internal memory; and generating a corresponding embedded device driver stub code which can be used by a developer and comprises a register access mode, a default value, a register access code and device basic performance function contents by using a pre-compiled file according to platform and system characteristics. The method and the system have the advantages of improving the development efficiency of the embedded device driver, reducing fault in a developing process, lowering developing difficulty and enhancing the portability of the embedded device driver.

Description

technical field [0001] The invention provides a method and system for auxiliary generation of an embedded device driver, in particular to a method and system for describing and assisted generation of an embedded device driver with an embedded device driver interface description language, belonging to embedded system software design field. Background technique [0002] With the development of semiconductor technology, mobile communication and mobile computing, various embedded systems have penetrated into various fields of production and life, and are gradually impacting the status of traditional PCs in many application fields. Some scholars have begun to assert that embedded system technology will become the master of the post-PC era. The importance of this field is evident. [0003] Different from the development of traditional PC, the development of embedded devices not only has its own vertical development such as performance improvement, but also its horizontal develop...

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
IPC IPC(8): G06F9/45
Inventor 陈向群王刚赵霞郭耀
Owner PEKING UNIV
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