[go: up one dir, main page]

CN113778734B - Chip, chip bus detection system, chip bus detection method and storage medium - Google Patents

Chip, chip bus detection system, chip bus detection method and storage medium Download PDF

Info

Publication number
CN113778734B
CN113778734B CN202111028333.1A CN202111028333A CN113778734B CN 113778734 B CN113778734 B CN 113778734B CN 202111028333 A CN202111028333 A CN 202111028333A CN 113778734 B CN113778734 B CN 113778734B
Authority
CN
China
Prior art keywords
bus
chip
detection unit
debugging
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111028333.1A
Other languages
Chinese (zh)
Other versions
CN113778734A (en
Inventor
唐平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Astatine Technology Co ltd
Original Assignee
Shanghai Astatine Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Astatine Technology Co ltd filed Critical Shanghai Astatine Technology Co ltd
Priority to CN202111028333.1A priority Critical patent/CN113778734B/en
Publication of CN113778734A publication Critical patent/CN113778734A/en
Application granted granted Critical
Publication of CN113778734B publication Critical patent/CN113778734B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/079Root cause analysis, i.e. error or fault diagnosis

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a chip, a detection system, a detection method and a storage medium of a chip bus, wherein the system comprises: the system comprises a debugging interface, a debugging bus, at least one bus detection unit and a controller, wherein the first end of each bus detection unit is connected with each bus unit, the second end of each bus detection unit is connected with a bus node corresponding to each bus unit, the third end of each bus detection unit is connected with the first end of the debugging interface through the debugging bus, and the second end of the debugging interface is connected with the controller; the controller is used for accessing each bus detection unit through the debugging interface and the debugging bus under the condition that the chip bus is abnormal, so as to acquire the information of each bus detection unit, and positioning the address of the chip bus abnormal according to the information of each bus detection unit. Therefore, when the bus of the chip is abnormal, the system can accelerate the speed of locating the abnormal bus address of the chip, and improves the efficiency and the effectiveness of debugging the chip.

Description

Chip, chip bus detection system, chip bus detection method and storage medium
Technical Field
The present invention relates to the field of chip technologies, and in particular, to a chip, a chip bus detection system, a chip bus detection method, and a storage medium.
Background
A SoC (System-on-a-Chip) Chip is a System-on-Chip, also called Chip-on-Chip, which is an integrated circuit with a dedicated target, and the general composition of its hardware is: core, storage, peripheral interfaces (high-speed peripherals and low-speed peripherals), bus, interrupt unit, clock unit, etc. When an abnormality occurs in the bus of the SoC chip, a situation that the processor cannot access the bus generally occurs, and it is not known which bus units have the abnormality continuously.
Therefore, how to know which buses of the bus units are abnormal when the buses of the SoC chip are abnormal is a problem to be solved.
Disclosure of Invention
The object of the present invention is to solve at least to some extent one of the technical problems in the art described above.
Therefore, a first object of the present invention is to provide a system for detecting a chip bus, which can increase the speed of locating an abnormal chip bus address when an abnormality occurs in the chip bus, and improve the efficiency and effectiveness of debugging the chip.
A second object of the invention is to propose a chip.
A third object of the present invention is to provide a method for detecting a chip bus.
A fourth object of the present invention is to propose a non-transitory computer readable storage medium storing computer instructions.
To achieve the above object, an embodiment of a first aspect of the present invention provides a system for detecting a chip bus, including: the device comprises a debugging interface, a debugging bus, at least one bus detection unit and a controller, wherein the first end of each bus detection unit is connected with each bus unit, the second end of each bus detection unit is connected with a bus node corresponding to each bus unit, the third end of each bus detection unit is connected with the first end of the debugging interface through the debugging bus, and the second end of the debugging interface is connected with the controller; the controller is used for accessing each bus detection unit through the debugging interface and the debugging bus under the condition that the chip bus is abnormal, so as to acquire the information of each bus detection unit, and positioning the address of the chip bus abnormal according to the information of each bus detection unit.
According to the detection system of the chip bus, provided by the embodiment of the invention, the bus detection units are additionally arranged between each bus unit and the corresponding bus node, all the bus detection units are connected with the controller through the debugging bus and the debugging interface, so that the controller accesses each bus detection unit through the debugging interface and the debugging bus under the condition that the chip bus is abnormal, the information of each bus detection unit is obtained, and the address of the chip bus abnormal is positioned according to the information of each bus detection unit. Therefore, when the bus of the chip is abnormal, the system can accelerate the speed of locating the abnormal bus address of the chip, and improves the efficiency and the effectiveness of debugging the chip.
In addition, the detection system of the chip bus according to the embodiment of the present invention may further have the following additional technical features:
According to one embodiment of the invention, the controller is further configured to: and correspondingly processing the chip bus with the abnormal address so as to ensure that the chip runs safely and reliably.
According to one embodiment of the present invention, when the controller accesses each of the bus detection units, it includes: each of the bus detection units is accessed in an addressed manner.
According to one embodiment of the invention, the debug interface is a joint test workgroup JTAG interface.
In order to achieve the above object, a second aspect of the present invention provides a chip including the above-mentioned detection system for a chip bus.
According to the chip provided by the embodiment of the invention, through the detection system of the chip bus, when the bus of the chip is abnormal, the speed of locating the abnormal chip bus address can be increased, and the efficiency and the effectiveness of debugging the chip are improved.
To achieve the above object, an embodiment of the present invention provides a method for detecting a chip bus, where a detecting device for a chip bus includes a debug interface, a debug bus, at least one bus detecting unit, and a controller, a first end of each of the bus detecting units is connected to each of the bus units, a second end of each of the bus detecting units is connected to a bus node corresponding to each of the bus units, a third end of each of the bus detecting units is connected to the first end of the debug interface through the debug bus, and a second end of the debug interface is connected to the controller, where the detecting method includes the following steps: under the condition that the chip bus is abnormal, accessing each bus detection unit through the debugging interface and the debugging bus to acquire the information of each bus detection unit; and positioning the address of the chip bus abnormal according to the information of each bus detection unit.
According to the detection method of the chip bus, provided by the embodiment of the invention, one bus detection unit is additionally arranged between each bus unit and the corresponding bus node, all the bus detection units are connected with the controller through the debugging bus and the debugging interface, and the controller accesses each bus detection unit through the debugging interface and the debugging bus under the condition that the chip bus is abnormal, so as to acquire the information of each bus detection unit, and positions the address of the chip bus abnormal according to the information of each bus detection unit. Therefore, when the bus of the chip is abnormal, the method can accelerate the speed of locating the abnormal bus address of the chip, and improves the efficiency and the effectiveness of debugging the chip.
In addition, the method for detecting a chip bus according to the above embodiment of the present invention may further have the following additional technical features:
According to an embodiment of the invention, said accessing each of said bus detection units comprises: each of the bus detection units is accessed in an addressed manner.
According to an embodiment of the present invention, the method for detecting a chip bus further includes: and correspondingly processing the chip bus with the abnormal address so as to ensure that the chip runs safely and reliably.
According to one embodiment of the invention, the debug interface is a joint test workgroup JTAG interface.
To achieve the above object, a fourth aspect of the present invention provides a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the above-described method for detecting a chip bus.
According to the non-transitory computer readable storage medium storing the computer instructions, through executing the method for detecting the chip bus, when the chip bus is abnormal, the speed of locating the abnormal chip bus address can be increased, and the efficiency and the effectiveness of debugging the chip are improved.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
The foregoing and/or additional aspects and advantages of the invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings, in which:
FIG. 1 is a block schematic diagram of a detection system for a chip bus according to an embodiment of the invention;
FIG. 2 is a schematic diagram of a detection system of a chip bus according to an embodiment of the present invention;
Fig. 3 is a flowchart of a method for detecting a chip bus according to an embodiment of the invention.
Detailed Description
Embodiments of the present invention are described in detail below, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to like or similar elements or elements having like or similar functions throughout. The embodiments described below by referring to the drawings are illustrative and intended to explain the present invention and should not be construed as limiting the invention.
A chip bus detection system, a chip bus detection method, and a non-transitory computer-readable storage medium storing computer instructions according to embodiments of the present invention are described below with reference to the accompanying drawings.
Fig. 1 is a block schematic diagram of a detection system of a chip bus according to an embodiment of the present invention.
As shown in fig. 1, a detection system 100 for a chip bus according to an embodiment of the present invention includes: a debug interface 110, a debug bus 120, at least one bus detection unit 130, and a controller 140.
Wherein, a first end of each bus detection unit 130 is connected to each bus unit, a second end of each bus detection unit 130 is connected to a bus node corresponding to each bus unit, a third end of each bus detection unit 130 is connected to a first end of the debug interface 110 through the debug bus 120, and a second end of the debug interface 110 is connected to the controller 140. The controller 140 is configured to access each bus detection unit 130 through the debug interface 110 and the debug bus 120 in case of an abnormality of the chip bus, to obtain information of each bus detection unit 130, and to locate an address of the abnormality of the chip bus according to the information of each bus detection unit 130.
For example, referring to fig. 2, at least one bus detection unit 130 includes a bus detection unit 1-bus detection unit 10, the bus units include a bus unit M0-bus unit M4, a bus unit IP 1-bus unit IP5, and the bus nodes include a bus node M0-bus node M4, a bus node IP 1-bus node IP5. Wherein, the first end of the bus detection unit 1 is connected with the bus unit M0, the second end of the bus detection unit 1 is connected with the bus node M0, the third end of the bus detection unit 1 is connected with the first end of the debug interface 110 through the debug bus 120, and the second end of the debug interface 110 is connected with the controller 140; A first end of the bus detection unit 2 is connected with the bus unit M1, a second end of the bus detection unit 2 is connected with the bus node M1, a third end of the bus detection unit 2 is connected with a first end of the debug interface 110 through the debug bus 120, and a second end of the debug interface 110 is connected with the controller 140; a first end of the bus detection unit 3 is connected with the bus unit M2, a second end of the bus detection unit 3 is connected with the bus node M2, a third end of the bus detection unit 3 is connected with a first end of the debug interface 110 through the debug bus 120, and a second end of the debug interface 110 is connected with the controller 140; a first end of the bus detection unit 4 is connected with the bus unit M3, a second end of the bus detection unit 4 is connected with the bus node M3, a third end of the bus detection unit 4 is connected with a first end of the debug interface 110 through the debug bus 120, and a second end of the debug interface 110 is connected with the controller 140; A first end of the bus detection unit 5 is connected with the bus unit M4, a second end of the bus detection unit 5 is connected with the bus node M4, a third end of the bus detection unit 5 is connected with a first end of the debug interface 110 through the debug bus 120, and a second end of the debug interface 110 is connected with the controller 140; a first end of the bus detection unit 6 is connected with the bus unit IP1, a second end of the bus detection unit 6 is connected with the bus node IP1, a third end of the bus detection unit 6 is connected with a first end of the debug interface 110 through the debug bus 120, and a second end of the debug interface 110 is connected with the controller 140; a first end of the bus detection unit 7 is connected with the bus unit IP2, a second end of the bus detection unit 7 is connected with the bus node IP2, a third end of the bus detection unit 7 is connected with a first end of the debug interface 110 through the debug bus 120, and a second end of the debug interface 110 is connected with the controller 140; A first end of the bus detection unit 8 is connected with the bus unit IP3, a second end of the bus detection unit 8 is connected with the bus node IP3, a third end of the bus detection unit 8 is connected with a first end of the debug interface 110 through the debug bus 120, and a second end of the debug interface 110 is connected with the controller 140; a first end of the bus detection unit 9 is connected with the bus unit IP4, a second end of the bus detection unit 9 is connected with the bus node IP4, a third end of the bus detection unit 9 is connected with a first end of the debug interface 110 through the debug bus 120, and a second end of the debug interface 110 is connected with the controller 140; the first end of the bus detection unit 10 is connected to the bus unit IP5, the second end of the bus detection unit 10 is connected to the bus node IP5, the third end of the bus detection unit 10 is connected to the first end of the debug interface 110 through the debug bus 120, and the second end of the debug interface 110 is connected to the controller 140. That is, for each bus unit in the chip, a corresponding bus detection unit 130 is added.
In this embodiment, each bus detection unit 130 has a function of detecting a transfer behavior of a bus, a bus transfer capability, a transfer address (read and write), and the like. The bus detection unit 130 for different physical locations has a unique corresponding address and is accessed directly using a different address whenever there is any configuration or access required.
At any time, when detecting that a bus abnormality occurs in the chip, including but not limited to bus hang-up, memory trampling, etc., through the debug interface 110 (such as a joint test group JTAG interface or a custom hardware interface) and the debug bus 120 (such as a custom internal debug bus for accessing each bus detection unit 130), a specific site is grabbed, each bus detection unit 130 is accessed to derive information of each bus detection unit 130, and further analysis is performed according to the information of each bus detection unit 130, so as to gradually exclude whether the bus of the bus unit of each address is abnormal, and thus, the address where the abnormality occurs in the chip bus can be located.
Therefore, the invention uses the debugging interface and the debugging bus, and even if the bus is abnormal and can not be accessed, the bus detection unit captures all the bus sites of the corresponding bus units, thereby accelerating the speed of locating the abnormal address of the bus and improving the debugging efficiency and effectiveness.
In order to make the chip safely and reliably operate, the controller 140 is further configured to perform corresponding processing on the chip bus with the address abnormal, for example, a standby chip bus may be set for each bus unit, so that after the chip bus is abnormal and the address of the chip bus with the abnormal address is obtained, the chip bus with the abnormal address is switched to the standby chip bus with the corresponding address, so that the chip can be ensured to safely and reliably operate.
To further improve the efficiency and effectiveness of the debug, the controller 140 accesses each bus detection unit in an addressed manner based on the addresses of the different location bus detection units when accessing each bus detection unit.
In summary, according to the detection system for a chip bus in the embodiment of the present invention, a bus detection unit is added between each bus unit and a corresponding bus node, and all the bus detection units are connected to the controller through the debug bus and the debug interface, so that the controller accesses each bus detection unit through the debug interface and the debug bus when the chip bus is abnormal, so as to obtain information of each bus detection unit, and locates an address where the chip bus is abnormal according to the information of each bus detection unit. Therefore, when the bus of the chip is abnormal, the system can accelerate the speed of locating the abnormal bus address of the chip, and improves the efficiency and the effectiveness of debugging the chip.
Based on the above embodiments, the present invention proposes a chip including the above detection system for a chip bus.
According to the chip provided by the embodiment of the invention, through the detection system of the chip bus, when the bus of the chip is abnormal, the speed of locating the abnormal chip bus address can be increased, and the efficiency and the effectiveness of debugging the chip are improved.
Based on the above embodiment, the invention further provides a method for detecting the chip bus.
Fig. 3 is a flowchart of a method of detecting a chip bus according to an embodiment of the present invention.
It should be noted that, referring to fig. 1, the detection device of the chip bus includes a debug interface, a debug bus, at least one bus detection unit and a controller, a first end of each bus detection unit is connected to each bus unit, a second end of each bus detection unit is connected to a bus node corresponding to each bus unit, a third end of each bus detection unit is connected to the first end of the debug interface through the debug bus, and a second end of the debug interface is connected to the controller. The execution subject of the detection method of the chip bus of the embodiment of the invention is a controller.
As shown in fig. 3, the method for detecting a chip bus according to the embodiment of the invention includes the following steps:
S1, under the condition that the chip bus is abnormal, accessing each bus detection unit through the debugging interface and the debugging bus to acquire information of each bus detection unit.
S2, positioning the address of the chip bus abnormal according to the information of each bus detection unit.
According to an embodiment of the invention, said accessing each of said bus detection units comprises: each of the bus detection units is accessed in an addressed manner.
According to an embodiment of the present invention, the method for detecting a chip bus further includes: and correspondingly processing the chip bus with the abnormal address so as to ensure that the chip runs safely and reliably.
According to one embodiment of the invention, the debug interface is a joint test workgroup JTAG interface.
It should be noted that, for details not disclosed in the method for detecting a chip bus according to the embodiment of the present invention, please refer to details not disclosed in the system for detecting a chip bus according to the embodiment of the present invention, and detailed descriptions thereof will not be provided herein.
According to the detection method of the chip bus, provided by the embodiment of the invention, one bus detection unit is additionally arranged between each bus unit and the corresponding bus node, all the bus detection units are connected with the controller through the debugging bus and the debugging interface, and the controller accesses each bus detection unit through the debugging interface and the debugging bus under the condition that the chip bus is abnormal, so as to acquire the information of each bus detection unit, and positions the address of the chip bus abnormal according to the information of each bus detection unit. Therefore, when the bus of the chip is abnormal, the method can accelerate the speed of locating the abnormal bus address of the chip, and improves the efficiency and the effectiveness of debugging the chip.
Based on the above embodiments, the present invention proposes a non-transitory computer-readable storage medium storing computer instructions for causing the computer to execute the above-described method of detecting a chip bus.
The non-transitory computer readable storage medium storing computer instructions according to the embodiment of the invention can accelerate the speed of locating the abnormal chip bus address when the chip bus is abnormal by executing the method for detecting the chip bus, thereby improving the efficiency and the effectiveness of debugging the chip
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, the different embodiments or examples described in this specification and the features of the different embodiments or examples may be combined and combined by those skilled in the art without contradiction.
Furthermore, the terms "first," "second," and the like, are used for descriptive purposes only and are not to be construed as indicating or implying a relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In the description of the present invention, the meaning of "plurality" means at least two, for example, two, three, etc., unless specifically defined otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and additional implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order from that shown or discussed, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the embodiments of the present invention.
Logic and/or steps represented in the flowcharts or otherwise described herein, e.g., a ordered listing of executable instructions for implementing logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). In addition, the computer readable medium may even be paper or other suitable medium on which the program is printed, as the program may be electronically captured, via, for instance, optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner, if necessary, and then stored in a computer memory.
It is to be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above-described embodiments, the various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. As with the other embodiments, if implemented in hardware, may be implemented using any one or combination of the following techniques, as is well known in the art: discrete logic circuits having logic gates for implementing logic functions on data signals, application specific integrated circuits having suitable combinational logic gates, programmable Gate Arrays (PGAs), field Programmable Gate Arrays (FPGAs), and the like.
Those of ordinary skill in the art will appreciate that all or a portion of the steps carried out in the method of the above-described embodiments may be implemented by a program to instruct related hardware, where the program may be stored in a computer readable storage medium, and where the program, when executed, includes one or a combination of the steps of the method embodiments.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing module, or each unit may exist alone physically, or two or more units may be integrated in one module. The integrated modules may be implemented in hardware or in software functional modules. The integrated modules may also be stored in a computer readable storage medium if implemented in the form of software functional modules and sold or used as a stand-alone product.
The above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, or the like. While embodiments of the present invention have been shown and described above, it will be understood that the above embodiments are illustrative and not to be construed as limiting the invention, and that variations, modifications, alternatives and variations may be made to the above embodiments by one of ordinary skill in the art within the scope of the invention.

