SourcePoint Intel Help

Table of Contents

jtagtest

Test the target JTAG chain.

Syntax[

[result =] jtagtest([chain [, iterations [, test]]])

Where:

result

specifies a boolean 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.

chain

JTAG chain number  {0 | 1 | -1 = all (default)}

iterations

number of iterations (default =1)

test

{0-5 | -1}

Where the values of test are:

   0       is the target powered

   1       is the target currently held in reset

   2       return total IR length of the JTAG chain

   3       scan JTAG ID codes

   4       test JTAG integrity

   5       test for adaptive TCK

  -1       run all tests except adaptive TCKI

Discussion

The jtagtest command tests the target JTAG chain.  Normally it is run with no arguments which does a complete JTAG test.  A return value of TRUE indicates the test passed.  

Advanced: Tests that return values (e.g., IR length and scan ID codes) require the user to look in the Log window for results.  The value of aalog should be 0x20987.

Examples

Command Input:

jtagtest( )            // run all JTAG tests

Result:

TRUE                   // tests passed

Command Input:

jtagtest(0, 1, 1)     // check if the target is being held in reset

Result:

TRUE                 // test succeeded (target is not held reset)

Related Topics