Patent FR904545A successfully refreshed from Google Patents.
Patent EP0567722A2 successfully refreshed from Google Patents.
← Back to Patent Explorer
EP0567722A2 Expired / Lapsed EP ⏱️ 0.0 years remaining

System for analyzing and debugging embedded software through dynamic and interactive use of code markers

Assignee: Agilent Technologies Inc
•
Filing: 1993-01-19
•
Granted: —
•
Expires: 2013-01-19
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract A system (Figure 10) for inserting code markers for observing indications (external to the microprocessor upon which the software operates) of the occurrence of an event in the execution of the software. Additional instructions or markers are added to the software to be debugged to produce simple, encoded, memory references to otherwise unused memory or I/O locations that will always be visible to a logic analyzer as bus cycles. Although the code markers cause a minimal intrusion in the underlying software, they make tracing events by a conventional logic analyzer much simpler and allow for performance evaluations in manners not heretofore possible. In particular, the inserted code markers provide a method of dynamically extracting information from a running host or real-time "black box" embedded system (902) under test using simple low intrusion print statements, encoded I/O writes on procedure entries and exits, and/or an interface to service calls and the like which writes out the passed parameters. Generally, the code markers are inserted at compile time or interactively during the debug session to make visible critical points in the code execution, such as function calls, task creation, semaphore operations and other resource usage so as to speed isolation of problems at test points during debugging. Performance analysis and event analysis use the code markers of the invention to cut through the ambiguities of microprocessor prefetch and cache operations. Because of these features, the invention is particularly advantageous for use by software design teams developing complex embedded host or real-time operating systems using multi-task operating systems and/or object oriented systems.

Inventors

  • 👤 Eric J. Kuzara
  • 👤 Andrew J. Blasciak
  • 👤 Greg S. Parets

Bibliographic Details

Application Number —
Jurisdiction EP
Data Source google_patents
Last Synchronized 2026-11-04 12:10
CPC Classifications
G; G06; G06F; G06F11/00; G06F11/36; G06F11/362; G06F11/3624; G06F11/30; G06F11/34; G06F11/3466; G06F11/3636; G06F11/3644

Claims Analysis

Total Claims: 10
Claim 1
Independent Claim 148 words
A system (Figure 10) for dynamically characterizing and debugging a software system including embedded software (902) which processes input parameters provided in service calls from a user program (900) to said embedded software (902) and returns processed output parameters to said user program (900), comprising: a code marker memory (1002) for storing code markers representing characterizing and debugging information of said software system; an interface library (1000) which is called by said user program (900) during a service call to said embedded software (902) for writing at least said input and output parameters to said code marker memory (1002) as said code markers; means (1004) for reading said code markers from said code marker memory (1002) upon execution of said software system; and means (1008) for displaying at least the characterizing and debugging information associated with the read code markers in a format readily understandable by a user.
Claim 2
Dependent Claim 45 words
A system as in claim 1, further comprising means (1010) responsive to said embedded software for writing code marker data to said code marker memory indicating what software task is being exited and what task is being entered when said embedded software changes software tasks.
Claim 3
Dependent Claim 23 words
A system as in claim 1, wherein said embedded software (902) comprises an embedded real-time operating system having an operating system kernel (902).
Claim 4
Dependent Claim 30 words
A system as in claim 1, further comprising an analyzer memory (1006) for storing code markers read from said reading means (1004) prior to display by said displaying means (1008).
Claim 5
Dependent Claim 28 words
A system as in claim 4, wherein said code marker memory (1002) comprises limited address space of a microprocessor of a computer upon which said system is executed.
Claim 6
Dependent Claim 38 words
A system as in claim 5, wherein said reading means (1004) comprises a hardware analyzer (1004) which reads data stored in said limited address space of said microprocessor and stores the read data in said analyzer memory (1006).
Claim 7
Dependent Claim 37 words
A system as in claim 6, wherein said displaying means (1008) comprises means (1008) for displaying said data stored in said analyzer memory (1006) in a native form of said service call to said embedded software (902).
Claim 8
Independent Claim 130 words
A method (Figure 11) of dynamically characterizing and debugging a software system including embedded software (902) which processes input parameters provided in service calls from a user program (900) to said embedded software (902) and returns processed output parameters to said user program (900), comprising the steps of: writing at least said input and output parameters as code markers to a code marker memory (1002) for each service call by said user program (900) to said embedded software (902), said code markers representing characterizing and debugging information of said software system; reading said code markers from said code marker memory (1002) upon execution of said software system; and displaying at least the characterizing and debugging information associated with the read code markers in a format readily understandable by a user.
Claim 9
Dependent Claim 23 words
A method as in claim 8, comprising the further step of time stamping the code markers written to said code marker memory (1002).
Claim 10
Dependent Claim 31 words
A method as in claim 9, comprising the further step of calculating the time spent in each software task in accordance with the time stamps on said time stamped code markers.

References Cited (Backward Citations)

No citation records indexed.

USPTO Annuity & Maintenance Windows

Maintenance schedule is calculated for granted US utility patents.

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag