CN101639816B - Real-time tracking system of bus and corresponding tracking and debugging method - Google Patents

Real-time tracking system of bus and corresponding tracking and debugging method Download PDF

Info

Publication number
CN101639816B
CN101639816B CN2009100845609A CN200910084560A CN101639816B CN 101639816 B CN101639816 B CN 101639816B CN 2009100845609 A CN2009100845609 A CN 2009100845609A CN 200910084560 A CN200910084560 A CN 200910084560A CN 101639816 B CN101639816 B CN 101639816B
Authority
CN
China
Prior art keywords
bus
real
tracking
real time
access information
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.)
Expired - Fee Related
Application number
CN2009100845609A
Other languages
Chinese (zh)
Other versions
CN101639816A (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.)
Wuxi Zhonggan Microelectronics Co Ltd
Original Assignee
Wuxi Vimicro Corp
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 Wuxi Vimicro Corp filed Critical Wuxi Vimicro Corp
Priority to CN2009100845609A priority Critical patent/CN101639816B/en
Publication of CN101639816A publication Critical patent/CN101639816A/en
Application granted granted Critical
Publication of CN101639816B publication Critical patent/CN101639816B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

The invention provides a real-time tracking system of a bus and a corresponding tracking and debugging method. The real-time tracking system comprises a bus to be tacked and a real-time tracking device. The real-time tracking device comprises a trigger condition allocation unit, a trigger signal generating unit, a tracking unit and a memorizing unit, wherein the trigger condition allocation unit is used for allocating real-time tracking trigger condition parameters, the trigger signal generating unit is used for detecting bus access information on the bus to be tracked and comparing with the trigger condition parameters after a tracking enable signal is valid, and generating a trigger signal when meeting the trigger condition, the tracking unit is used for inducing the bus access information on the bus to be tracked after receiving the trigger signal, and memorizing the whole or the part of the bus access information into the memorizing unit, and the memorizing unit is used for memorizing the bus access information. The invention further provides a corresponding tracking method; and moreover, the debugging device can read the real-time tracking memorized bus access information for debugging. The invention also conveniently realizes the accessing of a module bus and the real-time monitoring of a special accident.

Description

