IP Library Granted Patent US 8,745,446
Granted Patent B2
US 8,745,446 · App. 12/729,864 · Granted Jun 3, 2014

Integrated circuit, debugging circuit, and debugging command control method

Inventors: Shuhei Sato (Yokohama, JP); Takashi Sato (Yokohama, JP)
Assignee: Spansion LLC
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,745,446
App. No.
12/729,864
Granted
Jun 3, 2014
Kind
B2
Abstract

An integrated circuit includes a bus; a processing unit configured to execute a user program; and a debugging circuit connected to the bus, the debugging circuit transferring a command in a command register to the processing unit via the bus in response to a command transfer request from the processing unit, wherein, when the processing unit halts the execution of the user program and makes a request for the command transfer request to the debugging circuit, the debugging circuit makes a response for freeing the use right of the bus from the processing unit in a period between the command transfer request and the command transfer operation.

Claims (55)

1. An integrated circuit, comprising:

a bus;

a processing unit configured to execute a user program; and

a debugging circuit coupled to the bus, the debugging circuit comprising a command register,

wherein, when the processing unit executes a command including a break factor in the user program,

the processing unit halts the execution of the user program and makes a command transfer request to the debugging circuit,

the debugging circuit makes a split response for freeing a use right of the bus from the processing unit,

the processing unit frees the use right of the bus and enters a wait state,

the debugging circuit prepares a debugging command in the command register and transfers the debugging command to the processing unit via the bus, and

the processing unit restarts the execution of the halted user program after executing the debugging command,

wherein the debugging circuit is settable in one of a first operation mode in which the split response is made and a second operation mode in which the split response is not made,

in an initial state, a command for branching to a specific address is stored in the command register of the debugging circuit, and

when the debugging circuit is set in the second operation mode, the debugging circuit immediately transfers the command for branching to the specific address to the processing unit in response to the command transfer request,

wherein after the processing unit executes the command for branching to the specific address and a command that begins from the specific address, and issues a subsequent command transfer request to the debugging circuit, the debugging circuit makes the split response even when the debugging circuit is set in the second operation mode.

2. The integrated circuit according to claim 1 , further comprising

a memory for storing the user program, the memory being coupled to the bus,

wherein the debugging circuit has a function of accessing the memory via the bus in response to external control.

3. The integrated circuit according to claim 1 ,

wherein the split response indicates that the debugging circuit is in preparation for a response.

4. The integrated circuit according to claim 1 , wherein, when a desired command is stored in the command register from the outside after the split response is made and an execution is instructed, the debugging circuit sends a signal indicating that command transfer preparation has been completed.

5. The integrated circuit according to claim 1 , wherein, when a signal indicating that the command transfer preparation has been completed is sent from the debugging circuit, the processing unit acquires the use right of the bus and reads the command from the debugging circuit via the bus.

6. A debugging circuit that is coupled to a processing unit that executes a user program via a bus, the debugging circuit comprising:

a command register configured to store a command; and

a control circuit configured to transfer the command to the processing unit via the bus in response to a command transfer request from the processing unit, wherein, when the processing unit executes a command including a break factor in the user program, the processing unit halts the execution of the user program and makes the command transfer request to the control circuit,

the control circuit makes a split response for freeing a use right of the bus from the processing unit in a period between the command transfer request and a command transfer operation,

the processing unit frees the use right of the bus and enters a wait state,

the control circuit prepares a debugging command in the command register and transfers the debugging command to the processing unit via the bus, and

the processing unit restarts the execution of the halted user program after executing the debugging command,

wherein the debugging circuit is settable in one of a first operation mode in which the split response is made and a second operation mode in which the split response is not made,

in an initial state, a command for branching to a specific address is stored in the command register of the debugging circuit, and

when the debugging circuit is set in the second operation mode, the debugging circuit immediately transfers the command for branching to the specific address to the processing unit in response to the command transfer request,

wherein after the processing unit executes the command for branching to the specific address and a command that begins from the specific address, and issues a subsequent command transfer request to the debugging circuit, the debugging circuit makes the split response even when the debugging circuit is set in the second operation mode.

7. The debugging circuit according to claim 6 , wherein

the control circuit has a function of accessing a memory via the bus in response to external control.

8. The debugging circuit according to claim 6 , wherein

the split response includes a response to the processing unit indicating being in preparation for a response.

9. The debugging circuit according to claim 6 , wherein,

when a desired command is stored in the command register from the outside after the split response is made, and an execution is instructed, the control circuit sends a signal indicating that command transfer preparation has been completed.

10. A debugging command control method for use with an integrated circuit, comprising:

a bus,

a processing unit configured to execute a user program, and

a debugging circuit coupled to the bus, the debugging circuit transferring a command to the processing unit via the bus in response to a command transfer request from the processing unit,

the debugging command control method comprising:

halting the execution of the user program and transmitting the command transfer request from the processing unit to the debugging circuit;

sending, in response to the command transfer request, a split response from the debugging circuit to the processing unit for freeing a use right of the bus from the processing unit;

freeing the use right of the bus from the processing unit in response to the split response;

preparing a debugging command in the command register and transferring the debugging command to the processing unit via the bus;

executing the halted user program after executing the debugging command;

configuring the debugging circuit in one of a first operation mode in which the split response is made and a second operation mode in which the split response is not made;

in an initial state, storing a command for branching to a specific address in the command register of the debugging circuit;

when the debugging circuit is set in the second operation mode, configuring the debugging circuit to immediately transfer the command for branching to the specific address to the processing unit in response to the command transfer request; and

after the processing unit executes the command for branching to the specific address and a command that begins from the specific address, and issues a subsequent command transfer request to the debugging circuit, configuring the debugging circuit to make the split response even when the debugging circuit is set in the second operation mode.

11. The debugging command control method according to claim 10 , further comprising:

sending, from the debugging circuit, a signal indicating that command transfer preparation has been completed; and

acquiring, by the processing unit, the use right of the bus when the signal indicating that the command transfer preparation is completed is sent, and reading a command from the debugging circuit via the bus.

Assignments (7)
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 →
RELEASE OF SECURITY INTEREST Recorded Dec 22, 2017
From: MORGAN STANLEY SENIOR FUNDING, INC
To: CYPRESS SEMICONDUCTOR CORPORATION; SPANSION LLC
Reel/Frame 044949/0962 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 21, 2017
From: CYPRESS SEMICONDUCTOR CORPORATION
To: MONTEREY RESEARCH, LLC
Reel/Frame 044938/0360 →
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 Sep 11, 2013
From: FUJITSU SEMICONDUCTOR LIMITED
To: SPANSION LLC
Reel/Frame 031205/0461 →
CHANGE OF NAME Recorded Jul 22, 2010
From: FUJITSU MICROELECTRONICS LIMITED
To: FUJITSU SEMICONDUCTOR LIMITED
Reel/Frame 024748/0328 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 26, 2010
From: SATO, SHUHEI; SATO, TAKASHI
To: FUJITSU MICROELECTRONICS LIMITED
Reel/Frame 024146/0488 →
Priority Claims (1)
JP 2009-74359 · Mar 25, 2009 · national
Continuity (1)
Related Publication 20100251022A1 · Sep 30, 2010