← Back to Patent Explorer
US6094730A Expired / Lapsed US ⏱️ 0.0 years remaining

Hardware-assisted firmware tracing method and apparatus

Assignee: Samsung Electronics Co Ltd
•
Filing: 1997-10-27
•
Granted: 2000-07-25
•
Expires: 2017-10-27
📄 Original PDF 🌐 Google Patents 🔄 Sync Now

Abstract

Abstract The present invention provides a test and diagnosis system for testing an embedded processor. The test system includes an ASIC having an embedded microprocessor, a debug assist logic unit for monitoring the addresses and data from the embedded microprocessor, a debug kernel and an instruction overlay harness. When the debug assist logic block finds a predetermined set of match conditions, it interrupts the embedded microprocessor and transfers control from the code running on the microprocessor to the debug kernel. The debug kernel is coupled to the debug assist logic unit and responsive to user input, the debug kernel allows the user to trace processor transactions during code execution. A REMAP bit in the ASIC allows remapping of the microprocessor memory into a faster instruction overlay memory, allowing the code to be quickly modified during product debug.

Inventors

  • 👤 Ted J. Lopez
  • 👤 Scott A. Jones
  • 👤 Thomas M. Laffey

Bibliographic Details

Application Number —
Jurisdiction US
Data Source google_patents
Last Synchronized 2026-11-03 21:03
CPC Classifications
G; G06; G06F; G06F11/00; G06F11/36; G06F11/362; G06F11/3636; G06F11/22; G06F11/26; G06F11/261; G06F11/3648

Claims Analysis

