Software debug port for a microprocessor
First Claim
1. A processor-based device provided with pins to permit connection to external electrical devices, the processor-based device comprising:
- a processor core;
a serial port formed of a plurality of pins configured to receive standardized serial port signals as well as signals from external non-trace capture software deDug equipment;
control circuitry coupled to the serial port for decoding and differentiating between standardized serial port signals and signals used by the external non-trace capture software debug equipment;
a plurality of debug registers coupled to the control circuitry and the processor core for receiving and providing debug data and control signals; and
at least one additional pin of the serial port configured to facilitate communication between the external non-trace capture software debug equipment and the processor core, wherein the processor core is adapted to perform various software debug operations in response to signals from the external non-trace capture software debug equipment, the at least one additional pin providing an indication of the status of select software debug operations.
3 Assignments
0 Petitions
Accused Products
Abstract
A processor-based device incorporating a software debug port that utilizes a JTAG or similar standardized interface, thereby providing a software debug communication mechanism that does not require a special bond-out package. In one embodiment of the invention, only standard JTAG pins are used for communications between a host platform and a target system incorporating a target processor. In another embodiment of the invention, the software debug port of the target processor is augmented for higher-speed access via optional sideband signals. When used in conjunction with an on-chip trace cache, the software debug port provides trace information for reconstructing instruction execution flow on the processor and is also capable of examining register contents without halting processor operation. The software debug port alleviates many of the packaging and clock synchronization problems confronting existing debug solutions.
-
Citations
29 Claims
-
1. A processor-based device provided with pins to permit connection to external electrical devices, the processor-based device comprising:
-
a processor core;
a serial port formed of a plurality of pins configured to receive standardized serial port signals as well as signals from external non-trace capture software deDug equipment;
control circuitry coupled to the serial port for decoding and differentiating between standardized serial port signals and signals used by the external non-trace capture software debug equipment;
a plurality of debug registers coupled to the control circuitry and the processor core for receiving and providing debug data and control signals; and
at least one additional pin of the serial port configured to facilitate communication between the external non-trace capture software debug equipment and the processor core, wherein the processor core is adapted to perform various software debug operations in response to signals from the external non-trace capture software debug equipment, the at least one additional pin providing an indication of the status of select software debug operations. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A software debug platform for communicating with a non-trace capture host system capable of executing debug software that controls the extraction and analysis of debug information, the software debug platform comprising:
-
a target system having a processor-based device, the processor-based device comprising;
a processor core;
a serial port formed of a plurality of pins configured to receive standardized serial port signals as well as signals from the non-trace capture host system;
control circuitry coupled to the serial port for decoding and differentiating between standardized serial port signals and signals used by the non-trace capture host system;
a plurality of debug registers coupled to the control circuitry and the processor core for receiving and providing debug data and control signals; and
at least one additional pin of the serial port configured to facilitate communication between non-trace capture host system and the processor core, wherein the processor core is adapted to perform various software debug operations in response to signals from the non-trace capture host system, the at least one additional pin providing an indication of the status of select software debug operations; and
a debug connector for communicatively coupling the serial port and the at least one additional pin of the target system with the non-trace capture host system. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17, 18)
-
-
19. A processor-based device provided with pins to permit connection to external electrical devices, the processor-based device comprising:
-
a processor core;
a serial port formed of a plurality of pins configured to receive standardized serial port signals as well as signals from external non-trace capture software debug equipment;
at least one additional pin configured to facilitate communication between external non-trace capture software debug equipment and the processor core;
control means coupled to the serial port for decoding and differentiating between standardized serial port signals and signals used by external non-trace capture software debug equipment; and
communication means coupled to the control means and the processor core for receiving and providing debug data and control signals, wherein the processor core is adapted to perform various software debug operations in response to signals from external non-trace capture software debug equipment, the at least one additional pin providing an indication of the status of software debug operations. - View Dependent Claims (20, 21, 22, 23)
-
-
24. A method of providing software debug information from a processor-based device to external non-trace capture debug equipment, comprising:
-
providing a serial port in the processor-based device, the serial debug port formed of a plurality of pins configured to receive standardized serial port signals in addition to signals from external non-trace capture debug equipment, the serial port further being coupled to control circuitry for decoding and differentiating between standardized serial port signals and signals used by the external debug equipment;
providing at least one additional pin in the processor-based device, the at least one additional pin configured to facilitate communication between external non-trace capture debug equipment and the processor-based device;
selectively performing software debug operations in the processor-based device in response to signals from the external non-trace capture debug equipment communicated via the serial port; and
communicating the status of the debug operations from the processor-based device to the external non-trace capture debug equipment via the at least one additional pin. - View Dependent Claims (25, 26, 27, 28, 29)
providing a trace cache in the processor-based device, the trace cache adapted to store information indicative of the order in which instructions are executed by the processor-based device; and
communicating the contents of the trace cache from the processor-based device to the external debug equipment via the serial port.
-
-
28. The method of claim 24, wherein the step of communicating the status of the debug operations comprises assertion of a signal following completion of a debug operation.
-
29. The method of claim 24, wherein the step of communicating the status of the debug operations comprises assertion of a signal following receipt of a debug data or control signal.
Specification