SourcePoint Intel Help

Table of Contents

idcode

Display the boundary scan idcode for a device.

Syntax

[result = ][[px]] idcode [(device-number)]

Where:

[px]

is a viewpoint override, including punctuation ( [ ] ), specifying that the viewpoint is temporarily set to processor x of the boundary scan chain.ย  The processor can be specified as px (where x is the processor ID), or an alias you have defined for a given processor ID.ย  ALL cannot be used as a viewpoint override.

device-number

is the zero-based position of the device in the scan chain.

result

specifies an ord4 debug variable to which the function return value is assigned. If result is not specified, the return value is displayed on the next line of the screen.

Discussion

Use the idcode command to display the boundary scan idcode for a device. By default, this command displays the viewpoint processor's idcode. If the device number is specified, the idcode of that particular device is displayed. If both viewpoint override and device number are entered, the viewpoint override is ignored. If an invalid device number or processor override is entered, an error message is displayed.

Example 1

To display current viewpoint processor idcode:

Command input:

idcode

Result:

082E1013H

Example 2

To display a particular device's idcode (in the following example, the idcode of device 1 in the boundary scan chain is displayed):

Command input:

idcode(1)

Result:

084C5013H

Example 3

In the following example, the idcode of the viewpoint processor is assigned to a debug variable.

Command input:

define ord4 vpID = idcode

vpID

Result:

082E1013H

ย 

ย