US20030192034A1

Trace device preventing loss of trace information which will be important in debugging

Claim Score by NHIP

Read claim 14, the broadest

Abstract

A comparator generates an event A when a value of a PC of a CPU matches a target address set in a target address register. If a trace is performed in a real-time trace mode in the initial state, an RS-FF is set by the generation of the event A and the trace will be performed in a full trace mode. Therefore, by setting a starting address of a subroutine for debugging in the target address register, the trace mode will be changed to the full trace mode when the CPU executes the subroutine, and thereby loss of trace information which will be important in debugging software can be prevented.

US20030192034A1, drawing sheet 1
Sheet 1 of 11

Term

Term ended

Projected expiry passed 4 December 2022, 3.8 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

17 claims: 3 independent, 14 dependent

  1. 1
    A trace device to generate trace information by switching between a full trace mode to generate trace information while stalling a processor, and a real-time trace mode to generate trace information while not stalling said processor, comprising:an event unit generating an event when a predetermined condition is met;and a trace unit detecting generation of said event and generating trace information by switching between said full trace mode and said real-time trace mode.
  2. 12
    A trace device to generate trace information of a processor by switching a trace mode to one of a branch trace mode, a data trace mode and a mixed trace mode, comprising:an event unit generating an event when a predetermined condition is met;and a trace unit detecting a generation of said event and generating trace information by switching to one of said branch trace mode, said data trace mode and said mixed trace mode.
  3. 14
    Broadest claimClaim Score 81, broad(NHIP)A trace device to generate and output trace information of a processor, comprising:an event unit generating an event when a predetermined condition is met;and a trace unit detecting a generation of said event and generating trace information after determining whether to generate the trace information in an absolute address or in a relative address.