A kind of real-time tracking system of bus and corresponding tracking, adjustment method
Technical field
The present invention relates to the tracking and the debugging of information, relate in particular to a kind of Bus Real Time tracking means and corresponding tracking, adjustment method.
Background technology
On-chip integration system (SoC) exists a plurality of functional modules such as processor, hardware accelerator or the like.Shown in Figure 1 is bus system common in the prior art, includes a plurality of request module, and each module is passed through independently bus, process storer arbitration unit visit specific memory device such as SRAM, ROM, SDRAM or the like.Adopt the bus protocol of certain standard between each module and the storer arbitration unit and between storer arbitration unit and the memory storage, like AHB, AXI, APB, OCP etc.The present invention does not limit bus type.
These functional modules are independent operating separately, visits various memory resources as required.For the memory storage that can visit arbitrarily, unique address space of confirming is all arranged in the SoC system so that differentiate each other with other storage spaces.Simultaneously in order to guarantee the safe and reliable of system; Each storage space is for each functional module, and generally open different access control right is like the static memory (SRAM) for the startup usefulness in the sheet; Possibly only allow master controller read-write, and forbid that other modules write.
When the systemic-function of SoC becomes increasingly complex, functional module will be if in violation of rules and regulations during the storage space of access restricted, will more and more be difficult in time and directly observe arbitrarily.This will cause the reliability of a complication system to descend significantly.
Traditional developing and debugging means are to shield each functional module one by one, obtain debug results through the mode of inferring investigation one by one.Adopt this way of shielding one by one to come the accessing operation of tracking module, not only waste time and energy bus, inefficiency, and can't know the potential violation accessing operation in the system mistake that is not exposed to, therefore be necessary existing debugging technique is improved.
Also there is similar problem for embedded system with similar application scene.
Summary of the invention
Technical matters to be solved by this invention provides a kind of real-time tracking system of bus, can realize easily the visit of module bus and the real-time monitoring of particular event.
In order to solve the problems of the technologies described above; The invention provides a kind of real-time tracking system of bus; Comprise the bus that to follow the tracks of and at least one apparatus for real time tracking that is connected with this bus; This apparatus for real time tracking comprises trigger condition dispensing unit, trigger pip generation unit, tracking cell and storage unit at least, wherein:
Said trigger condition dispensing unit is used to dispose the trigger condition parameters of real-time follow-up;
Said trigger pip generation unit comprises an IO interface and a comparator circuit; Be used for after the tracking enable signal is effective; Bus access information on the bus that will follow the tracks of through this IO interface real-time inspection also compares bus access information and trigger condition parameters in this comparator circuit; When satisfying trigger condition, generate trigger pip notice tracking cell and begin to follow the tracks of through being judged to be according to the arithmetic logic of setting this comparator circuit that trigger condition generates;
Said tracking cell comprises an IO interface and a storage control circuit; Be used for after receiving trigger pip; Bus access information on the bus that will follow the tracks of through this IO interface is introduced, and through this storage control circuit all or part of bus access information is saved in storage unit;
Said storage unit is used to preserve bus access information.
Further, above-mentioned real-time tracking system also can have following characteristics: also comprise the preservation condition dispensing unit, this preservation condition dispensing unit is connected with said tracking cell, wherein:
Said preservation condition dispensing unit is used for the preservation condition parameter of configuration bus information;
Said tracking cell also comprises a comparator circuit; After the bus access information access; In this comparator circuit, compare bus access information and preservation condition parameter; Arithmetic logic through according to this comparator circuit of setting the preservation condition generation is judged to be the bus access information that satisfies preservation condition, is written to storage unit in real time by said storage control circuit.
Further, above-mentioned real-time tracking system also can have following characteristics:
In the start address that the trigger condition parameters that disposes in the said trigger condition dispensing unit is followed the tracks of for triggering, access type, access modules sign, setting visit data and the specific binary sequence one or more;
The preservation condition parameter that disposes in the said preservation condition dispensing unit is one or more in reference address and the visit data.
Further, above-mentioned real-time tracking system also can have following characteristics:
Also comprise the termination condition dispensing unit, be used to dispose the threshold value of termination condition parameter; And said tracking cell detects the currency of said termination condition parameter in real time in tracing process, then finishes to follow the tracks of like the threshold value that reaches the termination condition parameter; And/or
Also comprise the interrupt condition dispensing unit, be used to dispose the threshold value of relaying conditional parameter; And said tracking cell detects the currency of said interrupt condition parameter in real time in tracing process, then send interruption to debugging apparatus like the threshold value that reaches the interrupt condition parameter.
Further, above-mentioned real-time tracking system also can have following characteristics:
Said termination condition parameter and interrupt condition parameter are the data volume of the bus access information of preservation, and the threshold value of the threshold value of said termination condition parameter and interrupt condition parameter is smaller or equal to the capacity of said storage unit.
Further, above-mentioned real-time tracking system also can have following characteristics:
The said bus that will follow the tracks of is between the storer arbitration modules and functional module in the on-chip integration system bus system, perhaps the bus between storer arbitration modules and the memory storage.
The real-time tracking system of last bus has been realized the real-time monitoring to the visit of module bus or particular event simply and effectively; Can independent and various buses form complete debugged bus system; And the sequential of bus own is not had influence, and area is little, and is portable high.Be specially adapted to the SoC system.
Another technical matters to be solved by this invention provides a kind of method for real time tracking of bus, in real time the visit of monitoring modular bus or particular event.
In order to solve the problems of the technologies described above; The invention provides a kind of method for real time tracking of bus; Be applied to comprise the tracker of the bus that will follow the tracks of and at least one apparatus for real time tracking that is connected with this bus, when one tunnel bus that will follow the tracks of was carried out real-time follow-up, this method for real time tracking comprised:
According to the bus access information that desire will be followed the tracks of, the trigger condition parameters of configuration real-time follow-up in said apparatus for real time tracking;
After opening following function, the bus access information on the said apparatus for real time tracking real-time inspection bus and with trigger condition parameters relatively, begin to follow the tracks of when setting trigger condition meeting, and preserve all or part of bus access information of following the tracks of before finishing.
Further, above-mentioned method for real time tracking also can have following characteristics:
Before opening following function, the preservation condition parameter of configuration bus information in said apparatus for real time tracking also;
After beginning to follow the tracks of, said apparatus for real time tracking is according to the preservation condition parameter of configuration, and preservation in real time meets the bus access information of setting preservation condition.
Further, above-mentioned method for real time tracking also can have following characteristics:
In the start address that said trigger condition parameters is followed the tracks of for triggering, access type, access modules sign, setting visit data and the specific binary sequence one or more;
Said preservation condition parameter is one or more in reference address and the visit data.
Further, above-mentioned method for real time tracking also can have following characteristics:
Before opening following function; Also in said apparatus for real time tracking, dispose the threshold value of termination condition parameter; Said apparatus for real time tracking detects the currency of said termination condition parameter in real time in tracing process, then finish to follow the tracks of like the threshold value that reaches said termination condition parameter; And/or
Before opening following function; The threshold value of configure interrupt conditional parameter in said apparatus for real time tracking also; Said apparatus for real time tracking detects the currency of said interrupt condition parameter in real time in tracing process, then send interruption to debugging apparatus like the threshold value that reaches said interrupt condition parameter.
Further, above-mentioned method for real time tracking also can have following characteristics:
Said termination condition parameter and interrupt condition parameter are the data volume of the bus access information of preservation, and the threshold value of the threshold value of said termination condition parameter and interrupt condition parameter is smaller or equal to the capacity of said storage unit.
Further, above-mentioned method for real time tracking also can have following characteristics:
The said bus that will follow the tracks of is between the storer arbitration modules and functional module in the on-chip integration system bus system, perhaps the bus between storer arbitration modules and the memory storage.
The method for real time tracking of above-mentioned bus can be monitored the visit or the particular event of operational blocks which partition system bus in real time, and the location information of accessing operation in violation of rules and regulations is provided, but also proactive notification system repairs or evades mistake.Be specially adapted to the SoC system.
A technical matters more to be solved by this invention provides a kind of adjustment method based on above-mentioned Bus Real Time tracking, the bus access information that can utilize real-time follow-up to arrive, the accessing operation of location violation easily and quickly.
In order to solve the problems of the technologies described above; The invention provides a kind of adjustment method based on above-mentioned Bus Real Time tracking; After having preserved the bus access information that traces into, the bus access information of preserving when debugging apparatus reads real-time follow-up utilizes this bus access information to debug.
Above-mentioned adjustment method can be utilized the visit or the particular event of real-time monitoring operational blocks which partition system bus, and the accessing operation of location violation easily and quickly is specially adapted to the SoC system.
Description of drawings
Fig. 1 is a SoC bus system synoptic diagram common in the prior art.
Fig. 2 is the structural drawing of embodiment of the invention real-time tracking system.
Fig. 3 is the process flow diagram of embodiment of the invention real-time follow-up adjustment method.
Embodiment
Below will combine accompanying drawing and embodiment to specify embodiment of the present invention.
The real-time tracking system that is present embodiment based on on-chip integration system (SoC) bus system shown in Figure 2; An apparatus for real time tracking is connected on the bus between a storer arbitration modules and the module, also can be connected on the bus between a storer arbitration modules and the memory storage.When utilizing this real-time tracking system to debug, also should comprise a debugging apparatus (not shown) in the complete debug system, be used to read the bus access information (control signal, read/write address, data etc.) that apparatus for real time tracking is preserved, accomplish debugging.
Also show the structure of apparatus for real time tracking among Fig. 2, comprising: trigger condition dispensing unit, trigger pip generation unit, preservation condition dispensing unit, tracking cell and storage unit.Wherein:
The trigger condition dispensing unit comprises one or more registers that are used to dispose the trigger condition parameters of real-time follow-up; This trigger condition parameters can be the start address that is used for triggering tracking, access type (reading or writing), access modules sign and set one or more of visit data; Also can be other any on bus information transmitted be bus access information, also can be specific binary sequence.
The trigger pip generation unit is realized with the logical circuit that comprises IO interface and comparator circuit; Be connected with tracking cell with bus, trigger condition dispensing unit; Be used for after the tracking enable signal is effective; Compare with trigger condition parameters through the bus access information on the IO interface real-time inspection bus and in comparator circuit; Through according to set the comparator circuit arithmetic logic that trigger condition (comprise need between bus access information and the trigger condition parameters satisfy logical relation) generates (relatively, with or, non-or the like various logic computing) be judged to be when satisfying trigger condition (like the start address, the access modules sign that have configuration in the bus access information, set visit data etc.), generate trigger pip notice tracking cell and begin to follow the tracks of.In a special case; Can, following function promptly generate trigger pip after opening; Can think that any bus access information all meets trigger condition this moment, and this moment can be through being configured to trigger condition parameters all can produce with its any bus access information relatively the specific binary sequence of trigger pip.
The preservation condition dispensing unit comprises one or more registers that are used for the preservation condition parameter of configuration bus information.Have in limited time in the space of follow the tracks of preserving, bus access information is difficult to preserve fully, can only preserve the bus access information of care according to debugging needs, like in reference address, visit data and other any bus access information one or more.Certainly, if the storage unit of trace information has enough storage spaces, also can not dispose preservation condition.
Tracking cell is realized with the logical circuit that comprises IO interface (can be shared with the trigger pip generation unit), comparator circuit and storage control circuit; Link to each other with storage unit with bus, preservation condition dispensing unit, trigger pip generation unit; Be used for after receiving trigger pip; Compare with the preservation condition parameter that disposes with the access of bus access signal and in comparator circuit through the IO interface, be judged to be the bus access information that satisfies preservation condition through comparator circuit arithmetic logic (generating) and be written to storage unit in real time by storage control circuit according to preservation condition.
Storage unit is used to preserve all or part of bus access information, and as adopting SRAM, primary processor can directly be visited this SRAM, obtains the bus access information that traces into.This SRAM can be SRAM independently, also can multiplexing in existing SRAM, to save area.
Optional, tracking means can initiatively stop to follow the tracks of in tracing process, and can increase by a termination condition dispensing unit this moment, comprises one or more registers, is used to dispose the threshold value of the termination condition parameter of real-time follow-up.Tracking cell detects the currency of termination condition parameter in real time in tracing process, then finish to follow the tracks of as reaching this threshold value.May be greater than the capacity of storage unit the time, this termination condition can be configured to a data volume like, the trace information of preserving at needs, like 1K byte etc., gets final product less than the capacity of storage unit.One counter is set in tracking cell, the data volume of the trace information preserved is added up, as the data volume that reaches configuration promptly stops to follow the tracks of.
Alternatively, tracking means can the proactive notification debugging apparatus in tracing process.Needing this moment increases by an interrupt condition dispensing unit, comprises one or more registers that are used for the threshold value of configure interrupt conditional parameter.This interrupt condition parameter also can be certain customizing messages, like particular address, particular data etc. as being the data volume of the trace information preserved.Correspondingly, tracking cell detects the currency of relaying conditional parameter in real time in tracing process, then sends interruption to debugging apparatus as reaching respective threshold (data volume like the trace information of having preserved of counters count reaches setting value).The interrupt service routine of debugging apparatus can be from storage unit reading of data or carry out the relevant operation of other debugging.After look-at-me took place, tracking cell can also continue bus access information is followed the tracks of.
Obviously, above-mentioned apparatus for real time tracking is not limited to be used in the SoC system, according to concrete application adjustment trigger conditions and preservation condition etc.; Can independent and various buses form complete real-time follow-up debug system, the sequential of bus itself is not had influence, area is little; Portable high; And can on hardware configuration, duplicate easily as required and expand, guarantee that the scale of debugging can customize according to the project needs fast, transplant fast.
Based on above system, Fig. 3 shows the process flow diagram of present embodiment real-time follow-up adjustment method, has described the step of one tunnel bus access information being carried out real-time follow-up, comprising:
Step S310 is according to the bus access information that desire will be followed the tracks of, the trigger condition parameters of configuration real-time follow-up and the preservation condition parameter of bus message in apparatus for real time tracking;
In this step, can also optionally dispose the termination condition parameter of tracking and in tracing process, produce the interrupt condition parameter of interrupting.Said preservation condition parameter also is optional.
Step S320, open following function after, the bus access information on the apparatus for real time tracking real-time inspection bus and with trigger condition parameters relatively, begin to follow the tracks of when setting trigger condition meeting;
Step S330, apparatus for real time tracking are according to the preservation condition parameter of configuration, and preservation in real time meets the bus access information of setting preservation condition, finish up to following the tracks of;
Above step has been accomplished the real-time follow-up to bus access information.
Step S340, the bus access information of preserving when debugging apparatus reads real-time follow-up utilizes this bus access information to debug.
Situation according to debugging can also produce the real-time follow-up hardware that suits the requirements more again, again from step 310 beginning debugging next time.Here obtaining in real time of major concern trace information do not done any restriction for concrete adjustment method.
Optional, can also dispose the threshold value of the termination condition parameter of real-time follow-up, in tracing process, apparatus for real time tracking detects the currency of termination condition parameter in real time, as reaches this threshold value and then finish to follow the tracks of.As, the threshold value that disposes this termination condition parameter is a data volume, the data volume to the trace information preserved during tracking is added up, as reaches this data volume threshold value and promptly stop to follow the tracks of.Tracking finishes also can be triggered by debugging apparatus, as puts to follow the tracks of and finish enable signal for effective.
Alternatively, threshold value that can also the configure interrupt conditional parameter, in tracing process, apparatus for real time tracking detects the currency of interrupt condition parameter in real time, as reaches this threshold value and then send look-at-me to debugging apparatus.After look-at-me takes place, can continue bus access information is carried out real-time follow-up.As do not have interruption, and then after running software finishes, read the bus access information that the real-time follow-up process is preserved, further analyze debugging.
The example of 2 simple trace debugs is described below:
One of which during to the bus tracking between a functional module and the storer arbitration unit, is configured to the access type (read and write) of functional module with trigger condition, and preservation condition is configured to visit data and promptly only preserves the visit data in the bus access information.Certain section that can follow the tracks of this functional module like this reads and writes data.
Its two, during to the bus tracking between a storer arbitration unit and the memory storage, trigger condition is configured to certain particular address of access stored, the module sequence number that preservation condition is configured to visit.So just can follow the tracks of all functions module, this memory storage carried out the functional module of accessing operation in violation of rules and regulations thereby locate easily to this address read-write.
More than be to describe so that road bus between functional module and the storer arbitration unit is tracked as example; In other embodiment and practical application; Can on the multiple bus between functional module and the storer arbitration unit, insert the real-time follow-up debugging apparatus, realize real-time follow-up multiple bus.For different bus, the purpose of tracking is often different, and the trigger condition of the real-time follow-up that therefore every road bus is disposed, the preservation condition of bus message, following the tracks of termination condition and produce the condition of interrupting can be different, to realize different following functions.And, also can realize different following functions through the difference configuration of trigger condition, preservation condition etc. and/or the adjustment of hardware circuit to same bus to same apparatus for real time tracking.Same apparatus for real time tracking also can be successively be connected with bus between the storer arbitration unit with disparate modules, realizes the tracking to the visit information of these buses one by one.
Simple and effective real-time follow-up debugging technique provided by the invention, through the bus access or the particular event of any functional module of real-time monitored or memory storage, reporting system is repaired or is evaded mistake, has guaranteed the reliability of complication system.
Though the embodiment that the present invention disclosed as above, the embodiment that described content just adopts for the ease of understanding the present invention is not in order to limit the present invention.Technician under any the present invention in the technical field; Under the prerequisite of spirit that does not break away from the present invention and disclosed and scope; Can do any modification and variation what implement in form and on the details; But scope of patent protection of the present invention still must be as the criterion with the scope that appending claims was defined.

