Trace and debug method and system for a processor
Abstract
A trace and debug method and system for a processor. The method includes the steps: (A) monitoring a program counter (PC); (B) determining if a processor core executes non-successive instruction in accordance with an address data of the program counter; (C) producing a trace break event in order to set the processor core to enter a debug mode if the processor core executes a non-successive instruction; (D) fetching a value of the program counter and a state of the processor core; and (E) sending the value and the state to a host to accordingly form a trace and debug message with respect to the processor core.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 8.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A trace and debug system for a processor, the processor having a processor core, a cache, a bus interface unit (BIU) and a timer, the processor core having a normal mode, a debug mode and a program counter (PC) to record a subsequent instruction address, the cache being coupled to the processor core through an address bus and a data bus, the BIU being coupled with the cache and a main memory, the timer being connected to the processor core to offer a timer function to an operating system for performing a context switch, the system comprising: a trace monitor, which is connected to the program
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (8 of 8 total)
References Cited — Backward Prior Art (5)
Non-Patent Literature (1)
- Vranken. "Debug facilities in the TriMedia CPU64 architecture." Test Workshop, Proceedings. May 25-28, 1999.