Chip driving method and device, electronic equipment and storage medium

A driving method and chip technology, applied in the direction of program control device, software design, program control design, etc., can solve the problems of chip driver code redundant code, inconvenient development and maintenance, occupying system resources, etc., to reduce development and maintenance work and Debugging costs, reducing resources, reducing the effect of redundant code

Inactive Publication Date: 2022-01-28
镁佳(北京)科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Therefore, the technical problem to be solved by the present invention is to overcome the defects of too many redundant codes in the chip driver code in the prior art, occupying system resources, and inconvenient development and maintenance, thereby providing a chip driver method

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
  • Chip driving method and device, electronic equipment and storage medium
  • Chip driving method and device, electronic equipment and storage medium
  • Chip driving method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] As mentioned in the background art, there are too many redundant codes in the chip driver code in the prior art, occupying system resources, and making development and maintenance inconvenient. For example, in most current RTOS, Android and other platforms, the driver codes of the same type of chips are mainly implemented in the following ways when implemented on the same platform:

[0043] 1. The same chip has its own driver code in each project;

[0044] 2. The same chip has common codes in each project, and different parts are determined by different configurations to take different branches, such as the dts configuration of the linux driver;

[0045] 3. Chips of the same type (including different manufacturers) have their own driver codes for each project;

[0046] 4. Chips of the same type and manufacturer have large and complete common codes, and different code processes are determined according to the actual chip during operation;

[0047] 5. There are multiple...

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 chip driving method and device, electronic equipment and a storage medium, and relates to the technical field of processors. The method comprises the following steps: receiving a calling instruction; reading an executable code according to the calling instruction; acquiring a configuration file; and executing the executable code according to parameters in the configuration file. According to the chip driving method disclosed by the invention, through a method of separating logic implementation and function implementation, sharing a code part and distinguishing a function part through the configuration file, redundant codes are greatly reduced, resources required during operation are reduced, and the same driving code or configuration file can be shared when a single project needs to drive a plurality of chips of the same type.

Description

technical field [0001] The invention relates to the technical field of processors, in particular to a chip driving method. Background technique [0002] In most current operating system platforms, the same chip is often used for different projects or the same type of chip with similar functions is used. For the same chip applied to different projects, the common driving method is that the same chip has its own driver code in each project, or there are common codes in each project and the configuration files are set separately for the differences; and for the same type of chip , the common driving method is to have individual driver codes in each project for the same type of chips from different manufacturers, or set common codes for each manufacturer, and run different code processes according to the actual chips. [0003] Although the above method can complete the driving of the chip, it will cause too many redundant codes, occupy system resources, and make development and...

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 Applications(China)
IPC IPC(8): G06F9/4401G06F8/71G06F8/20
CPCG06F9/4411G06F8/71G06F8/20
Inventor 陈朝晖罗春波简广林
Owner 镁佳(北京)科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products