Unlock instant, AI-driven research and patent intelligence for your innovation.

Realization of universal target code coverage test system and test method based on jtag debugging method

A debugging method and a technology for testing systems, applied in software testing/debugging, etc., can solve the problems of not being able to reflect the actual execution of the target code and not being able to accommodate the program code, etc.

Active Publication Date: 2017-10-24
VISION MICROSYST SHANGHAI
View PDF6 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Because the existing solutions need to embed the probe code in the source code, it will inevitably lead to the expansion of the target code of the embedded program, and the storage space of the embedded device is often very limited, which may not be able to accommodate the expanded program code, and because The presence of probes may not reflect the real execution of the target code

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
  • Realization of universal target code coverage test system and test method based on jtag debugging method
  • Realization of universal target code coverage test system and test method based on jtag debugging method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] The present invention will be described in detail below in conjunction with specific embodiments. The following examples will help those skilled in the art to further understand the present invention, but do not limit the present invention in any form. It should be noted that those skilled in the art can make several modifications and improvements without departing from the concept of the present invention. These all belong to the protection scope of the present invention.

[0028] Such as figure 1 with figure 2 As shown, the present invention realizes the universal target code coverage test system based on the JTAG debugging mode and includes:

[0029] Coverage monitoring module: This module is used to analyze and process the target code, divide the instruction execution unit, drive the normal execution of the test and generate the test result. This module contains five sub-modules: code analysis module, code management module, operation control module, result int...

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 present invention provides a general-purpose target code coverage test system and test method based on JTAG debugging. The system includes: a coverage monitoring module, which is used to analyze and process the target code, divide instruction execution units, and drive the test to execute normally. and generate test results; the test execution control module is used to receive the instructions of the coverage monitoring module and convert them into JTAG commands, control the DUT to execute the corresponding instructions and return the instruction execution results. The invention does not need to insert the source code of the embedded program, does not change the program structure of the source code of the tested program, and does not cause expansion of the target code.

Description

technical field [0001] The invention relates to a test system and a test method, in particular to a test system and a test method based on a JTAG debugging mode for realizing a universal target code coverage test. Background technique [0002] Embedded programs often have the characteristics of high reliability and stability, so it is necessary to strictly test the embedded program to determine whether the coverage of the program code meets the requirements, such as code coverage, branch coverage and call coverage. [0003] The current method of determining the coverage of embedded programs is generally to modify the source code of the embedded program, implant the probe code in the source code, recompile and execute the embedded program, and then determine the embedded program by analyzing the output of the probe. Various code coverage of the program. Because the existing solutions need to embed the probe code in the source code, it will inevitably lead to the expansion of...

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): G06F11/36
Inventor 朱二刚张必勇陶钧
Owner VISION MICROSYST SHANGHAI