Acquiring Code Coverage; Opening The [Code Coverage] Window - Renesas SH-4A User Manual

Microcomputer development environment system
Hide thumbs Also See for SH-4A:
Table of Contents

Advertisement

5.11

Acquiring Code Coverage

The emulator acquires code coverage information (C0 coverage) from the address range specified
by the user and displays the results.
Notes: 1. The information on the executed delay slot cannot be acquired.
2. Be sure to set the following when using the code coverage function:
• [Acquisition] dialog box that is opened by selecting [Set] from the popup menu of
the [Trace] window:
[Trace type]: Select [AUD Trace].
[Trace Extend Mode]: Uncheck the [Trace data with PPC] check box.
• Ch12 of the [Eventpoint] window:
[Branch event] sheet: check all the branch conditions.
[Action] sheet: Check [Acquire trace].
These settings above are default when the emulator is activated.
3. In this function, the data that is output by AUD trace is used. Accordingly, when the
emulator is used in realtime trace mode, the trace data may be lost and the code
coverage information will not be collected normally. In such a case, it is recommended
to use the emulator in non-realtime trace mode.
By default, the emulator is activated in realtime trace mode.
5.11.1

Opening the [Code Coverage] Window

Select [View -> Code -> Code Coverage...] or click the [Code Coverage] toolbar button (
following dialog box opens when the coverage function is used for the first time after initiation of
the emulator.
Figure 5.104 [Coverage Acquisition Range Setting] Dialog Box
278
). The

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh4al-dspE200f

Table of Contents