US20060277435A1 - Mechanism for storing and extracting trace information using internal memory in microcontrollers - Google Patents
Mechanism for storing and extracting trace information using internal memory in microcontrollers Download PDFInfo
- Publication number
- US20060277435A1 US20060277435A1 US11/148,049 US14804905A US2006277435A1 US 20060277435 A1 US20060277435 A1 US 20060277435A1 US 14804905 A US14804905 A US 14804905A US 2006277435 A1 US2006277435 A1 US 2006277435A1
- Authority
- US
- United States
- Prior art keywords
- trace
- debug
- register
- buffer
- microcontroller
- 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.)
- Abandoned
Links
- 230000015654 memory Effects 0.000 title claims abstract description 60
- 230000007246 mechanism Effects 0.000 title claims abstract description 15
- 238000000034 method Methods 0.000 claims abstract description 17
- 239000000872 buffer Substances 0.000 claims description 68
- 238000004891 communication Methods 0.000 claims description 6
- 239000011159 matrix material Substances 0.000 claims description 5
- 230000006399 behavior Effects 0.000 claims description 3
- 238000012545 processing Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000002513 implantation Methods 0.000 description 1
- 239000012464 large buffer Substances 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 239000000523 sample Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/22—Microcontrol or microprogram arrangements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Prevention of errors by analysis, debugging or testing of software
- G06F11/362—Debugging of software
- G06F11/3636—Debugging of software by tracing the execution of the program
Definitions
- the present invention relates generally to on-chip debug functionality in microcontrollers and microprocessors that contain on-chip memory and more specifically to storing trace information in and extracting such information from on-chip memory.
- the trace features are nevertheless very bandwidth intensive.
- the frame buffer 24 and dedicated trace port 17 add to the cost of the microcontroller 20 .
- the high bandwidth also strongly increases the cost of the debug tool 14 , which requires complex and expensive hardware to capture and process the vast amount of high-speed trace information.
- CNT register 204 the logarithmic size of the trace buffer.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Software Systems (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
- The present invention relates generally to on-chip debug functionality in microcontrollers and microprocessors that contain on-chip memory and more specifically to storing trace information in and extracting such information from on-chip memory.
-
FIG. 1 shows aconventional debug system 10 with direct memory access and trace support. Thedebug system 10 comprises a host computer 12, adebug tool 14, a lowspeed debug interface 16, a high speed trace capture andprocessing unit 18, a low-speed debug port 15, a high-speed trace port 17, amicrocontroller device 20 and asystem memory 36. Themicrocontroller device 20 includes an on-chip debug logic 22, aframe buffer 24, an on-chip debug control 26, abus monitor 28, amemory interface 30, aCPU 32 and abus matrix 34. Traditionally, electronic systems with advanced control or data processing requirements would containseparate CPU 32 and memory devices, soldered onto the same printed circuit board. During developing and debugging embedded software, it was thus possible to use logic analyzers to probe the system bus to identify and capture events useful for software debugging. With the advent of powerful microcontrollers with on-chip memories, the system bus resides within the device, and the bus events are no longer available for direct capture. The problem becomes particularly noticeable as microcontrollers become ever more complex, with a corresponding increase in software complexity. As many embedded systems involve real-time communication, control, or data processing, the debugging task becomes further complicated, as more debug features have to be non-intrusive, i.e., not disrupt the real-time software execution. - To avoid software development time increasing exponentially, on-chip debug (OCD)
logic 22 is required to assist in observing and controlling the embedded processor through a set of debug features. Adebug tool 14 interfaces between the development software on a host computer 12 and theOCD logic 22 through a debug port 15 (e.g. JTAG) and atrace port 17. - The most basic debug features involve intrusive control of
CPU 32 operation. This includes breakpoints, to selectively halt theCPU 32 based on a specific condition, and methods to examine theCPU 32 registers and restart theCPU 32 to normal operation. These debug features are normally controlled by a set of debug registers, accessible through a debug interface, e.g., JTAG. As all real-time events are handled by theOCD logic 22, thedebug tool 14 does not have to contain high-speed logic, and can be designed in a simple, low-cost fashion. - The basic debug features allow intrusive debug access to
system memory 36 by halting theCPU 32, and issuing instructions to examine or alter thesystem memory 36. However, with the increasing complexity of embedded real-time systems, non-intrusive direct memory access tosystem memory 36 has become a requirement (e.g. Nexus 2.0 standard, IEEE ISTO5001™-2003, class 3). This enables thedebug tool 14 to use the low-speed debug port 15 to observe and alter memory without requiring theCPU 32 to be halted. - More advanced are trace features, which replace the traditional logic analyzers, and thus constitute an important part of on-chip debugging in complex microcontroller applications. This involves reconstructing the program or data flow of the embedded software to identify the point of incorrect program execution. This is accomplished by logging a sequence of characteristic debug events, collectively known as trace information, such as program branches, and system bus accesses, during the software execution. Data is supplied with each event to relate the event to the execution, allowing the exact execution sequence to be reconstructed.
- Trace information is formatted into messages, consisting of frames, corresponding to one set of data on the
trace port 17 of the device. The trace information is generated in bursts, resulting in a very high peak frame rate. The average frame rate is usually much lower, and it is therefore economical to keep the generated frames in aframe buffer 24, and transmit them through thetrace port 17 at a frame rate closer to the average frame rate. The trace information can then be captured, stored, and analyzed by thedebug tool 14. - The trace features are nevertheless very bandwidth intensive. The
frame buffer 24 anddedicated trace port 17 add to the cost of themicrocontroller 20. The high bandwidth also strongly increases the cost of thedebug tool 14, which requires complex and expensive hardware to capture and process the vast amount of high-speed trace information. - The trace frames are normally stored in a large buffer within the
debug tool 14, allowing for a relatively long real-time trace sequence to be captured. However, many software debug situations do not require the entire trace sequence, only the first messages (e.g. exit from an interrupt handler), or last messages (e.g. illegal entry to a trap). Thus, trace implementations with a limited trace buffer would still be highly valuable. - Accordingly, what is needed is a system and method for lowering the cost of implementing trace features both for the microcontroller and for the debug tools. The present invention addresses such a need.
- It is the object of the present invention to provide a mechanism to store and retrieve trace information in on-chip system memory of microcontrollers. A microcontroller comprises a microprocessor and a memory device accessible through a data bus and an address bus coupled to the microprocessor. The microcontroller includes on-chip debug logic coupled to the microprocessor. The on-chip debug logic includes a low speed debug port and a mechanism for temporarily storing trace data on the memory, wherein the trace data can be retrieved via the low speed debug port by a debug tool.
- A method and system in accordance with the present invention will lower the cost of implementation of trace features in microcontrollers, and strongly reduce the cost of supporting such features in debug tools.
-
FIG. 1 shows a conventional debug system with direct memory access and trace support. -
FIG. 2 illustrates a debug system in accordance with the present invention. -
FIG. 3 illustrates the debug system with an expanded view of the trace extractor module and the system memory. -
FIG. 4 shows RWD register organization. -
FIG. 5 shows reconstructing a message from the trace buffer. - The present invention relates generally to on-chip debug functionality in microcontrollers and microprocessors that contain on-chip memory and more specifically to storing trace information in and extracting such information from on-chip memory. The following description is presented to enable one of ordinary skill in the art to make and use the invention and is provided in the context of a patent application and its requirements. Various modifications to the preferred embodiments and the generic principles and features described herein will be readily apparent to those skilled in the art. Thus, the present invention is not intended to be limited to the embodiments shown, but is to be accorded the widest scope consistent with the principles and features described herein.
- The present invention presents a mechanism for storing trace events in system memory and allowing them to be extracted over the low-speed debug port in the device.
- The present invention includes an implementation of an on-chip trace buffer and a frame buffer, as well as a memory interface for non-intrusive memory access. Frames are extracted from the buffer and routed to the memory interface, to be stored in a circular trace buffer in system memory, instead of transmitted on a trace port. The position and size of the trace buffer in system memory are configured by debug registers, accessible by a debug tool. In a preferred embodiment, the high-speed trace port is eliminated, and the frame buffer can be reduced in size, as the bandwidth of the memory interface is close to the peak frame rate.
- The trace sequence that can be captured is much smaller than when using an external debug tool for trace capture, since the trace buffer is limited to the size of the allocatable internal memory. However, as stated above, many debug situations do not require a large trace sequence, if the user can control which sequence is captured. In a system and method in accordance with the present invention, the user is presented with several options when the trace buffer becomes full:
- 1. Continue writing at the start of the buffer, overwriting the oldest frames.
- 2. Stop writing, discarding any further frames generated.
- 3. Halt the CPU automatically, to avoid further messages to be generated.
- In any case, the debug tool can at any time halt the CPU explicitly, which prevents further trace information from being generated. The debug tool can subsequently extract the previous trace information by reading out the trace buffer from system memory, without any specific bandwidth requirement. Also, the regular debug port can be used to extract the information, eliminating the need for a dedicated trace port. In addition, mechanisms are provided to identify the portion of the buffer containing valid frames, and to extract remaining frames not yet written to the buffer. Finally, mechanisms are also provided to protect the CPU from accessing the system memory area reserved for the trace buffer, to prevent incorrect trace reconstruction.
- To describe the features of the present invention in more detail refer now to the following description in conjunction with the accompanying figures.
-
FIG. 2 illustrates a debug system 100 in accordance with the present invention. The debug system 100 comprises a host computer 12′, adebug tool 114, amicrocontroller device 120 andsystem memory 36′. Themicrocontroller device 120 includes on-chip debug logic 12,CPU 32′ and abus matrix 34. Althoughsystem memory 36′ is shown on-chip here, the memory can reside on-chip or off-chip depending on the implantation of the microcontroller device. The on-chip debug logic 121 comprises atrace extractor module 122, a trace buffer protectmodule 129, aframe buffer 124, an on-chip debug control 126, abus monitor 128, andmemory interface 130. In this architecture, thetrace extractor module 122 is added to on-chip debug logic 121 provide a mechanism for storing trace events without adding significant cost to themicrocontroller device 120. Thetrace extractor module 122 is an extension of the memory interface, and contains a plurality of debug registers, which can be written by thedebug tool 114, and that configure the behavior of the on-chip memory trace mechanism. To describe the function of thetrace extractor module 122 in more detail refer now to the following description in conjunction with the accompanying figure. -
FIG. 3 illustrates the debug system 100 with an expanded view of thetrace extractor module 122 and thesystem memory 36′.FIG. 3 comprises aframe buffer 124, on-chip debug control 126,bus monitor 128,CPU 32′,bus matrix 34′,memory interface 130, andtrace extractor module 122. Thetrace extractor module 122 comprises atrace buffer 122, aRWD register 202,CNT register 204, tracebuffer access protection 206, aRWA register 208, status registers 210 and a plurality of control registers 212. - As before mentioned, the
trace extractor module 122 includes a plurality of debug registers which can be written by thedebug tool 114. The registers can be summarized as follows: - RWA register 208: An automatically incremented register, reflecting the next system memory address to be written.
- RWD register 202: a register collecting frames into bus-sized units.
- CNT register 204: the logarithmic size of the trace buffer.
- Control register 212: a control register indicating the actions taken when the trace buffer is full. Valid states are WRAP, STOP, and BREAK.
- Status registers 210: a plurality of single-bit read-only registers indicating the status of the
trace buffer 206. - The following definitions describe the status of the trace buffer 206:
- WRAPPED: The
trace buffer 206 has been overwritten, and old messages have been discarded. - NTBF: A breakpoint has been issued due to the
trace buffer 206 being full. - NTAE: A breakpoint has been issued due to the
CPU 32′ trying to access thetrace buffer 206. - Referring further to
FIG. 3 , thedebug tool 114 reserves a portion ofsystem memory 36′ for thetrace buffer 206 by writing the RWA register 208 to the START_ADDRESS, and writing the CNT register 204 with the logarithmic buffer size, creating a buffer END_ADDRESS=(START_ADDRESS+2CNT−1). The implicit address unit used is the system bus access width, e.g. word=32 bits. - The
trace extractor module 122 accumulates frames from theframe buffer 124 into theRWD register 202, which is the same width as the system data bus. Thisregister 202 collects frames until full, e.g., if the frame size is 8 bits, and thedata bus 32 bits, the RWD register 202 can hold 4 frames. - When
RWD 202 is full, the contents of the register are written through thememory interface 130 to thesystem memory 36′ address pointed to by theRWA register 208. After this operation, theRWA register 208 is auto-incremented to point to the next location in the buffer. The RWD register 202 is cleared, i.e., filled with only empty frames. - When
RWA 208 increments beyond END_ADDRESS, the MODE register defines the resulting behavior: - In a=WRAP mode: the
RWA register 208 is reset to START_ADDRESS, and thetrace buffer 206 is overwritten without halting theCPU 32′. The WRAPPED status bit is set. Thedebug tool 114 must halt theCPU 32′ before reconstruction of trace data can begin. The captured trace data will contain the last frames before theCPU 32′ was halted. - In a=STOP mode: No further trace frames are written to
system memory 36′, but theCPU 32′ is not halted. The debug tool must halt theCPU 32′ before reconstruction of trace data can begin. The captured trace data will contain the first frames after the capture sequence was started. - In a=BREAK mode: No further trace frames are written to
system memory 36′, and theCPU 32′ is halted. The NTBF status is set, to identify this breakpoint. Reconstruction of the trace frames can commence immediately. The captured trace data will contain all frames after the capture sequence was started. - Once the
CPU 32′ is halted, regardless of reason for the breakpoint, the debugger can read out the valid trace frames from thesystem memory 36′ using the lowspeed debug port 15 and thememory interface 130. - The location of valid frames in the
trace buffer 206 depends on whether the circular trace buffer insystem memory 36′ was overwritten or not, as indicated by the WRAPPED status bit. The WRAP status bit has the following states: - WRAPPED=0: The
trace buffer 206 contains valid trace frames from START_ADDRESS through (RWA-1). - WRAPPED=1: The
trace buffer 206 contains valid trace frames from END_ADDRESS plus START_ADDRESS through (RWA-1). - Assuming an implementation using 8-bit Nexus-compatible frames (2-bit MSEO control and 6-bit MDO data), and a big-endian 32-bit system bus, the RWD register 202 will be organized as shown in
FIG. 4 . Accordingly this register collects frames into bus-sized units. -
FIG. 5 shows reconstructing a message from the trace buffer 206 (FIG. 3 ). In this example a message from thetrace buffer 206 is shown after theCPU 32′ has been halted, with the RWA register 208 starting at 0x1000 and the CNT register=10 (i.e. the buffer size is 1024 words, or 4096 frames). When the trace was stopped, the WRAPPED status bit is set and the RWA register 208=0x 1234, so the last word of frame data written to the memory is located at 0x1230. The last two frames of the message still reside in theRWD register 202, which has been only partially filled. - If the
RWD register 202 was not full by the time the breakpoint occurred, these frames are not written to thetrace buffer 206. If the debug tool intends to read out thetrace buffer 206, the last frames can be found by reading theRWD register 202, after reading out to thetrace buffer 206. - If the
debug tool 114 does not intend to read out thetrace buffer 206, e.g. due to a non-trace-related breakpoint, it can let theCPU 32′ return to normal operation, and the trace operation will continue, transparently to thedebug tool 114. - The mechanism described above assumes that the
system memory 36′ is a shared resource between CPU and OCD logic. This means that a software error in theCPU 32′ can potentially corrupt the trace data by accidentally writing to thetrace buffer 206 insystem memory 36′. This is particularly unfortunate, since loss of trace data increases the difficulty in locating this software error. To prevent this, a trace buffer protection module 129 (FIG. 2 ), containing a comparator unit, monitors CPU accesses tosystem memory 36′, ensuring that any accesses between START_ADDRESS and END_ADDRESS will result in halting theCPU 32′ through a breakpoint, with the NTAE status bit set. - A system and method in accordance with the present invention lowers the cost of implementing trace features for the microcontroller and for the debug tools by offering a mechanism to temporarily store data in on-chip memory, to allow this data to be retrieved at an arbitrarily low bandwidth via a low speed debug port by the debug tool at a later time. A system and method in accordance with the present invention eliminates the need for a dedicated trace port in the device, reduces the size of the frame buffer, and eliminates the need for high-speed logic in the debug tool.
- A system and method in accordance with the present invention allows for the implementation of more powerful trace features in microcontrollers without increasing the pin cost of debug features. It also allows strongly improved support for third party debug tools with trace capability, allowing more customers to take advantage of microcontrollers with on-chip trace features.
- Although the present invention has been described in accordance with the embodiments shown, one of ordinary skill in the art will readily recognize that there could be variations to the embodiments and those variations would be within the spirit and scope of the present invention. Accordingly, many modifications may be made by one of ordinary skill in the art without departing from the spirit and scope of the appended claims.
Claims (16)
Priority Applications (7)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US11/148,049 US20060277435A1 (en) | 2005-06-07 | 2005-06-07 | Mechanism for storing and extracting trace information using internal memory in microcontrollers |
EP06772565A EP1896946A2 (en) | 2005-06-07 | 2006-06-07 | Mechanism for storing and extracting trace information using internal memory in microcontrollers |
PCT/US2006/022306 WO2006133362A2 (en) | 2005-06-07 | 2006-06-07 | Mechanism for storing and extracting trace information using internal memory in microcontrollers |
CN2006800274382A CN102265262A (en) | 2005-06-07 | 2006-06-07 | Mechanism for storing and extracting trace information using internal memory in microcontrollers |
KR1020087000445A KR20080022181A (en) | 2005-06-07 | 2006-06-07 | Mechanism for storing and extracting trace information using the internal memory of microcontrollers |
US12/616,655 US8219855B2 (en) | 2005-06-07 | 2009-11-11 | Mechanism for storing and extracting trace information using internal memory in micro controllers |
US13/527,502 US8370687B2 (en) | 2005-06-07 | 2012-06-19 | Mechanism for storing and extracting trace information using internal memory in micro controllers |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US11/148,049 US20060277435A1 (en) | 2005-06-07 | 2005-06-07 | Mechanism for storing and extracting trace information using internal memory in microcontrollers |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US12/616,655 Continuation US8219855B2 (en) | 2005-06-07 | 2009-11-11 | Mechanism for storing and extracting trace information using internal memory in micro controllers |
Publications (1)
Publication Number | Publication Date |
---|---|
US20060277435A1 true US20060277435A1 (en) | 2006-12-07 |
Family
ID=37495520
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US11/148,049 Abandoned US20060277435A1 (en) | 2005-06-07 | 2005-06-07 | Mechanism for storing and extracting trace information using internal memory in microcontrollers |
US12/616,655 Active 2026-02-05 US8219855B2 (en) | 2005-06-07 | 2009-11-11 | Mechanism for storing and extracting trace information using internal memory in micro controllers |
US13/527,502 Active US8370687B2 (en) | 2005-06-07 | 2012-06-19 | Mechanism for storing and extracting trace information using internal memory in micro controllers |
Family Applications After (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US12/616,655 Active 2026-02-05 US8219855B2 (en) | 2005-06-07 | 2009-11-11 | Mechanism for storing and extracting trace information using internal memory in micro controllers |
US13/527,502 Active US8370687B2 (en) | 2005-06-07 | 2012-06-19 | Mechanism for storing and extracting trace information using internal memory in micro controllers |
Country Status (5)
Country | Link |
---|---|
US (3) | US20060277435A1 (en) |
EP (1) | EP1896946A2 (en) |
KR (1) | KR20080022181A (en) |
CN (1) | CN102265262A (en) |
WO (1) | WO2006133362A2 (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090031289A1 (en) * | 2007-07-28 | 2009-01-29 | Sam Michael | Memory management for remote software debuggers and methods |
US20100064173A1 (en) * | 2005-06-07 | 2010-03-11 | Atmel Corporation | Mechanism for storing and extracting trace information using internal memory in micro controllers |
US20100077472A1 (en) * | 2008-09-23 | 2010-03-25 | Atmel Corporation | Secure Communication Interface for Secure Multi-Processor System |
US20100088478A1 (en) * | 2008-10-06 | 2010-04-08 | Omiino Limited | System for Internally Monitoring an Integrated Circuit |
US20110072418A1 (en) * | 2009-09-23 | 2011-03-24 | International Business Machines Corporation | Tracing memory update for debugging computer program |
US20110271141A1 (en) * | 2010-04-30 | 2011-11-03 | International Business Machines Corporation | Non-Volatile Memory Based Reliability and Availability Mechanisms for a Computing Device |
US20130024733A1 (en) * | 2011-07-19 | 2013-01-24 | Texas Instruments Incorporated | Semiconductor Device and Method for Tracing a Memory of a Semiconductor Device |
US8386859B2 (en) | 2010-04-30 | 2013-02-26 | International Business Machines Corporation | On-chip non-volatile storage of a test-time profile for efficiency and performance control |
US20130238933A1 (en) * | 2012-03-06 | 2013-09-12 | Electronics And Telecommunications Research Institute | Multi-core soc having debugging function |
US20160011893A1 (en) * | 2014-07-11 | 2016-01-14 | Beeman C. Strong | Managing generated trace data for a virtual machine |
US9965375B2 (en) | 2016-06-28 | 2018-05-08 | Intel Corporation | Virtualizing precise event based sampling |
US12146909B1 (en) * | 2005-08-09 | 2024-11-19 | Texas Instruments Incorporated | Selectable JTAG or trace access with data store and output |
Families Citing this family (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8464098B2 (en) * | 2008-04-15 | 2013-06-11 | Freescale Semiconductor, Inc. | Microcontroller device, microcontroller debugging device, method of debugging a microcontroller device, microcontroller kit |
US8464032B2 (en) * | 2009-07-10 | 2013-06-11 | Via Technologies, Inc. | Microprocessor integrated circuit with first processor that outputs debug information in response to reset by second processor of the integrated circuit |
US8495344B2 (en) * | 2010-01-22 | 2013-07-23 | Via Technologies, Inc. | Simultaneous execution resumption of multiple processor cores after core state information dump to facilitate debugging via multi-core processor simulator using the state information |
US8762779B2 (en) * | 2010-01-22 | 2014-06-24 | Via Technologies, Inc. | Multi-core processor with external instruction execution rate heartbeat |
US20120036501A1 (en) * | 2010-08-03 | 2012-02-09 | Tomas Evensen | Method and System for Capturing System and User Events Using Hardware Trace Devices |
US8639919B2 (en) | 2011-01-18 | 2014-01-28 | Via Technologies, Inc. | Tracer configuration and enablement by reset microcode |
US8713369B2 (en) * | 2011-05-08 | 2014-04-29 | Telefonaktiebolaget L M Ericsson (Publ) | Hardware/software debugging using memory access parameters |
KR20130066402A (en) * | 2011-12-12 | 2013-06-20 | 삼성전자주식회사 | Apparatus and method for storing trace data |
CN103593271A (en) * | 2012-08-13 | 2014-02-19 | 中兴通讯股份有限公司 | Method and device for chip tracking debugging of system on chip |
US9069896B2 (en) | 2012-08-29 | 2015-06-30 | Freescale Semiconductor, Inc. | Data processor device for handling a watchpoint and method thereof |
US9047400B2 (en) | 2012-08-29 | 2015-06-02 | Freescale Semiconductor, Inc. | Data processor device for handling a watchpoint and method thereof |
US9164868B2 (en) * | 2012-12-27 | 2015-10-20 | Infineon Technologies Ag | Multi-tier trace |
US20140281375A1 (en) * | 2013-03-15 | 2014-09-18 | International Business Machines Corporation | Run-time instrumentation handling in a superscalar processor |
US9223678B2 (en) | 2013-07-31 | 2015-12-29 | Freescale Semiconductor, Inc. | Data processor device having a debug control module which selectively modifies trace messages |
TWI524080B (en) | 2014-01-29 | 2016-03-01 | 新唐科技股份有限公司 | Operation recording circuit applied to integrated circuit and operation method thereof |
US9568547B2 (en) | 2015-03-17 | 2017-02-14 | Intel Corporation | Method, apparatus and system for dynamic bandwidth management in systems |
KR101816866B1 (en) | 2016-08-10 | 2018-01-10 | 한국전자통신연구원 | Apparatus and method for confidentiality and integrity monitoring of target system |
KR20180054364A (en) | 2016-11-15 | 2018-05-24 | 삼성전자주식회사 | Storage device for generating trace data and method of operating the storage device |
US10901871B2 (en) | 2019-03-05 | 2021-01-26 | Intel Corporation | System, apparatus and method for dynamic multi-source tracing in a system |
CN112767473B (en) * | 2020-12-18 | 2023-12-15 | 深圳市普汇智联科技有限公司 | Projection type billiard cue method and device |
CN114745257B (en) * | 2022-03-28 | 2024-01-09 | 杭州义益钛迪信息技术有限公司 | Data frame debugging method, device, equipment and storage medium |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5943498A (en) * | 1994-12-28 | 1999-08-24 | Hewlett-Packard Company | Microprocessor, method for transmitting signals between the microprocessor and debugging tools, and method for tracing |
US5944841A (en) * | 1997-04-15 | 1999-08-31 | Advanced Micro Devices, Inc. | Microprocessor with built-in instruction tracing capability |
US5958061A (en) * | 1996-07-24 | 1999-09-28 | Transmeta Corporation | Host microprocessor with apparatus for temporarily holding target processor state |
US6154857A (en) * | 1997-04-08 | 2000-11-28 | Advanced Micro Devices, Inc. | Microprocessor-based device incorporating a cache for capturing software performance profiling data |
US6167536A (en) * | 1997-04-08 | 2000-12-26 | Advanced Micro Devices, Inc. | Trace cache for a microprocessor-based device |
US6378064B1 (en) * | 1998-03-13 | 2002-04-23 | Stmicroelectronics Limited | Microcomputer |
US20050102579A1 (en) * | 1998-03-31 | 2005-05-12 | Seiko Epson Corporation | Microcomputer, electronic equipment, and debugging system |
US20060075310A1 (en) * | 2004-09-21 | 2006-04-06 | Fujitsu Limited | Microcomputer and trace control method capable of tracing desired task |
US20060112310A1 (en) * | 2004-11-05 | 2006-05-25 | Arm Limited | Storage of trace data within a data processing apparatus |
US20070006035A1 (en) * | 2003-08-28 | 2007-01-04 | Kazou Usui | Microcomputer and method for developing system program |
US20070214341A1 (en) * | 2004-05-12 | 2007-09-13 | Koninklijke Philips Electronics N.V. | Data Processing System With Trace Co-Processor |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6314530B1 (en) * | 1997-04-08 | 2001-11-06 | Advanced Micro Devices, Inc. | Processor having a trace access instruction to access on-chip trace memory |
US6175914B1 (en) * | 1997-12-17 | 2001-01-16 | Advanced Micro Devices, Inc. | Processor including a combined parallel debug and trace port and a serial port |
JP3277900B2 (en) * | 1998-09-30 | 2002-04-22 | 日本電気株式会社 | Program inspection method, program inspection device, and computer-readable storage medium storing inspection program |
US6813731B2 (en) * | 2001-02-26 | 2004-11-02 | Emc Corporation | Methods and apparatus for accessing trace data |
US6769054B1 (en) * | 2001-02-26 | 2004-07-27 | Emc Corporation | System and method for preparation of workload data for replaying in a data storage environment |
CN1216333C (en) * | 2002-12-31 | 2005-08-24 | 清华大学 | A hardware interface card for realizing an open "soft" serial real-time communication system |
US20050120337A1 (en) * | 2003-12-01 | 2005-06-02 | Serrano Mauricio J. | Memory trace buffer |
US20060277435A1 (en) | 2005-06-07 | 2006-12-07 | Pedersen Frode M | Mechanism for storing and extracting trace information using internal memory in microcontrollers |
-
2005
- 2005-06-07 US US11/148,049 patent/US20060277435A1/en not_active Abandoned
-
2006
- 2006-06-07 EP EP06772565A patent/EP1896946A2/en not_active Withdrawn
- 2006-06-07 WO PCT/US2006/022306 patent/WO2006133362A2/en active Application Filing
- 2006-06-07 CN CN2006800274382A patent/CN102265262A/en active Pending
- 2006-06-07 KR KR1020087000445A patent/KR20080022181A/en not_active Ceased
-
2009
- 2009-11-11 US US12/616,655 patent/US8219855B2/en active Active
-
2012
- 2012-06-19 US US13/527,502 patent/US8370687B2/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5943498A (en) * | 1994-12-28 | 1999-08-24 | Hewlett-Packard Company | Microprocessor, method for transmitting signals between the microprocessor and debugging tools, and method for tracing |
US5958061A (en) * | 1996-07-24 | 1999-09-28 | Transmeta Corporation | Host microprocessor with apparatus for temporarily holding target processor state |
US6154857A (en) * | 1997-04-08 | 2000-11-28 | Advanced Micro Devices, Inc. | Microprocessor-based device incorporating a cache for capturing software performance profiling data |
US6167536A (en) * | 1997-04-08 | 2000-12-26 | Advanced Micro Devices, Inc. | Trace cache for a microprocessor-based device |
US5944841A (en) * | 1997-04-15 | 1999-08-31 | Advanced Micro Devices, Inc. | Microprocessor with built-in instruction tracing capability |
US6378064B1 (en) * | 1998-03-13 | 2002-04-23 | Stmicroelectronics Limited | Microcomputer |
US20050102579A1 (en) * | 1998-03-31 | 2005-05-12 | Seiko Epson Corporation | Microcomputer, electronic equipment, and debugging system |
US6922795B2 (en) * | 1998-03-31 | 2005-07-26 | Seiko Epson Corporation | Microcomputer, electronic equipment, and debugging system |
US20070006035A1 (en) * | 2003-08-28 | 2007-01-04 | Kazou Usui | Microcomputer and method for developing system program |
US20070214341A1 (en) * | 2004-05-12 | 2007-09-13 | Koninklijke Philips Electronics N.V. | Data Processing System With Trace Co-Processor |
US20060075310A1 (en) * | 2004-09-21 | 2006-04-06 | Fujitsu Limited | Microcomputer and trace control method capable of tracing desired task |
US20060112310A1 (en) * | 2004-11-05 | 2006-05-25 | Arm Limited | Storage of trace data within a data processing apparatus |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100064173A1 (en) * | 2005-06-07 | 2010-03-11 | Atmel Corporation | Mechanism for storing and extracting trace information using internal memory in micro controllers |
US8219855B2 (en) | 2005-06-07 | 2012-07-10 | Atmel Corporation | Mechanism for storing and extracting trace information using internal memory in micro controllers |
US8370687B2 (en) | 2005-06-07 | 2013-02-05 | Atmel Corporation | Mechanism for storing and extracting trace information using internal memory in micro controllers |
US20240402247A1 (en) * | 2005-08-09 | 2024-12-05 | Texas Instruments Incorporated | Selectable jtag or trace access with data store and output |
US12146909B1 (en) * | 2005-08-09 | 2024-11-19 | Texas Instruments Incorporated | Selectable JTAG or trace access with data store and output |
US9092570B2 (en) * | 2007-07-28 | 2015-07-28 | Sam Michael | Memory management for remote software debuggers and methods |
US20090031289A1 (en) * | 2007-07-28 | 2009-01-29 | Sam Michael | Memory management for remote software debuggers and methods |
US20100077472A1 (en) * | 2008-09-23 | 2010-03-25 | Atmel Corporation | Secure Communication Interface for Secure Multi-Processor System |
US20100088478A1 (en) * | 2008-10-06 | 2010-04-08 | Omiino Limited | System for Internally Monitoring an Integrated Circuit |
US8490060B2 (en) | 2009-09-23 | 2013-07-16 | International Business Machines Corporation | Tracing memory updates and accesses for debugging computer programs |
US20110072418A1 (en) * | 2009-09-23 | 2011-03-24 | International Business Machines Corporation | Tracing memory update for debugging computer program |
US8386859B2 (en) | 2010-04-30 | 2013-02-26 | International Business Machines Corporation | On-chip non-volatile storage of a test-time profile for efficiency and performance control |
US8276018B2 (en) * | 2010-04-30 | 2012-09-25 | International Business Machines Corporation | Non-volatile memory based reliability and availability mechanisms for a computing device |
US20110271141A1 (en) * | 2010-04-30 | 2011-11-03 | International Business Machines Corporation | Non-Volatile Memory Based Reliability and Availability Mechanisms for a Computing Device |
US8738969B2 (en) * | 2011-07-19 | 2014-05-27 | Texas Instruments Incorporated | Semiconductor device and method for tracing a memory of a semiconductor device |
US20130024733A1 (en) * | 2011-07-19 | 2013-01-24 | Texas Instruments Incorporated | Semiconductor Device and Method for Tracing a Memory of a Semiconductor Device |
US20130238933A1 (en) * | 2012-03-06 | 2013-09-12 | Electronics And Telecommunications Research Institute | Multi-core soc having debugging function |
US20160011893A1 (en) * | 2014-07-11 | 2016-01-14 | Beeman C. Strong | Managing generated trace data for a virtual machine |
US9329884B2 (en) * | 2014-07-11 | 2016-05-03 | Intel Corporation | Managing generated trace data for a virtual machine |
US9965375B2 (en) | 2016-06-28 | 2018-05-08 | Intel Corporation | Virtualizing precise event based sampling |
US10496522B2 (en) | 2016-06-28 | 2019-12-03 | Intel Corporation | Virtualizing precise event based sampling |
US11055203B2 (en) | 2016-06-28 | 2021-07-06 | Intel Corporation | Virtualizing precise event based sampling |
Also Published As
Publication number | Publication date |
---|---|
US20120254668A1 (en) | 2012-10-04 |
WO2006133362A2 (en) | 2006-12-14 |
EP1896946A2 (en) | 2008-03-12 |
KR20080022181A (en) | 2008-03-10 |
CN102265262A (en) | 2011-11-30 |
US8370687B2 (en) | 2013-02-05 |
US20100064173A1 (en) | 2010-03-11 |
WO2006133362A3 (en) | 2011-05-26 |
US8219855B2 (en) | 2012-07-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8219855B2 (en) | Mechanism for storing and extracting trace information using internal memory in micro controllers | |
USRE49305E1 (en) | Data processing system having cache memory debugging support and method therefor | |
JP4225851B2 (en) | Trace element generation system for data processor | |
US5978902A (en) | Debug interface including operating system access of a serial/parallel debug port | |
US6889344B2 (en) | System and method for exposing hidden events on system buses | |
US7886198B2 (en) | Method and system of identifying overlays used by a program | |
KR100517679B1 (en) | Debug interface including a compact trace record storage | |
US20100042975A1 (en) | Message logging for software applications | |
EP2686772B1 (en) | Diagnosing code using single step execution | |
US20040117690A1 (en) | Method and apparatus for using a hardware disk controller for storing processor execution trace information on a storage device | |
US7607047B2 (en) | Method and system of identifying overlays | |
US20060174163A1 (en) | Software breakpoints for use with memory devices | |
US20040243743A1 (en) | History FIFO with bypass | |
US20060294343A1 (en) | Realtime compression of microprocessor execution history | |
US20060277444A1 (en) | Recordation of error information | |
KR102346253B1 (en) | Track processing activity | |
US20060070039A1 (en) | Address watch breakpoints with basing pointers | |
US7051237B2 (en) | Program-controlled unit | |
US8027829B2 (en) | System and method for integrated circuit emulation | |
JP2008123130A (en) | Coverage measurement method and device and tracing method and device for module | |
CN118672811A (en) | Program abnormality analysis method, device, electronic device and storage medium | |
WO2023091377A1 (en) | Logging burst error information of a dynamic random access memory (dram) using a buffer structure and signaling | |
JP2001265619A (en) | Data trace method | |
JPH08274840A (en) | Communication fault information managing method and communication equipment | |
WO2006078790A2 (en) | Software breakpoints for use with memory devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: ATMEL CORPORATION, CALIFORNIA Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:PEDERSEN, FRODE MILCH;ARSETH, ARE;REEL/FRAME:016677/0226 Effective date: 20050527 |
|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |
|
AS | Assignment |
Owner name: MORGAN STANLEY SENIOR FUNDING, INC. AS ADMINISTRATIVE AGENT, NEW YORK Free format text: PATENT SECURITY AGREEMENT;ASSIGNOR:ATMEL CORPORATION;REEL/FRAME:031912/0173 Effective date: 20131206 Owner name: MORGAN STANLEY SENIOR FUNDING, INC. AS ADMINISTRAT Free format text: PATENT SECURITY AGREEMENT;ASSIGNOR:ATMEL CORPORATION;REEL/FRAME:031912/0173 Effective date: 20131206 |
|
AS | Assignment |
Owner name: ATMEL CORPORATION, CALIFORNIA Free format text: TERMINATION AND RELEASE OF SECURITY INTEREST IN PATENT COLLATERAL;ASSIGNOR:MORGAN STANLEY SENIOR FUNDING, INC.;REEL/FRAME:038376/0001 Effective date: 20160404 |