Method for integrating event-related information and trace information
First Claim
1. A method for emulating and debugging a device, said method comprising:
- executing an event thread on an emulator of said device, said event thread comprising a condition, wherein the condition is detected when an input signal exceeds at least one threshold;
sampling event information from said device for a period of time during which said condition is detected for the input signal; and
starting and stopping trace memory to record trace information from said device for a period of time in response to the input signal exceeding the at least one threshold.
5 Assignments
0 Petitions
Accused Products
Abstract
A method for emulating and debugging a microcontroller is described. In one embodiment, an event thread is executed on an emulator that operates in lock-step with the microcontroller. Event information is sampled at selected points. Trace information is also recorded at the selected points. As such, the event information and trace information are effectively pre-filtered. Accordingly, it is not incumbent on a designer to read and understand the event and trace information and sort out the information that is of interest. Instead, this task is essentially done automatically, helping the designer and reducing the probability of error. Furthermore, because only selected event and trace information is recorded, the resources of the in-circuit emulator system are not taxed.
36 Citations
20 Claims
-
1. A method for emulating and debugging a device, said method comprising:
-
executing an event thread on an emulator of said device, said event thread comprising a condition, wherein the condition is detected when an input signal exceeds at least one threshold; sampling event information from said device for a period of time during which said condition is detected for the input signal; and starting and stopping trace memory to record trace information from said device for a period of time in response to the input signal exceeding the at least one threshold. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for emulating and debugging a device, said method comprising:
-
receiving and executing an event thread comprising an event point, wherein said executing is performed on an emulator; detecting said event point when an input signal exceeds at least one threshold; recording trace information from said device by starting and stopping trace memory in response to the input signal exceeding the at least one threshold; and storing event information for a period of time corresponding to said starting and stopping trace memory. - View Dependent Claims (9, 10, 11, 12, 13)
-
-
14. An emulation and debugging system comprising:
an in-circuit emulator capable of being coupled with a device, wherein said in-circuit emulator is configured to execute an event thread and is further configured to detect a condition defined for said event thread, wherein event information generated as a result of executing said event thread is sampled in response to detecting said condition and wherein sampled event information is stored in memory, and wherein the in-circuit emulator further comprises a trace memory configured to start and stop recording trace information in response to an input signal exceeding at least one threshold. - View Dependent Claims (15, 16, 17, 18, 19, 20)
Specification