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

Debugging information processing method, device, electronic equipment, storage medium and system

A technology for debugging information and processing methods, applied in electrical digital data processing, software testing/debugging, instruments, etc., can solve the problems of large labor cost and low efficiency of debugging information acquisition, and achieve the effect of improving acquisition efficiency

Active Publication Date: 2021-04-23
上海燧原智能科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, at present, R&D personnel can only determine the program running results by viewing limited register values.
Every time you want to view new running information, you need to change the program again, and output the corresponding information to the general-purpose register, resulting in huge labor costs
It can be seen that the efficiency of obtaining debugging information in SoC embedded processors is currently low.

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
  • Debugging information processing method, device, electronic equipment, storage medium and system
  • Debugging information processing method, device, electronic equipment, storage medium and system
  • Debugging information processing method, device, electronic equipment, storage medium and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The application 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 application, but not to limit the present application. In addition, it should be noted that, for the convenience of description, only some structures related to the present application are shown in the drawings but not all structures.

[0037] figure 1 It is a flow chart of a method for processing debugging information provided by the embodiment of the present application. This embodiment is applicable to the case of debugging a system-on-chip SoC program, and the method can be executed by the system-on-chip SOC. Specifically include the following steps:

[0038] Step 110, when the output of debugging information is triggered, obtain a write pointer.

[0039] When the processor is running the debugger or in response to a user's instruction to o...

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 application discloses a debugging information processing method, device, electronic equipment, storage medium and system. The system includes: a system-on-chip SoC used to obtain a write pointer when triggering the output of debugging information, and the write pointer is used to represent the ring Buffer the start address of this write; write debugging information to the ring buffer according to the write pointer, and update the write pointer; the terminal is used to read the write pointer and read pointer through the preset interface; judge whether to read or not according to the read pointer and write pointer Get the debugging information in the ring buffer; if so, read and output the debugging information according to the read pointer and the write pointer, and update the read pointer. The ring buffer can complete the storage of debugging information, and can accurately locate the reading position of debugging information through the read pointer and write pointer, so that the terminal can complete the acquisition of debugging information in the embedded processor according to the reading pointer and writing pointer, and improve the efficiency of debugging information acquisition .

Description

technical field [0001] The embodiments of the present application relate to chip technology, and in particular to a debugging information processing method, device, electronic equipment, storage medium and system. Background technique [0002] Large-scale system-on-a-chip SoC (System-on-a-Chip) designs increasingly use core processor cores for the control of SoC internal modules. The program running on the SoC embedded processor needs to be developed and debugged with the hardware module controlled by the processor to ensure the reliability and stability of the function. [0003] During the debugging process of embedded software, developers need to obtain the debugging information of the key nodes of program execution. But at present, R&D personnel can only determine the running result of the program by looking at the limited register values. Every time you want to view new running information, you need to change the program again, and output the corresponding information ...

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
CPCG06F11/362
Inventor 马文超
Owner 上海燧原智能科技有限公司