Testing method and device for equipment driving unit

A device-driven and testing method technology, applied in electrical testing/monitoring, testing/monitoring control systems, detecting faulty computer hardware, etc., to simplify the testing environment, avoid tedious errors, and reduce testing costs.

Active Publication Date: 2022-06-10
宏晶微电子科技股份有限公司
View PDF9 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the inventor found in the process of realizing the present invention that the above method has at least the following defects: the device driver unit needs to be installed on the hardware device, and it needs to be built A test environment that includes hardware devices, resulting in higher testing costs
Moreover, it is necessary to manually judge whether the operation is normal according to the operation results of the hardware equipment, and the judgment method is cumbersome and inefficient

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
  • Testing method and device for equipment driving unit
  • Testing method and device for equipment driving unit
  • Testing method and device for equipment driving unit

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] figure 2 A schematic structural diagram of a test system in the related art is shown. like figure 2 As shown, the test system includes: a device driver unit 21 and a hardware device 22 . Wherein, the hardware device 22 further includes: a first preset register 221 , a second preset register 222 , and a hardware circuit 223 . Wherein, the device driving unit 21 is used to drive the hardware circuit 223 in the hardware device 22 . Moreover, during the working process of the device driving unit, it is necessary to perform read and write operations on the first preset register 221 and the second preset register 222 .

[0026] When the input parameters are determined, write data into the first preset register 221 and / or the second preset register 222 through the device driving unit, so as to drive the hardware circuit according to the data content to generate corresponding output results. For example, when the hardware circuit has multiple working states, the correspon...

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 the field of electronic information, and particularly discloses a method and a device for testing an equipment driving unit. The method comprises the following steps: acquiring a register read-write instruction triggered by an equipment driving unit in response to a received input parameter; wherein the equipment driving unit is used for driving hardware equipment comprising a preset register, and the register read-write instruction is used for executing read-write operation for the preset register; according to an address remapping mode, remapping the register read-write instruction to a virtual register; wherein the virtual register is realized through a memory and is used for simulating the preset register; and obtaining a read-write operation result of the virtual register in response to the register read-write instruction, matching the read-write operation result with a standard read-write result corresponding to the input parameter, and determining a test result of the equipment driving unit according to a matching result.

Description

technical field [0001] Embodiments of the present invention relate to the field of electronic information, and in particular to a testing method and device for a device driving unit. Background technique [0002] At present, many hardware devices need to install a device driver unit before they can run normally. If the device driver unit is abnormal, it will cause the hardware device to be unable to use normally. For this reason, it is necessary to test the device driver unit in advance, so as to avoid affecting the use of the hardware device due to the problem of the device driver unit. [0003] In related technologies, in order to test the device driver unit, it is necessary to first install the device driver unit on the hardware device, and run the device driver unit, so that the device driver unit can perform read and write operations on the hardware registers in the hardware device during the running process, and Obtain the running result of the hardware device. Acco...

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): G06F11/26G05B23/02
CPCG06F11/26G05B23/0213
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