# US 5,333,307 A · Circuitry and method for causing a microcontroller/microprocessor to be on-circuit emulated

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 5,333,307 A
- Document ID: US5333307A
- Status: Granted
- Kind: A
- Application number: 07/931,158
- Filed: 1992-08-17
- Granted: 1994-07-26
- Earliest claimed: 1992-08-17
- Assignees: Intel Corporation
- Inventors: Gary G. Shirk; Shailesh M. Vachhani; Harry L. Hampton, III
- Web page: https://patentgrep.com/patent/US5333307A

## CPC

- G06F 11/261: {by simulating additional hardware, e.g. fault simulation}
- G06F 11/2273: {Test methods}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An emulation system for performing an on-circuit emulation operation of a component in a data processing system is described. The component includes a plurality of pins coupled to the remaining circuitry of the data processing system. An emulator is coupled to the remaining circuitry in the same manner as that the component is coupled to the remaining circuitry for issuing an on-circuit emulation control signal to one of the plurality of pins of the component to place the component in an on-circuit emulation mode and for performing the on-circuit emulation operation of the component. A reset circuit is coupled to a reset input of the component and a reset input of the emulator for generating a reset signal to reset the component and the emulator. When the reset signal is in a first voltage state, the component and the emulator are in a reset state. When the reset signal reaches a second voltage state, the component and the emulator exit the reset state. A comparator is coupled to receive the reset signal and a reference voltage for causing the emulator to generate the on-circuit emulation control signal to the one of the plurality of pins of the component when the reset signal is in the first voltage state, and for causing the emulator to maintain the on-circuit emulation control signal applied at the one of the plurality of pins of the component until after both the component and the emulator are out of the reset state such that the component can enter the on-circuit emulation mode and the emulator can start the on-circuit emulation operation after both of the component and the emulator exit the reset state. The voltage level of the reference voltage is higher than the second voltage state of the reset signal. A method of placing the component in the on-circuit emulation mode is also described.

## Claims

### Claim 1

An emulation system for performing an on-circuit emulation operation of a component in a data processing system, wherein the component includes a plurality of pins coupled to the remaining circuitry of the data processing system, wherein the emulation system comprises:
(A) emulation means coupled to the remaining circuitry in the same manner as that the component is coupled to the remaining circuitry for issuing an on-circuit emulation control signal to one of the plurality of pins of the component to place the component in an on-circuit emulation mode and for performing the on-circuit emulation operation of the component;
(B) reset means coupled to a reset input of the component and a reset input of the emulation means for generating a reset signal to reset the component and the emulation means, wherein when the reset signal is in a first voltage state, the component and the emulation means are in a reset state, wherein when the reset signal reaches a second voltage state, the component and the emulation means exit the reset state;
(C) comparator means coupled to receive the reset signal and a reference voltage for causing the emulation means to generate the on-circuit emulation control signal to the one of the plurality of pins of the component when the reset signal is in the first voltage state, and for causing the emulation means to maintain the on-circuit emulation control signal applied at the one of the plurality of pins of the component until after both the component and the emulation means are out of the reset state such that the component can enter the on-circuit emulation mode and the emulation means can start the on-circuit emulation operation after both of the component and the emulation means exit the reset state, wherein the voltage level of the reference voltage is higher than the second voltage state of the reset signal.

### Claim 2 (depends on 1)

The on-circuit emulation system of claim 1, wherein the plurality of pins of the component are electrically disconnected with the remaining circuitry of the data processing system while physically coupled to the remaining circuitry of the data processing system in the on-circuit emulation mode.

### Claim 3 (depends on 1)

The on-circuit emulation system of claim 1, wherein the comparator means comprises a comparator.

### Claim 4 (depends on 1)

The on-circuit emulation system of claim 1, wherein the comparator means causes the emulation means to stop applying the on-circuit emulation control signal to the one of the plurality of pins of the component when the voltage level of the reset signal reaches the voltage level of the reference voltage.

### Claim 5 (depends on 1)

The on-circuit emulation system of claim 1, wherein the first voltage state is a logical low voltage and the second voltage state is a logical high voltage, wherein the reference voltage is approximately 2.5 volts.

### Claim 6 (depends on 1)

The on-circuit emulation system of claim 1, wherein the one of the plurality of pins of the component is not a dedicated pin for the on-circuit emulation control signal.

### Claim 7 (depends on 1)

The on-circuit emulation system of claim 1, wherein the component is a microcontroller.

### Claim 8 (depends on 1)

The on-circuit emulation system of claim 1, wherein the component is a microprocessor.

### Claim 9 (depends on 1)

The on-circuit emulation system of claim 1, further comprising means coupled between the reset means and the reset input of the emulation means and to the comparator means for assuring the emulation means to remain in the reset state while the on-circuit emulation control signal is applied at one of the plurality of pins of the component, wherein the assuring means comprises an FET transistor coupled between the reset means and the reset input of the emulation means, a buffer means coupled between the comparator means and the reset input of the emulation means, and a delay means coupled between the comparator and a gate of the FET transistor.

### Claim 10

