Running XJTAG Tests From Leonardo

Before any integrated tests can be run, the Leonardo files need to be imported into the XJDeveloper project. For details on the Leonardo files required, as well as configuring any probes used for power and ground signals, see Edit SPEA information.

Once Leonardo files have been imported, XJTAG tests can be run from an XJPack file through SPEA's Leonardo software as part of a test program. Running tests from Leonardo is required for projects which import SPEA ICT machine information in order to utilise the ICT machine for testing.

Instructions for how to include running XJTAG tests in a Leonardo test program can be found in the SPEA Leonardo help.

It is possible to configure options for running tests by creating a file named XjtagConfig.ini file, in the directory <Leonardo project dir>\PROGRAM\XJTAG.

Sample Configuration File


#
# XjtagConfig.ini configuration file [sample]
#
[RunningTests]
ContinueOnTestFailure=True
DisplayFullConnectionTestOutput=True
DatalogFailuresOnly=False
[XJLinks]
Site1=10001
Site2=10002
Site3=10003
Site4=10004
[Pinmap Overrides]
Site1=OverridePinmap1.xjpm
Site2=OverridePinmap2.xjpm
Site3=OverridePinmap3.xjpm
Site4=OverridePinmap4.xjpm

Each key is optional. If it doesn't exist in the file then its default value will be used. If the setting is available from XJDeveloper, the default value will be obtained from the project.

If this file does not exist, defaults values will be used for all settings.

Settings

Section Key Description Accepted Values and Format Default Value
RunningTests ContinueOnTestFailure Toggles whether or not testing should continue after a test has failed. 'True' if testing should continue after a failure, 'False' if it should stop. True
RunningTests DisplayFullConnectionTestOutput Toggles whether or not details of all errors found by the connection test should be listed in the SPEA test report. 'True' to list all errors, 'False' to just print the number of errors found. 'False' if the Default Error Detail Level in the Connection Tests Settings in the XJDeveloper project is set to None, else 'True'
RunningTests DatalogFailuresOnly Toggles whether or not output is written to the Leonardo datalog when tests pass (output is always written to the datalog when tests fail). 'True' to write to the datalog only when at least one test has failed, 'False' to print to the datalog regardless of test results. 'True'

The following settings are optional and only applicable to multi-site setups (i.e. multiple cores or multiple sites per core).

Section Key Description Accepted Values and Format Default Value
XJLinks SiteX Sets the XJLink to use for site X. The serial number of an XJLink. If no value is provided, then the XJLink used to test the board at site X is determined by the value of the XjtagSn field in Leonardo's HwSetup.ini file for the current core. If no value is given there, then the first available XJLink is used.
Pinmap Overrides SiteX Sets the pin mapping that will be applied when testing the board at site X. The path of the pin mapping file to use. This must be a file that is included in the XJPack file (if not the project pin mapping, then the file should be included as an additional file). If no value is provided, then the project pin mapping will be used.