Method for supporting non-intrusion debugging by mapping register designed in CPU

A register group, non-invasive technology, applied in the direction of memory system, program control design, instrument, etc., can solve the problems of limiting CPU performance improvement, increasing hardware design difficulty, etc., achieving the effect of strong scalability and increasing complexity

Inactive Publication Date: 2005-09-28
C SKY MICROSYST CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage of this approach is that the scan chain unit needs to be placed on the critical path, which limits the performance improvement of the CPU; in addition, with the increase in the complexity of the CPU microstructure, it is necessary to extend the scan chain to access the Therefore, this method also increases the difficulty of hardware design; at the same time, when the debug host needs to get the next instruction, it is necessary to add an additional data channel to save the code of the next instruction

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
  • Method for supporting non-intrusion debugging by mapping register designed in CPU
  • Method for supporting non-intrusion debugging by mapping register designed in CPU
  • Method for supporting non-intrusion debugging by mapping register designed in CPU

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0019] The basic feature of the present invention is to use the image register group to support "non-intrusive" debugging, and its implementation method is summarized as follows:

[0020] 1) Define a set of image registers for special data channels in the debug module of the CPU, including instruction image registers, operand image registers, PC image registers, debug control / status image registers, and CPU state image registers;

[0021] 2) The debug host sets the image register set through the JTAG interface, and the JTAG interface reads the image register set to obtain the information of the CPU;

[0022] 3) When the CPU enters the debug mode, the CPU directly saves the address of the next instruction to the PC image register; saves the CPU state register to the CPU state image register in the debug module;

[0023] 4) When the CPU enters the debug mode, in order not to add additional hardware overhead, the debug module will control the instruction cache, obtain the next in...

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 designed method is featured as that the mapping register is led into track CPU state or to set CPU state by the mapping register. The CPU performance is not influenced since the mapping register does not require extra scanning unit to be inserted in CPU internal circuit. The designed method also has a strong extensibility, the extra difficulty of hardware and software design is not added if viewing response of CPU internal state is required when CPU microstructure is raised to be more complicated.

Description

technical field [0001] The invention relates to a method designed in a CPU to support "non-intrusive" debugging by utilizing image register groups. Background technique [0002] The debugging interface of the microprocessor is to configure the software / hardware debugging function on the development system of the processor, monitor, track and change the internal state of the CPU through the hardware interface provided by the processor. With the increasing complexity of software / hardware systems and the need to shorten development time, it is very important to provide an efficient and fully functional debugging interface to improve the efficiency of system development. [0003] So far there have been some strategies to support the development and debugging of embedded software, and the solutions can be roughly divided into two categories: software and hardware. The strategy of the software is to load the monitor program in the ROM of the target devic...

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): G06F9/00G06F9/34
Inventor 陈必龙王界兵严晓浪
Owner C SKY MICROSYST CO LTD
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