System and method for communicating with an integrated circuit
First Claim
1. A method for communicating between a debug circuit of an integrated circuit and an external system, the method comprising steps of:
- sending a first request message;
receiving a second request message, said second request message indicating that a receive processor may receive another request message; and
sending a third request message, wherein the third request message is located in a buffer, and is transmitted in response to receiving the second request message.
1 Assignment
0 Petitions
Accused Products
Abstract
A system and method for communicating with an integrated circuit is provided that allows an integrated circuit to communicate debugging information and system bus transaction information with an external system. The system may include an interface protocol that provides flow control between the integrated circuit and the external system. The system may include a high-speed link and/or a JTAG link for communicating information. A link may be automatically selected by a debug circuit, or selected by an on-chip device or external system. The high-speed link enables real-time collection of trace information. Links may be memory-mapped, such that on-chip devices and other devices attached to the system bus may access the external system. The high-speed link may also operate at a rate which is integrally coupled with a rate of the processor or system bus. Further, the high-speed link may be adapted to change speeds in response to a change in operating speed of the system bus or processor. The JTAG interface may utilize standard JTAG components and instructions such that external devices such as debug adaptors adopting these components and instructions may be re-used for different integrated circuit types. Information transmitted over the JTAG or high-speed link may be compressed to optimize available bandwidth of the links. Also, processor control signals can be transferred through links that allow an external system to manipulate and monitor operation of the processor and its associated modules.
188 Citations
30 Claims
-
1. A method for communicating between a debug circuit of an integrated circuit and an external system, the method comprising steps of:
-
sending a first request message;
receiving a second request message, said second request message indicating that a receive processor may receive another request message; and
sending a third request message, wherein the third request message is located in a buffer, and is transmitted in response to receiving the second request message. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30)
waiting a predetermined amount of time to allow the processor to stabilize; and
monitoring a status indicator to determine if the processor is operating normally.
-
-
16. The method according to claim 8, wherein the output transmission clock is an integral frequency of the system bus clock.
-
17. The method according to claim 8, wherein the system clock is dynamically changed to conserve power.
-
18. The method according to claim 2, wherein an input message does not include a type field.
-
19. The method according to claim 2, wherein an output message is a variable-length message determined by the contents of the message.
-
20. The method according to claim 2, wherein an output message is not dependent on debug adapter buffer status.
-
21. The method according to claim 2, wherein output messages are one of trace messages and system bus transactions.
-
22. The method according to claim 21, wherein the system bus transaction is a request to an address space of the external system.
-
23. The method according to claim 22, wherein the request to the address space of the external system is at least one of the group of:
-
reading from a memory address;
storing to a memory address; and
writing to a memory address and returning a previous value of the memory address.
-
-
24. The method according to claim 21, wherein a message type field of a trace message indicates that the trace message is at least one of,
a trigger trace message type; - and
a background trace message type.
- and
-
25. The method according to claim 2, wherein an idle word separates two output messages.
-
26. The method according to claim 1, wherein the steps of sending request messages includes:
-
sending a start of message indication; and
sending an end-of-message indication.
-
-
27. The method according to claim 1, wherein the request messages are system bus request messages.
-
28. The method according to claim 27, wherein the system bus request messages originate from one or more devices coupled to a system bus associated with the integrated circuit.
-
29. The method according to claim 1, wherein contents of the request messages are identified and specify the response required to each request message.
-
30. The method according to claim 1, wherein the debug circuit indicates, in a bit of the output idle word, whether the receive buffer of the module is empty.
Specification