Claims (13)

1. the real-time tracking system of a bus; Comprise the bus that to follow the tracks of, it is characterized in that, also comprise at least one apparatus for real time tracking that is connected with this bus; This apparatus for real time tracking comprises trigger condition dispensing unit, trigger pip generation unit, tracking cell and storage unit at least, wherein:
Said trigger condition dispensing unit is used to dispose the trigger condition parameters of real-time follow-up;
Said trigger pip generation unit comprises an IO interface and a comparator circuit; Be used for after the tracking enable signal is effective; Bus access information on the bus that will follow the tracks of through this IO interface real-time inspection also compares bus access information and trigger condition parameters in this comparator circuit; When satisfying trigger condition, generate trigger pip notice tracking cell and begin to follow the tracks of through being judged to be according to the arithmetic logic of setting this comparator circuit that trigger condition generates;
Said tracking cell comprises an IO interface and a storage control circuit; Be used for after receiving trigger pip; Bus access information on the bus that will follow the tracks of through this IO interface is introduced, and through this storage control circuit all or part of bus access information is saved in storage unit;
Said storage unit is used to preserve bus access information.
2. real-time tracking system as claimed in claim 1 is characterized in that, also comprises the preservation condition dispensing unit, and this preservation condition dispensing unit is connected with said tracking cell, wherein:
Said preservation condition dispensing unit is used for the preservation condition parameter of configuration bus information;
Said tracking cell also comprises a comparator circuit; After the bus access information access; In this comparator circuit, compare bus access information and preservation condition parameter; Arithmetic logic through according to this comparator circuit of setting the preservation condition generation is judged to be the bus access information that satisfies preservation condition, is written to storage unit in real time by said storage control circuit.
3. real-time tracking system as claimed in claim 2 is characterized in that:
In the start address that the trigger condition parameters that disposes in the said trigger condition dispensing unit is followed the tracks of for triggering, access type, access modules sign, setting visit data and the specific binary sequence one or more;
The preservation condition parameter that disposes in the said preservation condition dispensing unit is one or more in reference address and the visit data.
4. like claim 1 or 2 or 3 described real-time tracking systems, it is characterized in that:
Also comprise the termination condition dispensing unit, be used to dispose the threshold value of termination condition parameter; And said tracking cell detects the currency of said termination condition parameter in real time in tracing process, then finishes to follow the tracks of like the threshold value that reaches the termination condition parameter; And/or
Also comprise the interrupt condition dispensing unit, be used for the threshold value of configure interrupt conditional parameter; And said tracking cell detects the currency of said interrupt condition parameter in real time in tracing process, then send interruption to debugging apparatus like the threshold value that reaches the interrupt condition parameter.
5. real-time tracking system as claimed in claim 4 is characterized in that:
Said termination condition parameter and interrupt condition parameter are the data volume of the bus access information of preservation, and the threshold value of the threshold value of said termination condition parameter and interrupt condition parameter is smaller or equal to the capacity of said storage unit.
6. like claim 1 or 2 or 3 or 5 described real-time tracking systems, it is characterized in that:
The said bus that will follow the tracks of is between the storer arbitration modules and functional module in the on-chip integration system bus system, perhaps the bus between storer arbitration modules and the memory storage.
7. the method for real time tracking of a bus is applied to comprise the tracker of the bus that will follow the tracks of and at least one apparatus for real time tracking that is connected with this bus, and when one tunnel bus that will follow the tracks of was carried out real-time follow-up, this method for real time tracking comprised:
According to the bus access information that desire will be followed the tracks of, the trigger condition parameters of configuration real-time follow-up in said apparatus for real time tracking;
After opening following function, the bus access information on the said apparatus for real time tracking real-time inspection bus and with trigger condition parameters relatively, begin to follow the tracks of when setting trigger condition meeting, and preserve all or part of bus access information of following the tracks of before finishing.
8. method for real time tracking as claimed in claim 7 is characterized in that:
Before opening following function, the preservation condition parameter of configuration bus information in said apparatus for real time tracking also;
After beginning to follow the tracks of, said apparatus for real time tracking is according to the preservation condition parameter of configuration, and preservation in real time meets the bus access information of setting preservation condition.
9. method for real time tracking as claimed in claim 8 is characterized in that:
In the start address that said trigger condition parameters is followed the tracks of for triggering, access type, access modules sign, setting visit data and the specific binary sequence one or more;
Said preservation condition parameter is one or more in reference address and the visit data.
10. like claim 7 or 8 or 9 described method for real time tracking, it is characterized in that:
Before opening following function; Also in said apparatus for real time tracking, dispose the threshold value of termination condition parameter; Said apparatus for real time tracking detects the currency of said termination condition parameter in real time in tracing process, then finish to follow the tracks of like the threshold value that reaches said termination condition parameter; And/or
Before opening following function; The threshold value of configure interrupt conditional parameter in said apparatus for real time tracking also; Said apparatus for real time tracking detects the currency of said interrupt condition parameter in real time in tracing process, then send interruption to debugging apparatus like the threshold value that reaches said interrupt condition parameter.
11. method for real time tracking as claimed in claim 10 is characterized in that:
Said termination condition parameter and interrupt condition parameter are the data volume of the bus access information of preservation, and the threshold value of the threshold value of said termination condition parameter and interrupt condition parameter is smaller or equal to the capacity of storage unit.
12., it is characterized in that like claim 7 or 8 or 9 or 11 described real-time tracking systems:
The said bus that will follow the tracks of is between the storer arbitration modules and functional module in the on-chip integration system bus system, perhaps the bus between storer arbitration modules and the memory storage.
13. the adjustment method based on Bus Real Time tracking in the claim 7 is characterized in that:
After having preserved the bus access information that traces into, the bus access information of preserving when debugging apparatus reads real-time follow-up utilizes this bus access information to debug.
CN2009100845609A 2009-05-21 2009-05-21 Real-time tracking system of bus and corresponding tracking and debugging method Expired - Fee Related CN101639816B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009100845609A CN101639816B (en) 2009-05-21 2009-05-21 Real-time tracking system of bus and corresponding tracking and debugging method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009100845609A CN101639816B (en) 2009-05-21 2009-05-21 Real-time tracking system of bus and corresponding tracking and debugging method

