Debugging system and debugging method of multi-core processor

US9852038B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9852038-B2
Application numberUS-201414563317-A
CountryUS
Kind codeB2
Filing dateDec 8, 2014
Priority dateSep 26, 2014
Publication dateDec 26, 2017
Grant dateDec 26, 2017

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

The invention relates to a debugging system and a debugging method of a multi-core processor. The debugging system includes a debugging host, a target processor, and a mapping and protocol conversion device. The debugging host includes a debugger, and the target processor includes a plurality of cores. The mapping and protocol conversion device is connected between the debugging host and the target processor, identifies a core architecture to which each of the cores belongs, and maps each of the cores respectively to at least one thread of at least one process according to the core architecture to which each of the cores belongs. Afterwards, the debugger executes a debugging procedure on the target processor according to the process and the thread corresponded to each of the cores.

First claim

Opening claim text (preview).

What is claimed is: 1. A debugging system of a multi-core processor, comprising: a debugging host comprising a debugger executed by a processor of the debugging host; a target processor comprising a plurality of cores; and a mapping and protocol conversion device being connected between the debugging host and the target processor, identifying a core architecture of each of the cores, and mapping each of the cores respectively to at least one thread of at least one process of the debugger according to the core architecture to which each of the cores belongs, wherein the mapping and protocol conversion device comprises: a control server being connected to the debugger through a network interface, controlling the cores being mapped to the threads of the processes; and a protocol conversion interface device being connected to the control server through a first transmission interface, and being connected to the target processor through a second transmission interface, wherein the protocol conversion interface device converts data received from the control server into a signal conforming to a protocol standard of the second transmission interface, wherein the debugger executes a debugging procedure for the target processor to debug the cores of the target processor synchronously through executing the process and the thread corresponded to each of the cores by the processor. 2. The debugging system as claimed in claim 1 , wherein the core architecture at least comprises a first architecture and a second architecture, the mapping and protocol conversion device maps a first core among the cores belonging to the first architecture to a first process among the processes and maps a second core among the cores belonging to the second architecture to a second process among the processes. 3. The debugging system as claimed in claim 1 , wherein the core architecture comprises a first architecture, the cores at least comprise a first core and a second core, when both the first core and the second core belong to the first architecture, the mapping and protocol conversion device maps the first core and the second core together to a first process among the processes, and the mapping and protocol conversion device maps the first core and the second core respectively to a first thread of the first process and a second thread of the first process. 4. The debugging system as claimed in claim 3 , wherein the first core and the second core are operated in a symmetric multiprocessing state. 5. The debugging system as claimed in claim 1 , wherein the core architecture comprises a first architecture, the cores at least comprise a first core and a second core, when both the first core and the second core belong to the first architecture, the mapping and protocol conversion device maps the first core to a first thread of a first process among the processes, and the mapping and protocol conversion device maps the second core to a second thread of a second process among the processes. 6. The debugging system as claimed in claim 5 , wherein the first core and the second core are operated in an asymmetric multiprocessing state. 7. The debugging system as claimed in claim 1 , wherein the debugging host comprises a graphic user interface module, the graphic user interface module provides a user interface to receive an operating command, the debugger outputs a debugging command corresponding to the operating command to the mapping and protocol conversion device. 8. The debugging system as claimed in claim 1 , wherein, when the debugger executes the debugging procedure on the target processor, the target processor outputs core debugging data associated with a first core among the cores to the mapping and protocol conversion device, the mapping and protocol conversion device packages the core debugging data into a debugging message according to one of the processes and one of the threads corresponded to the first core and transmits the debugging message back to the debugger. 9. A debugging method of a multi-core processor, adapted for a debugging system, the debugging system comprising a debugging host, a target processor and a mapping and protocol conversion device, and the target processor comprising a plurality of cores, wherein the debugging method comprises: connecting the target processor to the mapping and protocol conversion device; identifying a core architecture to which each of the cores belongs by the mapping and protocol conversion device, and mapping each of the cores to at least one thread of at least one process of a debugger of the debugging host according to the core architecture of each of the cores, wherein the mapping and protocol conversion device comprises a control server and a protocol conversion interface device, the control server is connected to the debugger through a network interface, and the protocol conversion interface device is connected to the control server through a first transmission interface and is connected to the target processor through a second transmission interface, wherein the step of mapping each of the cores to the at least one thread of the at least one process of the debugger of the debugging host according to the core architecture of each of the cores comprises: controlling the cores being mapped to the threads of the processes by the control server; and converting data received from the control server into a signal conforming to a protocol standard of the second transmission interface by the protocol conversion interface device; and executing a debugging procedure for the target processor by the debugger, executed by a processor of the debugging host, of the debugging host so as to debug the cores of the target processor synchronously through executing the processes and the threads corresponded to each of the cores by the processor. 10. The debugging method as claimed in claim 9 , wherein the core architecture at least comprises a first architecture and a second architecture, the mapping and protocol conversion device maps a first core among the cores belonging to the first architecture to a first process among the processes, and maps a second core among the cores belonging to the second architecture to a second process among the processes. 11. The debugging method as claimed in claim 9 , wherein the core architecture comprises a first architecture, the cores at least comprise a first core and a second core, when both the first core and the second core belong to the first architecture, the mapping and protocol conversion device maps the first core and the second core together to a first process among the processes, and the mapping and protocol conversion device maps the first core and the second core respectively to a first thread of the first process and a second thread of the first process. 12. The debugging method as claimed in claim 11 , wherein the first core and the second core are operated in a symmetric multiprocessing state. 13. The debugging method as claimed in claim 9 , wherein the core architecture comprises a first architecture, the cores at least comprise a first core and a second core, when both the first core and the second core belong to the first architecture, the mapping and protocol conversion device maps the first core to a first thread of a first process among the processes, the mapping and protocol conversion device maps the second core to a second thread of a second process among the processes. 14. The debugging method as claimed in claim 13 , wherein the first core and the second core are operated in an asymmetric multiprocessing state. 15. The debugging method as claimed in claim 9

Assignees

Inventors

Classifications

  • in multi-processor systems, e.g. one processor becoming the primary tester (G06F11/2736 takes precedence) · CPC title

  • Prevention of errors by analysis, debugging or testing of software · CPC title

  • Debugging of software · CPC title

  • G06F11/26Primary

    Functional testing · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9852038B2 cover?
The invention relates to a debugging system and a debugging method of a multi-core processor. The debugging system includes a debugging host, a target processor, and a mapping and protocol conversion device. The debugging host includes a debugger, and the target processor includes a plurality of cores. The mapping and protocol conversion device is connected between the debugging host and the ta…
Who is the assignee on this patent?
Ali Corp
What technology area does this patent fall under?
Primary CPC classification G06F11/2242. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Dec 26 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 8 related publications on this page (citations in our corpus or others sharing the same primary CPC).