Claims (8)

1. A system for detecting a chip bus, comprising:
The system comprises a debugging interface, a debugging bus, at least one bus detection unit and a controller, wherein each bus detection unit has the functions of detecting the transmission behavior, the bus transmission capacity and the transmission address of the bus, and has a unique corresponding address aiming at the bus detection units in different physical positions, when configuration or access is needed, the bus detection units are directly accessed by using different addresses, wherein,
The first end of each bus detection unit is connected with each bus unit, the second end of each bus detection unit is connected with a bus node corresponding to each bus unit, the third end of each bus detection unit is connected with the first end of the debug interface through the debug bus, and the second end of the debug interface is connected with the controller;
the controller is used for accessing each bus detection unit through the debugging interface and the debugging bus under the condition that the chip bus is abnormal, so as to acquire information of each bus detection unit, and locating an address of the chip bus abnormal according to the information of each bus detection unit, wherein the abnormality comprises bus suspension and memory trampling, and when the controller accesses each bus detection unit, each bus detection unit is accessed according to an addressing mode.
2. The system for detecting a chip bus according to claim 1, wherein the controller is further configured to:
And correspondingly processing the chip bus with the abnormal address so as to ensure that the chip runs safely and reliably.
3. The system of claim 1, wherein the debug interface is a joint test workgroup JTAG interface.
4. A chip, comprising: a detection system for a chip bus as claimed in any one of claims 1 to 3.
5. The detection method of the chip bus is characterized in that a detection device of the chip bus comprises a debugging interface, a debugging bus, at least one bus detection unit and a controller, wherein a first end of each bus detection unit is connected with each bus unit, a second end of each bus detection unit is connected with a bus node corresponding to each bus unit, a third end of each bus detection unit is connected with the first end of the debugging interface through the debugging bus, a second end of the debugging interface is connected with the controller, each bus detection unit has the functions of detecting the transmission behavior, the bus transmission capacity and the transmission address of the bus, and the bus detection units in different physical positions have unique corresponding addresses, and when configuration or access is needed, different addresses are directly used for access, and the detection method comprises the following steps:
Accessing each bus detection unit through the debug interface and the debug bus under the condition that the chip bus is abnormal, so as to acquire the information of each bus detection unit, wherein the abnormality comprises bus death and memory trampling, and when the controller accesses each bus detection unit, each bus detection unit is accessed according to an addressing mode;
and positioning the address of the chip bus abnormal according to the information of each bus detection unit.
6. The method for detecting a chip bus according to claim 5, further comprising:
And correspondingly processing the chip bus with the abnormal address so as to ensure that the chip runs safely and reliably.
7. The method of claim 5, wherein the debug interface is a joint test workgroup JTAG interface.
8. A non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the method of detecting a chip bus of any one of claims 5-7.
CN202111028333.1A 2021-09-02 2021-09-02 Chip, chip bus detection system, chip bus detection method and storage medium Active CN113778734B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111028333.1A CN113778734B (en) 2021-09-02 2021-09-02 Chip, chip bus detection system, chip bus detection method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111028333.1A CN113778734B (en) 2021-09-02 2021-09-02 Chip, chip bus detection system, chip bus detection method and storage medium