Publications (2)

Publication Number Publication Date
CN101639816A CN101639816A (en) 2010-02-03
CN101639816B true CN101639816B (en) 2012-08-08

Family

ID=41614801

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009100845609A Expired - Fee Related CN101639816B (en) 2009-05-21 2009-05-21 Real-time tracking system of bus and corresponding tracking and debugging method

Country Status (1)

Country Link
CN (1) CN101639816B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103631739B (en) * 2012-08-28 2017-07-21 华为技术有限公司 The method for positioning analyzing and embedded system of embedded system
CN104572515B (en) * 2013-10-28 2019-05-31 锐迪科(重庆)微电子科技有限公司 Tracking module, method, system and on-chip system chip
CN106708671A (en) * 2015-11-17 2017-05-24 深圳市中兴微电子技术有限公司 Method and device for detecting bus behavior of system on chip
CN105808396A (en) * 2016-03-04 2016-07-27 浙江大华技术股份有限公司 Chip debugging device, debugging method and SOC (System of Chip) chip system
CN116938451B (en) * 2023-09-14 2023-12-22 飞腾信息技术有限公司 Password operation method, device, system on chip and equipment
CN117009185A (en) * 2023-09-14 2023-11-07 飞腾信息技术有限公司 Bus monitoring method, device, system on chip and equipment

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1981273A (en) * 2004-04-01 2007-06-13 辉达公司 Deadlock avoidance in a bus fabric

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1981273A (en) * 2004-04-01 2007-06-13 辉达公司 Deadlock avoidance in a bus fabric

