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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

PRELIMINARY DATA<br />

Trigger functions 225<br />

Write DEBUG reset opcode to<br />

WPC.CPU_CTRL_ACTION<br />

NORMAL<br />

Normal speed<br />

DM_CLKOUT<br />

‘n’ clocks<br />

IN_RESET<br />

3.5 Trigger functions<br />

NORMAL<br />

Slow speed<br />

DM_CLKOUT<br />

Reset operation<br />

completes<br />

(‘n’ is approximately<br />

10 PP-bus cycles)<br />

STATUS0/<br />

STATUS1<br />

signals<br />

CPU fetching<br />

instructions<br />

DM_CLKOUT<br />

Figure 15: DEBUG reset (via write to WPC.CPU_CTRL_ACTION)<br />

<strong>SH</strong>-5 provides a trigger-in (DM_TRIN_N) and a trigger-out pin (DM_TROUT_N). These<br />

allow external analysis hardware (such as a logic analyzer) to control and monitor<br />

specific watchpoints.<br />

The trigger out pin can also be configured to provide external visibility of timing<br />

events (such as interrupt latency), and to detect internal states (such as trace buffer<br />

overflow).<br />

D R A FT<br />

Refer to Section 1.8.10: DM.TRCTL (trace/trigger register) on page 97 for details of<br />

the control register fields that determine the functions of the trigger-in and<br />

trigger-out pins.<br />

05-SA-10003 v1.0<br />

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

<strong>SH</strong>-5 <strong>System</strong> <strong>Architecture</strong>, <strong>Volume</strong> 3: Debug

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

Saved successfully!

Ooh no, something went wrong!