IP Library Granted Patent US 9,645,870
Granted Patent B2
US 9,645,870 · App. 13/929,617 · Granted May 9, 2017

System for debugging DMA system data transfer

Inventor: Ingar Hanssen (Tiller, NO)
Assignee: Atmel Corporation
G06F11/0706G06F11/2221G06F11/3037G06F11/3055G06F11/3485G06F11/3476G06F2201/835
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 9,645,870
App. No.
13/929,617
Granted
May 9, 2017
Kind
B2
Abstract

Systems and methods for generating DMA transaction trace records are described. One example system includes a controller that includes a trace module. The trace module receives transfer requests for direct memory access channels, receives timestamps indicative of a transfer request time, generates trace records, wherein each trace record includes a respective timestamp indicative of a transfer request time, generates save commands, and delivers the trace records and the save commands as outputs. The system includes a storage module for saving trace records.

Claims (48)

1. A system comprising:

a direct memory access (DMA) controller configured to detect DMA transfer requests generated by peripherals and to generate one or more signaling events in response to the detected DMA transfer requests;

a trace circuit configured to:

receive the DMA transfer requests from the peripherals;

compare each transfer request with mask data to determine unmasked transfer requests;

generate a trace record for each unmasked transfer request;

obtain trace records for the one or more signaling events;

obtain instruction trace records generated by a software program debugger;

generating combined trace records that include trace records for the unmasked transfer requests, instruction trace records and trace records for the one or more signaling events;

generate one or more save commands for the combined trace records; and

a storage circuit configured to save the combined trace records in response to the save command.

2. The system of claim 1 , wherein the trace circuit further comprises:

a detection circuit that detects the transfer requests and generates the one or more save commands responsive thereto to enable saving of the trace records.

3. The system of claim 1 , wherein overflow bits of the trace records upon unsuccessful storage of preceding trace records or upon successful storage of the preceding trace records, respectively.

4. The system of claim 1 , wherein the system initiates the transfer requests.

5. The system of claim 1 , wherein the transfer requests are received in parallel.

6. The system of claim 1 , wherein the system is a part of an integrated circuit incorporated in a chip.

7. The system of claim 1 , wherein the transfer requests further comprise at least one of:

a read request from a direct memory access channel; and

a write request to the direct memory access channel.

8. The system of claim 7 , wherein the transfer requests are generated for each unit of data transferred from or to the direct memory access channel.

9. The system of claim 1 , wherein the storage circuit is coupled to one or more devices for saving or viewing the trace records, and the one or more devices include:

a dedicated timestamp trace buffer,

a dedicated physical trace port,

an existing trace port, wherein the port is configured to be shared, or

an onboard direct access memory channel coupled to an onboard static random access memory.

10. A method comprising:

receiving, by a trace circuit, direct memory access (DMA) transfer requests generated by peripherals;

comparing, by the trace circuit, each transfer request with mask data to determine unmasked transfer requests;

generating, by the trace circuit, a trace record for each unmasked transfer request;

obtaining, by the trace circuit, trace records for one or more signaling events generated by a DMA controller in response to the DMA transfer requests;

obtaining, by the trace circuit, instruction trace records generated by a software program debugger;

generating, by the trace circuit, combined trace records that include trace records for the unmasked transfer requests, instruction trace records and trace records for the one or more signaling events;

generating, by the trace circuit, one or more save commands for the combined trace records; and

saving, by a storage circuit, the combined trace records in response to the one or more save commands.

11. The method of claim 10 , further comprising:

modifying overflow bits of the trace records according to signals, including setting the overflow bits when preceding trace records fail to be saved.

12. The method of claim 11 , the method further comprising:

clearing the overflow bits of the trace records when the preceding trace records are successfully saved.

13. The method of claim 10 , further comprising:

detecting, by a detection circuit, the transfer requests; and

responsive to the detecting, generating the one or more save commands to save the combined trace records.

14. The method of claim 10 , wherein the transfer requests are received in parallel.

15. The method of claim 10 , wherein the transfer requests further comprise at least one of:

requesting a read access from a direct memory access channel; and

requesting a write access to the direct memory access channel.

16. The method of claim 15 , further comprising:

generating the transfer requests for units of data transfer to or from the direct memory access channel.

