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 protocols and interfaces 123<br />

Common trace message fields<br />

Common trace message fields<br />

Field<br />

Size<br />

Header<br />

<strong>bit</strong><br />

positions<br />

Description<br />

MESSAGE_TYPE 3-<strong>bit</strong>s [2:0] Defines the basic contents of the debug message as<br />

described in Section : First word of message on page 118.<br />

Only field values of 0b010 (DTRC background trace<br />

message) and 0b011 (DTRC trigger trace message)<br />

relate to trace messages.<br />

SOURCE_MODULE 3-<strong>bit</strong>s [5:3] Defines the on-chip source module which provides the<br />

information in the trace message a .<br />

Value - Description<br />

0: WPC (CPU watchpoint controller)<br />

1: <strong>SuperH</strong>yway bus analyzer<br />

2-7 - Reserved for watchpoint logic in additional CPU<br />

cores or future accelerator modules.<br />

EVENT_TYPE 5-<strong>bit</strong>s [10:6] Defines the watchpoint channel in the source module<br />

which generated the trace message. Refer to<br />

Table 4.1.6: Trace message header fields on page 247 for<br />

watchpoint channel numbers in the WPC and each of the<br />

bus analyzers.<br />

OVER_STALL 1-<strong>bit</strong> [11] This <strong>bit</strong> has two meanings depending on whether the<br />

stall-mode field of DM.TRCTL selects CPU stall mode or<br />

discard mode. See Table 31: DM.TRCTL definition on<br />

page 97.<br />

In stall mode, this <strong>bit</strong> is set when the CPU was stalled for<br />

some indeterminate time prior to this trace message being<br />

generated because there was no space available in the<br />

debug module FIFO.<br />

In discard mode, this <strong>bit</strong> is set to indicate that one or more<br />

watchpoint hits before this hit were discarded because<br />

there was no space available in the capture buffer.<br />

D R A FT<br />

Table 40: Common trace message fields<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!