2.12.8.1 Search in the instruction level

Search for the trace data at the instruction level.

Select the [Instruction Level] tab and then follow the steps below.

Caution

When you search for the trace data at the instruction level, the display mode must be set in the Trace panel to the Mixed display mode or Disassemble display mode.

Figure 2.121

Search Trace Data in Instruction Level

(1)

Specify [Fetch Address]

Specify the fetch address if it is a required search parameter.

You can either type address expressions directly into the text boxes, or select it from the input history via the drop-down list (up to 10 items).

The fetch address can also be specified as a range. In this case, specify a range by specifying address expressions in both the left and right text boxes.

If the right-hand text box is blank or contains the text [(Input when range is specified)], then the fixed address specified in the left-hand text box will be searched.

Note that if an address value greater than the microcontroller address space is specified, the upper address value is masked.

An address value greater than the value expressed within 32 bits cannot be specified.

(2)

Specify [Mnemonic]

Specify the mnemonic if it is a required search parameter.

The specified character strings in this area is searched within the [Source/Disassemble] area of the Trace panel.

You can either type a mnemonic directly into the text boxes, or select one from the input history via the drop-down list (up to 10 items).

Searches are case-insensitive, and partial matches are also allowed.

(3)

Specify [Access Address]

Specify the access address if it is a required search parameter.

You can either type the address value directly into the text boxes (in hexadecimal number), or select it from the input history via the drop-down list (up to 10 items).

The access address can also be specified as a range. In this case, specify a range by specifying address expressions in both the left and right text boxes.

If the right-hand text box is blank or contains the text [(Input when range is specified)], then the fixed address specified in the left-hand text box will be searched.

Note that if an address value greater than the microcontroller address space is specified, the upper address value is masked.

An address value greater than the value expressed within 32 bits cannot be specified.

(4)

Specify [Access Status]

This item is only enable if a value for Specify [Access Address] is specified.

Select the access type (Read/Write, Read, Write, Vector Read and DMA) from drop-down list.

Select [(No Specification)] if you do not wish to limit access types.

(5)

Specify [Data]

This item is only enable if a value for Specify [Access Address] is specified.

Specify the access data.

You can either type the data directly into the text boxes (in hexadecimal number), or select it from the input history via the drop-down list (up to 10 items).

The data can also be specified as a range. In this case, specify a range by specifying data in both the left and right text boxes.

If the right-hand text box is blank or contains the text [(Input when range is specified)], then the fixed data specified in the left-hand text box will be searched.

(6)

Specify [Number]

Specify the range within the trace data to search via the number displayed in the [Number] area of the Trace panel.

Specify the starting number in the left text box, and the ending number in the right text box ("0" to "last number" are specified by default).

You can either type the numbers directly into the text boxes (in base-10 format), or select them from the input history via the drop-down list (up to 10 items).

If the left-hand text box is left blank, it is treated as if "0" were specified.

If the right-hand text box is left blank, it is treated as if the last number were specified.

(7)

Click the [Search Backward]/[Search Forward] button

When the [Search Backward] button is clicked, search is taken place in the order from the large number to small and the search results are shown selected in the Trace panel.

When the [Search Backward] button is clicked, search is taken place in the order from the small number to large and the search results are shown selected in the Trace panel.