Assignments (17)
RELEASE OF SECURITY INTEREST Recorded Mar 14, 2022
From: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT
To: MICROCHIP TECHNOLOGY INCORPORATED; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
Reel/Frame 060894/0437 →
RELEASE OF SECURITY INTEREST Recorded Mar 11, 2022
From: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT
To: MICROCHIP TECHNOLOGY INCORPORATED; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
Reel/Frame 059363/0001 →
RELEASE OF SECURITY INTEREST Recorded Mar 10, 2022
From: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT
To: MICROCHIP TECHNOLOGY INCORPORATED; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
Reel/Frame 059863/0400 →
RELEASE OF SECURITY INTEREST Recorded Mar 9, 2022
From: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT
To: MICROCHIP TECHNOLOGY INCORPORATED; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
Reel/Frame 059358/0001 →
RELEASE OF SECURITY INTEREST Recorded Feb 28, 2022
From: JPMORGAN CHASE BANK, N.A., AS ADMINISTRATIVE AGENT
To: ATMEL CORPORATION
Reel/Frame 059262/0105 →
RELEASE OF SECURITY INTEREST Recorded Feb 25, 2022
From: JPMORGAN CHASE BANK, N.A., AS ADMINISTRATIVE AGENT
To: MICROCHIP TECHNOLOGY INCORPORATED; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
Reel/Frame 059333/0222 →
SECURITY INTEREST Recorded Jun 4, 2021
From: MICROCHIP TECHNOLOGY INCORPORATED; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
To: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT
Reel/Frame 057935/0474 →
SECURITY INTEREST Recorded Dec 24, 2020
From: MICROCHIP TECHNOLOGY INCORPORATED; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
To: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS COLLATERAL AGENT
Reel/Frame 055671/0612 →
SECURITY INTEREST Recorded Jun 5, 2020
From: MICROCHIP TECHNOLOGY INC.; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
To: WELLS FARGO BANK, NATIONAL ASSOCIATION
Reel/Frame 053468/0705 →
RELEASE OF SECURITY INTEREST Recorded May 30, 2020
From: JPMORGAN CHASE BANK, N.A, AS ADMINISTRATIVE AGENT
To: MICROCHIP TECHNOLOGY INC.; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
Reel/Frame 053466/0011 →
SECURITY INTEREST Recorded Apr 24, 2020
From: MICROCHIP TECHNOLOGY INC.; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
To: JPMORGAN CHASE BANK, N.A., AS ADMINISTRATIVE AGENT
Reel/Frame 053311/0305 →
SECURITY INTEREST Recorded Sep 18, 2018
From: MICROCHIP TECHNOLOGY INCORPORATED; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
To: WELLS FARGO BANK, NATIONAL ASSOCIATION, AS NOTES COLLATERAL AGENT
Reel/Frame 047103/0206 →
SECURITY INTEREST Recorded Jun 25, 2018
From: MICROCHIP TECHNOLOGY INCORPORATED; SILICON STORAGE TECHNOLOGY, INC.; ATMEL CORPORATION; MICROSEMI CORPORATION; MICROSEMI STORAGE SOLUTIONS, INC.
To: JPMORGAN CHASE BANK, N.A., AS ADMINISTRATIVE AGENT
Reel/Frame 046426/0001 →
SECURITY INTEREST Recorded Feb 10, 2017
From: ATMEL CORPORATION
To: JPMORGAN CHASE BANK, N.A., AS ADMINISTRATIVE AGENT
Reel/Frame 041715/0747 →
TERMINATION AND RELEASE OF SECURITY INTEREST IN PATENT COLLATERAL Recorded Apr 7, 2016
From: MORGAN STANLEY SENIOR FUNDING, INC.
To: ATMEL CORPORATION
Reel/Frame 038376/0001 →
PATENT SECURITY AGREEMENT Recorded Jan 3, 2014
From: ATMEL CORPORATION
To: MORGAN STANLEY SENIOR FUNDING, INC. AS ADMINISTRATIVE AGENT
Reel/Frame 031912/0173 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 27, 2013
From: HANSSEN, INGAR
To: ATMEL CORPORATION
Reel/Frame 030704/0006 →
Continuity (1)
Related Publication 20150006970A1 · Jan 1, 2015