IP Library Granted Patent US 8,161,328
Granted Patent B1
US 8,161,328 · App. 12/789,394 · Granted Apr 17, 2012

Debugger interface

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,161,328
App. No.
12/789,394
Granted
Apr 17, 2012
Kind
B1
Abstract

A system is disclosed comprising a processor, and a debug circuit. The debug circuit comprises a reset circuit configured to detect when the system is released from a reset, a debugger detection circuit configured to detect whether an external debugger is connected to the system at a time the reset circuit detects a release from the reset, and a halt circuit configured to halt operation of the processor when the debugger detection circuit detects the debugger at the time of release from the reset.

Claims (41)

1. A system, comprising:

a processor; and

a debug circuit comprising:

a reset circuit configured to detect when the system is released from a reset;

a debugger detection circuit configured to detect whether an external debugger is connected to the system at a time the reset circuit detects a release from the reset; and

a halt circuit configured to halt operation of the processor when the debugger detection circuit detects the debugger at the time of release from the reset.

2. The system of claim 1 , wherein the halt circuit is configured to not halt operation of the processor until a next reset of the system when the debugger detection circuit does not detect the debugger at the time of release from the reset.

3. The system of claim 1 , wherein the debugger detection circuit is configured to detect whether the debugger is connected to the system by receiving a signal from the debugger when the debugger is connected to the system.

4. The system of claim 1 , wherein the debug circuit comprises a debugger release circuit configured to detect a halt release from the debugger, and the halt circuit is configured to release the processor from a halted state when the debugger release circuit detects the halt release from the debugger.

5. The system of claim 4 , wherein, after releasing the processor from the halted state, the halt circuit is configured to not halt operation of the processor until a next reset of the system.

6. The system of claim 1 , wherein the reset corresponds to a power on reset.

7. The system of claim 1 , further comprising a trace source configured to collect trace information from the processor while the processor is running, and to output the trace information to the debugger.

8. The system of claim 7 , wherein the trace source is programmable by the debugger through a debug access port.

9. The system of claim 1 , wherein the system is integrated on a chip.

10. The system of claim 1 , wherein the system is on a printed circuit board.

11. A method of debugging a system including a processor, comprising:

detecting when the system is released from a reset;

detecting whether a debugger is connected to the system at a time of release from the reset; and

halting operation of the processor when the debugger is detected at the time of release from the reset.

12. The method of claim 11 , further comprising not halting operation of the processor until a next reset of the system when the debugger is not detected at the time of release from the reset.

13. The method of claim 11 , wherein the detecting whether the debugger is connected to the system comprises receiving a signal from the debugger when the debugger is connected to the system.

14. The method of claim 11 , further comprising:

detecting a halt release from the debugger; and

releasing the processor from a halted state when the halt release from the debugger is detected.

15. The method of claim 14 , further comprising, after releasing the processor from the halted state, not halting operation of the processor until a next reset of the system.

16. The method of claim 11 , wherein the reset corresponds to a power on reset.

17. The method of claim 11 , further comprising:

collecting trace information from the processor while the processor is running; and

outputting the trace information to the debugger.

18. The method of claim 17 , further comprising:

programming a trace source to collect the trace information from the processor when the processor is in a halted state; and

after programming the trace source, releasing the processor from the halted state.

19. A disk drive, comprising:

a disk;

a head configured to write data to and read data from the disk;

a processor configured to control operation of the disk drive; and

a debug circuit comprising:

a reset circuit configured to detect when the disk drive is released from a reset;

a debugger detection circuit configured to detect whether an external debugger is connected to the disk drive at a time the reset circuit detects a release from the reset; and

a halt circuit configured to halt operation of the processor when the debugger detection circuit detects the debugger at the time of release from the reset.

20. The disk drive of claim 19 , wherein the halt circuit is configured to not halt operation of the processor until a next reset of the disk drive when the debugger detection circuit does not detect the debugger at the time of release from the reset.

Assignments (8)
PATENT COLLATERAL AGREEMENT - DDTL LOAN AGREEMENT Recorded Aug 21, 2023
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 067045/0156 →
PATENT COLLATERAL AGREEMENT - A&R LOAN AGREEMENT Recorded Aug 21, 2023
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A.
Reel/Frame 064715/0001 →
RELEASE OF SECURITY INTEREST AT REEL 038744 FRAME 0481 Recorded Feb 8, 2022
From: JPMORGAN CHASE BANK, N.A.
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 058982/0556 →
RELEASE OF SECURITY INTEREST Recorded Mar 5, 2018
From: U.S. BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 045501/0714 →
SECURITY AGREEMENT Recorded May 17, 2016
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
Reel/Frame 038744/0481 →
SECURITY AGREEMENT Recorded May 17, 2016
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: U.S. BANK NATIONAL ASSOCIATION, AS COLLATERAL AGENT
Reel/Frame 038744/0281 →
SECURITY AGREEMENT Recorded May 17, 2016
From: WESTERN DIGITAL TECHNOLOGIES, INC.
To: JPMORGAN CHASE BANK, N.A., AS COLLATERAL AGENT
Reel/Frame 038722/0229 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 27, 2010
From: WILSHIRE, JAMES C.
To: WESTERN DIGITAL TECHNOLOGIES, INC.
Reel/Frame 024453/0034 →