English
Language : 

SH7147 Datasheet, PDF (961/1108 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer SuperH™ RISC engine Family
Section 23 Advanced User Debugger (AUD)
23.3.8 Operation
Arbitrary values can be set to AUCSR, AUECSR, AUWASR, AUWAER, AUWBSR, and
AUWBER as the branch trace conditions, except that the EN bit in AUCSR should be set to 1.
The AUD supports the branch trace function and window data trace function, both of which can be
operated independently. Furthermore, real-time trace mode or full trace mode can be selected as
the mode to output the trace data obtained by this function.
(1) AUD Bus Command
The trace data obtained by the AUD is output in packet format synchronized with AUDCK
through the AUDATA[3:0] and AUDSYNC pins. A packet consists of a command part and a data
part comprising 0 to 17 data. Packets are continuously output from the AUDATA[3:0] pins.
Usually the command part consists of CMD1, which determines the packet type, and CMD2,
which indicates the data length in the packet. Other than that, a special packet that consists of only
CMD1 to show AUD status or a packet to which the command part of additional data is attached
also exists. The level of AUDSYNC is high when in the idle state and CMD1 is output from the
AUDATA[3:0] pin, and low when CMD1E, CMD2, or data is output. Details of commands are
shown in table 23.6.
Rev. 3.00 Oct. 06, 2008 Page 937 of 1080
REJ09B0230-0300