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

A multi-tool cooperative operation and debugging system for embedded sparc processor

A debugging system and processor technology, applied in the direction of electrical digital data processing, software testing/debugging, instruments, etc., can solve problems such as time-consuming and labor-intensive, failure to debug, hidden dangers in online use, etc., to ensure reliability and flexibility performance, good application adaptability, and improved debugging efficiency

Active Publication Date: 2022-05-13
BEIJING MXTRONICS CORP +1
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Switching the debugging tool by repeatedly restarting the program is time-consuming, labor-intensive, and inefficient; at the same time, for errors caused by external input of the embedded SPARC processor, since the program has been restarted, it may not be able to receive the input that caused the error again, making a certain In some scenarios, debugging cannot be performed due to program problems that cannot be reproduced, burying hidden dangers for subsequent online use
[0004] In order to solve the above-mentioned problem of low debugging efficiency due to frequent switching between different debugging tools, or even the failure to reproduce the error scene again, it is necessary to design a multi-tool collaborative debugging system for embedded SPARC processors. Through this system Realize the seamless switching between multiple debugging tools, and realize the flexible selection of the most targeted debugging tool to solve the problems found in the current program without restarting the embedded SPARC processor

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
  • A multi-tool cooperative operation and debugging system for embedded sparc processor
  • A multi-tool cooperative operation and debugging system for embedded sparc processor

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0052] The processor compatible with the SPARC V8 instruction set architecture is often used in the field of embedded high-performance control, and the processor has a hardware debugging support unit (Debug Support Unit, DSU). The DSU unit can access the core of the SPARC V8 processor, and can also access memory controllers, PCI, DMA and other devices through the AMBA bus inside the processor. The DSU unit is connected to the computer through the serial port, and a 1024 The memory unit of the row, through which the instructions executed by the processor can be recorded. The SPARC V8 processor does not run an embedded operating system, and all programs run directly on the processor. There are two debugging tools that need to be used, namely the instruction level debugging tool and the C language source code level debugging tool. Among them, the instruction level debugging tool can only be debugged at the instruction level of SPARC V8, can observe the instruction trace memory, a...

Embodiment 2

[0064] In the present embodiment, use the embedded SPARC V8 processor similar to hardware function in embodiment 1, difference is: operation system is arranged on this processor, the hardware interface unit of DSU is JTAG, and the debugging tool that adopts is C language Source code level debugging tools and program performance analysis debugging tools. Since there is no JTAG interface on the computer, a JTAG debugging tool needs to be configured separately. The JTAG debugging tool is connected to the computer through a USB interface, and the JTAG debugging tool itself converts USB data into JTAG data. In this embodiment, it is necessary to analyze the performance of the program during the debugging process. The data used for program performance analysis is provided by the embedded operating system, and the program performance data needs to be uploaded to the computer at regular intervals. This process is not affected by the replacement of debugging tools. This process is onl...

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 multi-tool cooperative operation debugging system oriented to an embedded SPARC processor. The system connects multiple debugging tools running simultaneously on the computer with the hardware debugging unit on the embedded SPARC processor through the cooperative work of the communication unit, the synchronization unit and the interface unit, and realizes the debugging of the embedded SPARC The seamless switch between multiple debugging tools in the processor program solves the problem that the program executed by the embedded SPARC processor must be restarted due to switching the debugging tool, resulting in the destruction of the program error scene, or even the failure to reproduce the program error phenomenon. The system can greatly improve the efficiency of program debugging, the implementation method is flexible, and the reliability of debugging is improved.

Description

technical field [0001] The invention provides an embedded SPARC processor-oriented multi-tool cooperative operation debugging system, which belongs to the technical field of embedded processor software debugging tools. Background technique [0002] SPARC is a reduced instruction set architecture, originally proposed by SUN Corporation in the United States, and later became an open source processor instruction set architecture. At present, processors adopting the eighth version of the SPARC instruction set architecture (SPARC V8) standard are widely used in embedded fields such as aerospace, aviation, and industrial control. In the process of developing the embedded SPARC V8 processor program, the debugging tool is an essential and important component. Using the debugging tool, engineers can download the program from the PC to the embedded SPARC V8 processor, control the running of the program by setting breakpoints, single-step execution, etc., and observe the internal regi...

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/36G06F13/38
CPCG06F11/362G06F13/385G06F2213/0002
Inventor 周海洋于立新陈雷彭和平杨雪庄伟
Owner BEIJING MXTRONICS CORP