Also Published As

Publication number Publication date
CN101639816A (en) 2010-02-03

Similar Documents

Publication Publication Date Title
CN107357666B (en) Multi-core parallel system processing method based on hardware protection
CN101639816B (en) Real-time tracking system of bus and corresponding tracking and debugging method
CN102760090B (en) Debugging method and computer system
CN107710174B (en) Memory monitoring unit
US7788543B2 (en) Methods and systems for generating and storing computer program execution trace data
US20060150023A1 (en) Debugging apparatus
CN104899175A (en) Safety access control method and device based on on-chip bus protocol
CN103210381A (en) Access method, and multi-core processor system
US11113385B2 (en) Communicating trace information between security zones
EP2435918B1 (en) Integrated circuit comprising trace logic and method for providing trace information
WO2017091226A1 (en) Configuration of a memory controller for copy-on-write
US10866279B2 (en) Monitoring accesses to a region of an integrated circuit chip
CN117149644A (en) Memory overflow detection method, device, operating system, equipment and storage medium
US8880956B2 (en) Facilitating processing in a communications environment using stop signaling
EP2942714B1 (en) Monitoring method, monitoring apparatus, and electronic device
CN103077104B (en) Verification method, device and system for on-chip system
US7051237B2 (en) Program-controlled unit
CN104572515A (en) Tracking module, method, system and SOC (System-On-Chip)
CN107451028A (en) Error condition storage method and server
CN109710495A (en) A kind of information processing method and electronic equipment
CN117785756B (en) Memory control system, method, chip and computer readable storage medium
CN118210716A (en) Interface fault diagnosis and risk prediction method and system for pre-inspection recording software
US11392438B2 (en) Responding to unresponsive processing circuitry
JP2004185318A (en) Trouble monitoring device for cpu system
KR101416836B1 (en) System for monitoring flight control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: WUXI VIMICRO CO., LTD.

