IP Library Granted Patent US 8,473,275
Granted Patent B2
US 8,473,275 · App. 12/125,766 · Granted Jun 25, 2013

Method for integrating event-related information and trace information

Inventors: Manfred Bartz (Snohmoish, WA); Craig Nemecek (Seattle, WA); Matt Pleis (Carnation, WA)
Assignee: Cypress Semiconductor Corporation
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,473,275
App. No.
12/125,766
Granted
Jun 25, 2013
Kind
B2
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.

Claims (39)

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.

2. The method of claim 1 further comprising:

applying time stamps to said event information and said trace information; and

displaying said event information and said trace information as timewise waveforms.

3. The method of claim 2 comprising parsing said event information and said trace information using said time stamps.

4. The method of claim 1 further comprising

receiving a signal via an external pin of said emulator, said signal causing a response from said device;

sampling second event information from said device and stopping said trace memory to record second trace information from said device at the time of said response; and

correlating said second event information and said second trace information with said signal.

5. The method of claim 4 further comprising time-stamping said signal.

6. The method of claim 4 further comprising displaying said signal as a waveform.

7. The method of claim 1 wherein said device is a mixed signal microcontroller for processing analog and digital signals.

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.

9. The method of claim 8 further comprising displaying said trace information as a first timewise waveform and said event information as a second timewise waveform.

10. The method of claim 8 further comprising:

applying time stamps to said trace information and to said event information; and

using said time stamps to display said event information and said trace information as timewise waveforms.

11. The method of claim 10 further comprising parsing said event information and said trace information using said time stamps.

12. The method of claim 8 further comprising:

receiving a signal via an external pin;

sampling said signal;

correlating said signal with said trace information; and

displaying said signal as waveform.

13. The method of claim 8 wherein said device is a mixed signal microcontroller for processing analog and digital signals.

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.

15. The system of claim 14 wherein time-stamps are applied to said sampled event information and recorded trace information.

16. The system of claim 14 further comprising a display device coupled to said in-circuit emulator, said display device operable to display a first waveform representing said sampled event information and a second waveform representing said recorded trace information.

17. The system of claim 14 further comprising an external pin coupled to said in-circuit emulator, wherein a signal received via said external pin is sampled and correlated with said recorded trace information.

18. The system of claim 17 wherein said signal is time-stamped.

19. The system of claim 17 wherein said signal is displayed as a waveform.

20. The system of claim 14 wherein said device is a mixed signal microcontroller for processing analog and digital signals.

Assignments (5)
CORRECTIVE ASSIGNMENT TO CORRECT THE 8647899 PREVIOUSLY RECORDED ON REEL 035240 FRAME 0429. ASSIGNOR(S) HEREBY CONFIRMS THE SECURITY INTERST. Recorded Nov 3, 2020
From: CYPRESS SEMICONDUCTOR CORPORATION; SPANSION LLC
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 058002/0470 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 10, 2019
From: CYPRESS SEMICONDUCTOR CORPORATION
To: MONTEREY RESEARCH, LLC
Reel/Frame 047947/0215 →
RELEASE OF SECURITY INTEREST Recorded Dec 20, 2018
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: CYPRESS SEMICONDUCTOR CORPORATION; SPANSION LLC
Reel/Frame 047969/0552 →
SECURITY INTEREST Recorded Mar 21, 2015
From: CYPRESS SEMICONDUCTOR CORPORATION; SPANSION LLC
To: MORGAN STANLEY SENIOR FUNDING, INC.
Reel/Frame 035240/0429 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 22, 2013
From: BARTZ, MANFRED; NEMECEK, CRAIG; PLEIS, MATT
To: CYPRESS SEMICONDUCTOR CORPORATION
Reel/Frame 030468/0970 →
Continuity (2)
Continuation 10112236 · Mar 29, 2002
Related Publication 20080222453A1 · Sep 11, 2008