Publications (2)

Publication Number Publication Date
CN113778734A CN113778734A (en) 2021-12-10
CN113778734B true CN113778734B (en) 2024-07-12

Family

ID=78840920

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111028333.1A Active CN113778734B (en) 2021-09-02 2021-09-02 Chip, chip bus detection system, chip bus detection method and storage medium

Country Status (1)

Country Link
CN (1) CN113778734B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115599617B (en) * 2022-12-01 2023-07-21 苏州浪潮智能科技有限公司 Bus detection method, device, server and electronic equipment
TWI854647B (en) * 2023-05-10 2024-09-01 大陸商北京有竹居網路技術有限公司 Bus anomaly detection and processing method, apparatus, system, device and media

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201207071Y (en) * 2008-04-29 2009-03-11 苏州宇达电通有限公司 Bus malfunction detection apparatus
CN109407655A (en) * 2018-12-27 2019-03-01 北京中星微电子有限公司 A kind of method and device for debugging chip

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR960035404U (en) * 1995-04-29 1996-11-21 Integrated Circuit with System (I2C) Bus Fault Check
CN101853198B (en) * 2010-05-11 2013-03-13 福建星网锐捷网络有限公司 Detection method, equipment and system of address bus
CN102628921B (en) * 2012-03-01 2014-12-03 华为技术有限公司 Integrated circuit and method for monitoring bus state in integrated circuit
CN102662782B (en) * 2012-04-17 2014-09-03 华为技术有限公司 Method and device for monitoring system bus
CN109491856B (en) * 2017-09-12 2022-08-02 中兴通讯股份有限公司 Bus monitoring system, method and device
CN109918303B (en) * 2019-03-05 2022-12-16 上海嘉楠捷思信息技术有限公司 Chip, chip debugging method and device, equipment and medium
CN111078492B (en) * 2019-10-25 2023-07-21 芯创智(上海)微电子有限公司 State monitoring system and method for SoC internal bus

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201207071Y (en) * 2008-04-29 2009-03-11 苏州宇达电通有限公司 Bus malfunction detection apparatus
CN109407655A (en) * 2018-12-27 2019-03-01 北京中星微电子有限公司 A kind of method and device for debugging chip

