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

Debug tool reset/suspend behavior 221<br />

Debug tool connected via JTAG<br />

A debug tool such as a Hitachi E20 connects to a <strong>SH</strong>-5 board-level product via a<br />

JTAG debug header. For debug tools such as a Hitachi E20, the RESET signal in the<br />

JTAG interface is an output from the target board which allows the tool to detect<br />

when a board-level reset function has occurred, for example, when a user has<br />

pressed the reset button.<br />

The E20 does not have the capability to initiate a POWERON, MANUAL or DEBUG reset<br />

via signals in the interface. However, the E20 can perform either a CPU reset or a<br />

DEBUG reset by writing to the WPC.CPU_CTRL_ACTION register. The E20 has some<br />

control over the type of reset performed by a board-level reset button. A RESET_MODE<br />

signal is assigned to an E20 pin not currently connected and this allows the tool to<br />

force a DEBUG reset when the reset button on the board is pressed.<br />

With an appropriate design of target board, the RESET signal in the JTAG debug<br />

interface could be bi-directional allowing the tool to initiate one type of hard reset,<br />

either POWERON, MANUAL or DEBUG depending on board-level jumpers.<br />

Signal Source Meaning<br />

TCK From tool JTAG clock<br />

TDI From tool JTAG data in<br />

TDO From <strong>SH</strong>-5 JTAG data out<br />

TMS From tool JTAG test mode select<br />

TRST From tool JTAG reset. The tap controller finite state machine is reset<br />

by TRST going low. This pin has no effect on other chip<br />

functions.<br />

RESET Bi-directional Tool can monitor this signal to detect when board-level<br />

reset is initiated.<br />

D R A FT<br />

SUSPEND From tool CPU suspend mode following reset, sampled at the rising<br />

edge of RESETP/RESETM. Refer to Section 3.4.3: CPU<br />

suspend function on page 223 for more details.<br />

Value - Description<br />

0: CPU remains suspended following reset<br />

1: CPU operates normally following reset<br />

Table 77: JTAG debug header signals<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!