Claims
- 1. A system, comprising:
a target server configured to receive a request from a software tool and format a protocol request corresponding to the request, the protocol request including a request fixed length leader having a predetermined maximum size; and a target agent configured to receive the protocol request from the target server into a communication buffer and send an instruction to a target processor to perform a function corresponding to the request, wherein the communication buffer is one of equal to and larger than the predetermined maximum size.
- 2. The system of claim 1, wherein the target agent formats a protocol reply in response to the protocol request, the protocol reply including a reply fixed length leader having a predetermined maximum size substantially equal to the predetermined maximum size of the request fixed length leader and including a status of the request.
- 3. The system of claim 2, wherein the target agent receives an indication of the status of the request from the target processor.
- 4. The system of claim 2, wherein the protocol reply further includes information responsive to the request.
- 5. The system of claim 1, wherein the target server encodes the protocol request and the target agent decodes the protocol request.
- 6. The system of claim 5, wherein the encoding is External Data Representation encoding.
- 7. The system of claim 1, wherein the protocol request includes a request code corresponding to the request and the target agent includes information to determine the correspondence between the request code and the request.
- 8. The system of claim 1, wherein the protocol request includes a data item indicating a size of information to be streamed from the target server to the target processor.
- 9. The system of claim 1, wherein the protocol request is communicated via a serial byte stream communication channel.
- 10. The system of claim 1, wherein the software tool includes one of a software loader/launcher, a debugger, a command line interface shell, a browser, a calibration tool, and a maintenance tool.
- 11. A method, comprising the steps of:
formatting a protocol request corresponding to a request from a software tool, the protocol request including a request code corresponding to the request; transmitting the protocol request; receiving the protocol request; determining the request from the request code; and instructing a target processor to take an action based on the request.
- 12. The method of claim 11, further comprising the step of:
formatting a protocol reply in response to the protocol request, the protocol reply including an error code indicating a status of the request.
- 13. The method of claim 12, wherein the protocol reply includes information responsive to the request.
- 14. The method of claim 12, further comprising the steps of:
transmitting the protocol reply; receiving the protocol reply; determining the status of the request from the protocol reply; and indicating to the software tool the status of the request.
- 15. The method of claim 11, wherein the protocol request includes a fixed length data area which includes information corresponding to the request.
- 16. The method of claim 11, further comprising the step of:
transmitting streaming data in addition to the protocol request, wherein the protocol request includes an indication of a size of the transmitted streaming data.
- 17. The method of claim 11, wherein the transmitting step is performed by a target server.
- 18. The method of claim 11, wherein the receiving step is performed by a target agent including a communication buffer, the protocol request includes a request fixed length leader having a predetermined maximum size and the communication buffer is equal to the predetermined maximum size.
- 19. The method of claim 11, wherein the protocol request includes a request subcode which corresponds to one of the target processor, a mode, an agent and a software object for which the request is intended.
- 20. A system, comprising:
a target server configured to receive a plurality of requests from a software tool and format a protocol request for each of the received requests, the target server including a plurality of request codes corresponding to the plurality of requests, wherein the protocol request includes the request code corresponding to the received request; and a target agent configured to receive the protocol request from the target server and send an instruction to a target processor to perform a function corresponding to the request, wherein the target agent includes information to correlate the request code to the corresponding request.
- 21. The system of claim 20, wherein the target agent includes a communication buffer which is substantially equal in size to a predetermined maximum size of a request fixed length leader of the protocol request.
- 22. The system of claim 20, wherein the plurality of requests are used to obtain one of debugging information, diagnostic information, calibration information and maintenance information from the target processor.
- 23. The system of claim 20, wherein the plurality of protocol requests are multiplexed over a serial byte stream communication.
- 24. A system, comprising:
a software tool issuing a request; a target server configured to receive the request and format a protocol request corresponding to the request, the protocol request including a request fixed length leader having a predetermined maximum size; and a target agent configured to receive the protocol request from the target server into a communication buffer and send an instruction to a target processor to perform a function corresponding to the request, wherein the communication buffer is one of equal to and larger than the predetermined maximum size.
- 25. A system, comprising:
a request module configured to format a protocol request including a request fixed length leader having a predetermined maximum size; and a target module configured to receive the protocol request from the request module into a communication buffer, wherein the communication buffer is one of equal to and larger than the predetermined maximum size.
INCORPORATION BY REFERENCE
[0001] This application claims the benefit of U.S. Provisional Patent Application No. 60/233,036 filed on Sep. 15, 2000 and entitled “Target Debug Protocol” and is expressly incorporated herein, in its entirety, by reference.
Provisional Applications (1)
|
Number |
Date |
Country |
|
60233036 |
Sep 2000 |
US |