Total Claims: 17
Claim 1
Independent Claim 155 words
A test and diagnosis system for testing an embedded microprocessor of a product under test, comprising: an ASIC, wherein the ASIC includes both the embedded microprocessor of the product under test and a debug assist logic means, the debug assist logic means for monitoring information from the embedded microprocessor of the product under test, the debug assist logic means electrically coupled to the embedded microprocessor of the product under test and including a plurality of storage means, the plurality of storage means including at least a first storage set means for storing a control set of match conditions, wherein responsive to a match of monitored information and the conditions set in the control set, the debug assist logic means generates an interrupt to the embedded microprocessor of the product under test; and debug software stored on a first memory means, the first memory means electrically coupled to the embedded processor of the product under test.
Claim 2
Dependent Claim 155 words
A test and diagnosis system for testing an embedded microprocessor of a product under test, comprising: an ASIC, wherein the ASIC includes both the embedded microprocessor of the product under test and a debug assist logic means, the debug assist logic means for monitoring information from the embedded microprocessor of the product under test, the debug assist logic means electrically coupled to the embedded microprocessor of the product under test and including a plurality of storage means, the plurality of storage means including at least a first storage set means for storing a control set of match conditions, wherein responsive to a match of monitored information and the conditions set in the control set, the debug assist logic means generates an interrupt to the embedded microprocessor of the product under test; and debug software stored on a first memory means, the first memory means electrically coupled to the embedded processor of the product under test.
Claim 3
Dependent Claim 41 words
The test and diagnosis system recited in claim 1, wherein the test and diagnosis system is further comprised of an instruction overlay harness means including an instruction overlay memory means, the instruction overlay harness means being electrically coupled to the ASIC.
Claim 4
Dependent Claim 29 words
The test and diagnosis system recited in claim 2, wherein the instruction overlay harness means further includes an overlay harness address decoding means and an instruction overlay enablement means.
Claim 5
Dependent Claim 43 words
The test and diagnosis system recited in claim 1 wherein the debug assist logic means is electrically coupled to and monitors information from an address bus and a data bus, the address bus and data bus being electrically coupled to the embedded microprocessor.
Claim 6
Dependent Claim 40 words
The test and diagnosis system recited in claim 1 wherein responsive to interrupt generated by the debug assist logic means, control is transferred from execution code running on the embedded microprocessor of the product under test to the debug software.
Claim 7
Dependent Claim 23 words
The test and diagnosis system recited in claim 1 wherein the ASIC further includes a REMA port electrically coupled to a monitoring means.
Claim 8
Dependent Claim 222 words
A test and diagnosis system for testing an embedded microprocessor comprising: an ASIC including the embedded microprocessor and a debug assist logic means, the debug assist logic means for monitoring information from the embedded microprocessor, the debug assist logic means electrically coupled to the embedded microprocessor and including a plurality of storage means, the plurality of storage means including at least a first storage set means for storing a control set of match conditions, wherein responsive to a match of monitored information and the conditions set in the control set, the debug assist logic means generates an interrupt to embedded microprocessor; and debug software stored on a first memory means, the first memory means electrically coupled to the embedded processor, wherein the test and diagnosis system is further comprised of an instruction overlay harness means including an instruction overlay memory means, the instruction overlay harness means being electrically coupled to the ASIC, wherein the instruction overlay harness means further includes an overlay harness address decoding means and an instruction overlay enablement means, wherein one of the plurality of storage means in the debug assist logic means is an interrupt control storage means, the interrupt control storage means including a REMAP bit for mapping portions of the first memory means to an address that does not conflict with the instruction overlay memory means.
Claim 9
Dependent Claim 222 words
A test and diagnosis system for testing an embedded microprocessor comprising: an ASIC including the embedded microprocessor and a debug assist logic means, the debug assist logic means for monitoring information from the embedded microprocessor, the debug assist logic means electrically coupled to the embedded microprocessor and including a plurality of storage means, the plurality of storage means including at least a first storage set means for storing a control set of match conditions, wherein responsive to a match of monitored information and the conditions set in the control set, the debug assist logic means generates an interrupt to embedded microprocessor; and debug software stored on a first memory means, the first memory means electrically coupled to the embedded processor, wherein the test and diagnosis system is further comprised of an instruction overlay harness means including an instruction overlay memory means, the instruction overlay harness means being electrically coupled to the ASIC, wherein the instruction overlay harness means further includes an overlay harness address decoding means and an instruction overlay enablement means, wherein one of the plurality of storage means in the debug assist logic means is an interrupt control storage means, the interrupt control storage means including a REMAP bit for mapping portions of the first memory means to an address that does not conflict with the instruction overlay memory means.
Claim 10
Dependent Claim 190 words
A test and diagnosis system for testing an embedded microprocessor comprising: an ASIC including the embedded microprocessor and a debug assist logic means, the debug assist logic means for monitoring information from the embedded microprocessor, the debug assist logic means electrically coupled to the embedded microprocessor and including a plurality of storage means, the plurality of storage means including at least a first storage set means for storing a control set of match conditions, wherein responsive to a match of monitored information and the conditions set in the control set, the debug assist logic means generates an interrupt to embedded microprocessor; and debug software stored on a first memory means, the first memory means electrically coupled to the embedded processor, wherein the debug assist logic means is electrically coupled to and monitors information from an address bus and a data bus, the address bus and data bus being electrically coupled to the embedded microprocessor, wherein a match of a condition stored in the control set occurs when an address stored in the at least one register set of the debug assist logic means matches the address on the address bus.
Claim 11
Dependent Claim 190 words
A test and diagnosis system for testing an embedded microprocessor comprising: an ASIC including the embedded microprocessor and a debug assist logic means, the debug assist logic means for monitoring information from the embedded microprocessor, the debug assist logic means electrically coupled to the embedded microprocessor and including a plurality of storage means, the plurality of storage means including at least a first storage set means for storing a control set of match conditions, wherein responsive to a match of monitored information and the conditions set in the control set, the debug assist logic means generates an interrupt to embedded microprocessor; and debug software stored on a first memory means, the first memory means electrically coupled to the embedded processor, wherein the debug assist logic means is electrically coupled to and monitors information from an address bus and a data bus, the address bus and data bus being electrically coupled to the embedded microprocessor, wherein a match of a condition stored in the control set occurs when an address stored in the at least one register set of the debug assist logic means matches the address on the address bus.
Claim 12
Dependent Claim 149 words
A test and diagnosis system for testing an embedded microprocessor comprising: an ASIC including the embedded microprocessor and a debug assist logic means, the debug assist logic means for monitoring information from the embedded microprocessor, the debug assist logic means electrically coupled to the embedded microprocessor and including a plurality of storage means, the plurality of storage means including at least a first storage set means for storing a control set of match conditions, wherein responsive to a match of monitored information and the conditions set in the control set, the debug assist logic means generates an interrupt to embedded microprocessor; and debug software stored on a first memory means, the first memory means electrically coupled to the embedded processor wherein a match of a condition stored in the control set occurs when the data stored in the debug assist logic means matches the data on the data bus.
Claim 13
Dependent Claim 149 words
A test and diagnosis system for testing an embedded microprocessor comprising: an ASIC including the embedded microprocessor and a debug assist logic means, the debug assist logic means for monitoring information from the embedded microprocessor, the debug assist logic means electrically coupled to the embedded microprocessor and including a plurality of storage means, the plurality of storage means including at least a first storage set means for storing a control set of match conditions, wherein responsive to a match of monitored information and the conditions set in the control set, the debug assist logic means generates an interrupt to embedded microprocessor; and debug software stored on a first memory means, the first memory means electrically coupled to the embedded processor wherein a match of a condition stored in the control set occurs when the data stored in the debug assist logic means matches the data on the data bus.
Claim 14
Dependent Claim 185 words
A test and diagnosis system for testing an embedded microprocessor comprising: an ASIC including the embedded microprocessor and a debug assist logic means, the debug assist logic means for monitoring information from the embedded microprocessor, the debug assist logic means electrically coupled to the embedded microprocessor and including a plurality of storage means, the plurality of storage means including at least a first storage set means for storing a control set of match conditions, wherein responsive to a match of monitored information and the conditions set in the control set, the debug assist logic means generates an interrupt to embedded microprocessor; and debug software stored on a first memory means, the first memory means electrically coupled to the embedded processor wherein a match of a condition stored in the control set occurs when both (1) the address stored in the debug assist logic means matches the address information monitored by the debug assist logic means across the address bus and (2) the data stored in the debug assist logic means matches the data information monitored by the debug assist logic means across the data bus.
Claim 15
Dependent Claim 185 words
A test and diagnosis system for testing an embedded microprocessor comprising: an ASIC including the embedded microprocessor and a debug assist logic means, the debug assist logic means for monitoring information from the embedded microprocessor, the debug assist logic means electrically coupled to the embedded microprocessor and including a plurality of storage means, the plurality of storage means including at least a first storage set means for storing a control set of match conditions, wherein responsive to a match of monitored information and the conditions set in the control set, the debug assist logic means generates an interrupt to embedded microprocessor; and debug software stored on a first memory means, the first memory means electrically coupled to the embedded processor wherein a match of a condition stored in the control set occurs when both (1) the address stored in the debug assist logic means matches the address information monitored by the debug assist logic means across the address bus and (2) the data stored in the debug assist logic means matches the data information monitored by the debug assist logic means across the data bus.
Claim 16
Dependent Claim 147 words
A test and diagnosis system for testing an embedded microprocessor comprising: an ASIC including the embedded microprocessor and a debug assist logic means, the debug assist logic means for monitoring information from the embedded microprocessor, the debug assist logic means electrically coupled to the embedded microprocessor and including a plurality of storage means, the plurality of storage means including at least a first storage set means for storing a control set of match conditions, wherein responsive to a match of monitored information and the conditions set in the control set, the debug assist logic means generates an interrupt to embedded microprocessor; and debug software stored on a first memory means, the first memory means electrically coupled to the embedded processor wherein the plurality of registers of the debug assist logic means includes at least one register set, an interrupt control storage means and an ID storage means.
Claim 17
Dependent Claim 147 words
A test and diagnosis system for testing an embedded microprocessor comprising: an ASIC including the embedded microprocessor and a debug assist logic means, the debug assist logic means for monitoring information from the embedded microprocessor, the debug assist logic means electrically coupled to the embedded microprocessor and including a plurality of storage means, the plurality of storage means including at least a first storage set means for storing a control set of match conditions, wherein responsive to a match of monitored information and the conditions set in the control set, the debug assist logic means generates an interrupt to embedded microprocessor; and debug software stored on a first memory means, the first memory means electrically coupled to the embedded processor wherein the plurality of registers of the debug assist logic means includes at least one register set, an interrupt control storage means and an ID storage means.

References Cited (Backward Citations)

GB569128A Cited
GB652516A Cited
US5220658A Cited
US5426759A Cited
US5463760A Cited
US5325512A Cited
US5630052A Cited
US5640542A Cited
US5802347A Cited
US5546562A Cited
EP0762278A1 Cited
US5911059A Cited
US5862148A Cited

USPTO Annuity & Maintenance Windows

Annuity Stage Window Opens Payment Deadline Surcharge Period Until Estimated Fee Status
3.5 Years (Year 4) 2003-07-25 2004-01-24 2004-07-25 $2000.00 Window Closed / Lapsed
7.5 Years (Year 8) 2007-07-25 2008-01-24 2008-07-25 $3760.00 Window Closed / Lapsed
11.5 Years (Year 12) 2011-07-25 2012-01-24 2012-07-25 $7700.00 Window Closed / Lapsed

Assigned Categories & Tags

No categories assigned to this patent yet.

Assign Category Tag