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

WP channel type PL 193<br />

Debug interrupt action registers<br />

In addition to the generic DM.WP_PLX_ACTION registers, the following registers<br />

provide additional functions associated with bus analyzer debug interrupts.<br />

DM.WP_PLx_EXCTRL<br />

where x = channel id<br />

Field Bits Size Volatile? Synopsis Type<br />

CBUF_FREEZE 0 1 ✓ Capture buffer status/freeze control RW<br />

Operation<br />

When read<br />

When written<br />

HARD reset 0<br />

Controls the bus analyzer capture buffer when debug interrupt is<br />

enabled. This register is set by hardware following a PL<br />

watchpoint hit when debug interrupt is enabled. Debug event<br />

handling software should read the contents of the capture buffer,<br />

and then finally clear the CBUF_FREEZE register.<br />

If PL debug interrupt is not enabled, the contents of this register<br />

are undefined.<br />

Returns 0 when the capture buffer is empty, 1 when it is frozen<br />

following a watchpoint hit resulting in a debug interrupt.<br />

Provides a write-1-clear function for clearing the capture buffer<br />

frozen state.<br />

Value - Description<br />

0: no action.<br />

1: clears the CBUF_FREEZE register if it had previously been set by<br />

hardware. No action if debug interrupt is not enabled or if this<br />

register is already clear.<br />

— [63:1] 63 — Reserved RES<br />

Operation<br />

Reserved<br />

When read Returns 0<br />

When written<br />

HARD reset 0<br />

D R A FT<br />

Ignored<br />

Table 68: DM.WP_PLx_EXCTRL register definition<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!