25.02.2015 Views

SuperH (SH) 64-bit RISC Series SH-5 System Architecture, Volume ...

SuperH (SH) 64-bit RISC Series SH-5 System Architecture, Volume ...

SuperH (SH) 64-bit RISC Series SH-5 System Architecture, Volume ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

PRELIMINARY DATA<br />

14 Key concepts<br />

1.1.7 Performance counters<br />

A number of CPU based events can be setup to increment a number of performance<br />

counters. These can be used to count ar<strong>bit</strong>rary debug events from the CPU and the<br />

bus analyzers.<br />

CPU performance monitor channels are also available which allow a number of<br />

distinct CPU states (cache hits/misses, interrupts taken) to be observed.<br />

1.2 Key concepts<br />

Note:<br />

This section defines some key concepts and mechanisms associated with the debug<br />

system.<br />

The following “shorthand” terms are used throughout this document:<br />

• WPC - watchpoint controller.<br />

• DM - debug module.<br />

• BA - bus analyzer.<br />

• WP - watchpoint. Used as in “WP channel”.<br />

Some WP channels are implemented in the WPC, others are implemented in the<br />

debug module or the bus analyzers.<br />

1.2.1 <strong>SH</strong>debug link<br />

The <strong>SH</strong>debug link is one of the two debug interfaces which can be selected for<br />

target/tool communications. It provides a full-duplex interface, with a 1-<strong>bit</strong> wide<br />

input path, and a 4-<strong>bit</strong> wide output path. It is implemented as part of the debug<br />

module (Section 1.9: Debug protocols and interfaces on page 118). The design of this<br />

module allows the width of the output data path to be increased to meet the<br />

debugging bandwidth needs of different applications.<br />

D R A FT<br />

<strong>SuperH</strong>, Inc.<br />

<strong>SH</strong>-5 <strong>System</strong> <strong>Architecture</strong>, <strong>Volume</strong> 3: Debug 05-SA-10003 v1.0

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!