In an emulation system having an emulation means for performing an on-circuit emulation operation of a component of a data processing system, wherein the component includes a plurality of pins coupled to the remaining circuitry of the data processing system, wherein the emulation means is coupled to the remaining circuitry in the same manner as that the component is coupled to the remaining circuitry, wherein the plurality pins of the component are electrically disconnected with the remaining circuitry when the component is placed in an on-circuit emulation mode during the on-circuit emulation operation, a control circuitry for placing the component in the on-circuit emulation mode, comprising:
(A) reset means coupled to a reset input of the component and a reset input of the emulation means for generating a reset signal to reset the component and the emulation means, wherein when the reset signal is in a first voltage state, the component and the emulation means are in a reset state, wherein when the reset signal reaches a second voltage state, the component and the emulation means exit the reset state; and
(B) comparator means coupled to receive the reset signal and a reference voltage for causing the emulation means to generate an on-circuit emulation control signal to one of the plurality of pins of the component to place the component in the on-circuit emulation mode when the reset signal is in the first voltage state, and for causing the emulation means to maintain the on-circuit emulation control signal applied at the one of the plurality of the component until after both the component and the emulation means are out of the reset state such that the component can enter the on-circuit emulation mode and the emulation means can start the on-circuit emulation operation after both of the component and the emulation means exit the reset state, wherein the voltage level of the reference voltage is higher than the second voltage state of the reset signal.

### Claim 11 (depends on 10)

The on-circuit emulation system of claim 10, wherein the comparator means comprises a comparator.

### Claim 12 (depends on 10)

The on-circuit emulation system of claim 10, wherein the comparator means causes the emulation means to stop applying the on-circuit emulation control signal to the one of the plurality of pins of the component when the voltage level of the reset signal reaches the voltage level of the reference voltage.

### Claim 13 (depends on 10)

The on-circuit emulation system of claim 10, wherein the first voltage state is a logical low voltage and the second voltage state is a logical high voltage, wherein the reference voltage is approximately 2.5 volts.

### Claim 14 (depends on 10)

The on-circuit emulation system of claim 10, wherein the one of the plurality of pins of the component is not a dedicated pin for the on-circuit emulation control signal.

### Claim 15 (depends on 10)

The on-circuit emulation system of claim 10, wherein the component is a microcontroller.

### Claim 16 (depends on 10)

The on-circuit emulation system of claim 10, wherein the component is a microprocessor.

### Claim 17 (depends on 10)

The on-circuit emulation system of claim 10, further comprising means coupled between the reset means and the reset input of the emulation means and to the comparator means for assuring the emulation means to remain in the reset state while the on-circuit emulation control signal is applied at one of the plurality of pins of the component, wherein the assuring means comprises an FET transistor coupled between the reset means and the reset input of the emulation means, a buffer means coupled between the comparator means and the reset input of the emulation means, and a delay means coupled between the comparator and a gate of the FET transistor.

### Claim 18

A method of placing a component of a data processing system in an on-circuit emulation mode for an on-circuit emulation operation, wherein the component includes a plurality of pins coupled to the remaining circuitry of the data processing system, wherein the method comprises the steps of:
(a) coupling an emulation means to the remaining circuitry of the data processing system in the same manner as that the component is coupled to the remaining circuitry;
(b) generating a reset signal to a reset input of the component and a reset input of the emulation means, wherein when the reset signal is in a first voltage state, the component and the emulation means are in a reset state, wherein when the reset signal reaches a second voltage state, the component and the emulation means exit the reset state;
(c) causing the emulation means to generate the on-circuit emulation control signal to one of the plurality pins of the component when the reset signal is in the first voltage state, and causing the emulation means to maintain the on-circuit emulation control signal applied at the one of the plurality of pins of the component until after both the component and the emulation means are out of the reset state such that the component can enter the on-circuit emulation mode and the emulation means can start the on-circuit emulation operation after both of the component and the emulation means exit the reset state, wherein the component does not include a dedicated on-circuit emulation mode enable input, wherein the emulation means performs the on-circuit emulation operation on the component when the component is in the on-circuit emulation mode.

### Claim 19 (depends on 18)

The method of placing the component in the on-circuit emulation mode of claim 18, wherein the step (c) further comprises the step of providing a comparator means for comparing the voltage level of the reset signal with the voltage level of a reference voltage, wherein the comparator means causes the emulation means to stop applying the on-circuit emulation control signal to the one of the plurality of pins of the component when the voltage level of the reset signal reaches the voltage level of the reference voltage, wherein the voltage level of the reference voltage is higher than the second voltage state of the reset signal.

### Claim 20 (depends on 19)

The method of placing the component in the on-circuit emulation mode of claim 19, wherein the first voltage state is a logical low voltage and the second voltage state is a logical high voltage, wherein the reference voltage is approximately 2.5 volts.

### Claim 21 (depends on 19)

The method of placing the component in the on-circuit emulation mode of claim 19, wherein the component is a microcontroller.

### Claim 22 (depends on 19)

The method of placing the component in the on-circuit emulation mode of claim 19, wherein the component is a microprocessor.
