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 />

Debug tool reset/suspend behavior 223<br />

3.4.3 CPU suspend function<br />

The DM_ISYNC signal has two functions. Its primary function is the synchronization<br />

pin for messages sent to <strong>SH</strong>-5 from a <strong>SH</strong>debug link-connected tool. Its secondary<br />

function controls CPU suspend state.<br />

At the end of a POWERON, MANUAL or DEBUG reset function, when NOTRESET is pulled<br />

high, the CPU can either start executing boot code or can enter a suspended state<br />

depending on the state of the DM_ISYNC signal sampled when NOTRESET goes from<br />

low to high. If DM_ISYNC is sampled low at the end of the reset phase, the CPU<br />

remains suspended on the assumption that various <strong>SH</strong>-5 registers will be loaded by<br />

a connected tool. At some later time, the tool will release the CPU from its<br />

suspended state by writing to the WPC.CPU_CTRL_ACTION register. If DM_ISYNC is<br />

sampled high at the end of the reset phase, the CPU starts executing boot code.<br />

This DM_ISYNC pin has an internal pull-up resistor to ensure that when no debug tool<br />

is connected to a debug connector, the CPU is not suspended at the end of reset.<br />

The CPU suspend function is also available to JTAG-connected tools. The JTAG<br />

debug header signal SUSPEND_ is an AC-decoupled version of the DM_ISYNC pin. Since<br />

DM_ISYNC is a high-speed signal used by the <strong>SH</strong>debug link, board-level products must<br />

include a series resistor between SUSPEND_ pin in the JTAG header and the DM_ISYNC<br />

pin. This resistor (of value around 1K ohm) must be located close to the DM_ISYNC pin<br />

to minimize the effect of the extra trace length on the printed circuit board. A bypass<br />

capacitor is also required.<br />

D R A FT<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!