Also Published As

Publication number Publication date
CN113778734A (en) 2021-12-10

Similar Documents

Publication Publication Date Title
US8291379B2 (en) Runtime analysis of a computer program to identify improper memory accesses that cause further problems
CN113778734B (en) Chip, chip bus detection system, chip bus detection method and storage medium
JP5579354B2 (en) Method and apparatus for storing track data cross-reference for related applications
JPS6134639A (en) Electronic circuit tester
CN105700999A (en) method and system for recording processor operation
WO2021253855A1 (en) Information recording method, apparatus, and device, and readable storage medium
WO2006043227A1 (en) Data processing system and method for monitoring the cache coherence of processing units
JP2005135407A (en) System and method for testing component of computer system by using voltage margining
US7418636B2 (en) Addressing error and address detection systems and methods
CN118155698B (en) Data testing method, electronic equipment and storage medium
US7607040B2 (en) Methods and systems for conducting processor health-checks
JP2005149501A (en) System and method for testing memory with expansion card using dma
US20050120268A1 (en) System and method for testing a memory using DMA
US20050050276A1 (en) System and method for testing a memory
JP7516974B2 (en) DEVICE FOR ELECTRONIC APPLICATION, CONTROL METHOD FOR ELECTRONIC APPLICATION DEVICE, AND CONTROL PROGRAM FOR ELECTRONIC APPLICATION DEVICE
TWI733964B (en) System for testing whole memory and method thereof
JP2004021833A (en) Semiconductor integrated circuit incorporated with self-test function and system comprising it
CN111651381A (en) Semiconductor device and data protection method
CN113535494B (en) Equipment debugging method and electronic equipment
JP3655768B2 (en) Information processing apparatus having a secondary cache diagnosis function
US20050102655A1 (en) System and method for testing a component in a computer system using frequency margining
CN117194118A (en) Data access method and data access device for processing unit system
CN119576627A (en) Data processing method, data processing module, device, equipment, chip and medium
CN118377686A (en) A method, device, electronic equipment and medium for detecting fault of server mainboard
JPS6232512B2 (en)

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant