IP Library Granted Patent US 7,496,792
Granted Patent B2
US 7,496,792 · App. 10/531,340 · Granted Feb 24, 2009

Repeat digital message transmission between a microprocessor monitoring circuit and an analyzing tool

Assignee: STMicroelectronics S.A.
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 7,496,792
App. No.
10/531,340
Granted
Feb 24, 2009
Kind
B2
Abstract

The invention concerns a method for transmitting digital messages through output terminals ( 22 ) of a monitoring circuit ( 18 ) incorporated in a microprocessor ( 12 ) during execution of a series of instructions, the digital messages representing characteristic data stored by the monitoring circuit upon detecting a specific event in the execution of the series of instructions, one of said data corresponding to an identifier of said specific event, said method comprising the following steps: comparing the data of the last two detected specific events having a common identifier, if the compared data are identical, incrementing a repeat counter associated with said specific event; and if the compared data are different, transmitting a digital message representing the data of the last detected specific event, and furthermore, if the content of the repeat counter associated with said specific event is other than zero, transmitting a digital message indicating a repeat of the specific event.

Claims (30)

1. A method for transmitting digital messages through output terminals of a monitoring circuit integrated to a microprocessor on execution of an instruction sequence by the microprocessor, each digital message being representative of characteristic data stored by the monitoring circuit on detection of a specific event from a plurality of specific events in the execution of the instruction sequence, the method comprising:

comparing characteristic stored data of a specific event having an identifier with characteristic stored data of a last previously detected specific event having the same identifier to determine whether the specific event and the last previously detected specific event are identical;

when it is determined that the specific event and the last previously detected specific event are identical, incrementing a repetition counter associated with said specific event; and

when it is determined that the specific event and the last previously detected specific event are different;

transmitting a digital message representative of the data characteristic of the specific event through at least one output terminal of the monitoring circuit; and,

when content of the repetition counter associated with said specific event is different from zero, transmitting a digital message indicating a number of repetitions of the specific event, the number of repetitions is determined by a value of the repetition counter.

2. The method of claim 1 , further comprising resetting the repetition counter associated wit said specific event after transmission of the digital message indicating a number of repetitions of the specific event.

3. The method of claim 1 , wherein the characteristic data comprise a number of instructions executed by the microprocessor between the last two detected specific events.

4. The method of claim 1 , wherein the specific event is a jump in the instruction sequence executed by the microprocessor and the last previously detected specific event has the same identifier in a last detected jump.

5. The method of claim 4 , wherein the characteristic stored data of the specific event comprise data representative of an address of a destination instruction of the jump and the characteristic stored data of the last previously detected specific event comprise data representative of an address of a destination instruction of the last detected jump.

6. The method of claim 1 , wherein the specific event is a read or write instruction in the instruction sequence executed by the microprocessor.

7. The method of claim 1 , further comprising:

transmitting a digital message indicating a repetition of the specific event if the content of the repetition counter associated with said specific event is greater than a determined threshold; and

setting the repetition counter associated with said specific event to zero.

8. A device for transmitting digital messages between a monitoring circuit integrated with a microprocessor and an analysis tool, on execution of an instruction sequence by the microprocessor, comprising:

means for detecting a specific event from a plurality of specific events in the execution of the instruction sequence, the specific event having an identifier;

means for storing data characteristic of the detected specific event;

means for transmitting a digital message representative of the stored characteristic data;

means for comparing the characteristic data of the detected specific event with characteristic stores data of a last previously detected specific event having the same identifier to determine whether the detected specific event and the last previously detected specific event are identical; and

means for incrementing a repetition counter associated with said detected specific event and indicating a number of repetitions of the detected specific event when the comparison means provides a signal indicating that the detected specific event and the last previously detected specific event are identical;

wherein the transmission means is configured to:

transmitting, through at least one output terminal of the monitoring circuit, a message representative of the data characteristic of the detected specific event when the comparison means provides a signal indicating that the detected specific event and the last previously detected specific event are different; and

transmitting a digital message indicating a repetition of the detected specific event when the incrementation means provides a signal indicating that content of the repetition counter associated with said detected specific event is different from zero.

9. The device of claim 8 , in which the incrementation means is further capable of setting the repetition counter associated with said specific event to zero when the transmission means transmits a digital message indicating a repetition of the specific event.

10. The device of claim 8 , wherein the digital message indicating the repetition of the detected specific event comprises the content of the repetition counter associated with said specific event.

11. The device of claim 8 , further comprising means for resetting the repetition counter associated with the detected specific event after transmission of the digital message indicating the repetition of the specific event.

12. The device of claim 8 , wherein the characteristic data comprise the number of instructions executed by the microprocessor between the last two detected specific events.

13. The device of claim 8 , wherein the detected specific event is a jump in the instruction sequence executed by the microprocessor and the last previously detected specific event corresponding to the same identifier in a last detected jump.

14. The device of claim 13 , wherein the characteristic stored data of detected the specific event comprise data representative of an address of a destination instruction of the jump and the characteristic stored data of the last previously detected specific event comprise data representative of an address of a destination instruction of the last detected jump.

15. The device of claim 8 , wherein the specific event is a read or write instruction in the instruction sequence executed by the microprocessor.

Assignments (2)
CHANGE OF NAME Recorded Jan 21, 2024
From: STMICROELECTRONICS SA
To: STMICROELECTRONICS FRANCE
Reel/Frame 066357/0381 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 14, 2005
From: REGNIER, LAURENT
To: STMICROELECTRONICS S.A.
Reel/Frame 017112/0890 →
Continuity (1)
Related Publication 20060013294A1 · Jan 19, 2006