Free format text: FORMER OWNER: BEIJING ZHONGXING MICROELECTRONICS CO., LTD.

Effective date: 20110402

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100083 16/F, SHINING BUILDING, NO. 35, XUEYUAN ROAD, HAIDIAN DISTRICT, BEIJING TO: 214028 610, NATIONAL INTEGRATED CIRCUIT DESIGN PARK (CHUANGYUAN BUILDING), NO. 21-1, CHANGJIANG ROAD, WUXI NEW DISTRICT, JIANGSU PROVINCE

TA01 Transfer of patent application right

Effective date of registration: 20110402

Address after: 214028 national integrated circuit design (21-1), Changjiang Road, New District, Jiangsu, Wuxi, China, China (610)

Applicant after: Wuxi Vimicro Co., Ltd.

Address before: 100083 Haidian District, Xueyuan Road, No. 35, the world building, the second floor of the building on the ground floor, No. 16

Applicant before: Beijing Vimicro Corporation

C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 214135 Taihu International Science Park Sensor Network University Science Park 530 Building A1001, 18 Qingyuan Road, Wuxi, Jiangsu Province

Patentee after: WUXI ZHONGGAN MICROELECTRONIC CO., LTD.

Address before: 214028 National Integrated Circuit Design Park (Chuangyuan Building) 610, 21-1 Changjiang Road, New District, Wuxi City, Jiangsu Province

Patentee before: Wuxi Vimicro Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120808

Termination date: 20200521