XJProbe
XJProbe allows an XJLink-PF series controller to be used with a probe to measure the analogue voltage at a point on the circuit under test, in the same way as a multimeter. The voltage is read by the XJLink and displayed in XJTAG software, so additional test equipment such as a digital multimeter is not needed to find out what is happening electrically on a net.
This page gives an overview of the XJProbe hardware and how it is used with XJTAG software.
How XJProbe works
The probe is connected to an XJLink-PF connector through an XJProbe adaptor board, which sits between the connector and the circuit under test. The XJProbe adaptor board routes pin 19 of the connector to the tip of the probe, and ground to the probe's ground. The voltage on pin 19 is used as an analogue input and is read back by the XJLink, so the probe can be used to measure the voltage at a point on the circuit under test.
Boundary scan can control and monitor the digital state of the JTAG-enabled pin on a net, but not what is happening elsewhere on the net. Because the XJLink reads the voltage from the probe directly, the measured voltage can be shown alongside the digital values of the JTAG pins being investigated. This is intended to help diagnose faults found by the connection test, such as open circuits.
Requirements
- XJProbe can only be used with XJLink-PF series controllers (XJLink-PF20 and XJLink-PF40). It is not available for XJLink2 or FTDI pin mappings.
- The probe uses pin 19 of an XJLink-PF connector, so that pin must not be used for any other purpose in the pin mapping. If the XJLink has more than one connector, the XJProbe can be attached to any of them.
- The maximum voltage that can be measured is 3.3 V, which is a limit of the XJLink-PF controller. Probing nets at higher voltages is not supported.
Analogue Input pins
To read a voltage, pin 19 of the connector the probe is attached to must be set up as an Analogue Input pin. This is a pin type in the pin mapping which is only available for pin 19 of an XJLink-PF connector. Pins of this type are read, rather than driven, so they never affect the circuit under test.
How pin 19 is set up as an Analogue Input is described in Configuring XJProbe.
Pins that are already set to PIO can also be read as analogue values by Analyser, so if pin 19 is already configured as a PIO it can be used with an XJProbe without being changed to an Analogue Input. This is useful if the pin is already being used by XJEase code, since changing its type could break those references. Unlike an Analogue Input, a PIO can be driven, so make sure that the pin is not driven while the probe is attached to the circuit under test.
Viewing voltages
The voltage measured by an XJProbe is shown in the Pin Watch window of Analyser. Analogue Input pins can be added to the Pin Watch in the same ways as other pins, and can also be added directly from the Pin Mapping tab using the Add to Pin Watch button in the Pin Details panel. The button is only shown when the XJLink currently connected is of the same type as the pin mapping being edited. Pins which are not analogue inputs have no voltage reading.
Configuring XJProbe
Configuring an XJProbe means assigning pin 19 of the XJLink-PF connector it is attached to as an Analogue Input. This is normally done using the Configure XJProbe dialog, which can be opened in three ways:
- By clicking the Configure XJProbe button on the toolbar of the Pin Mapping tab.
- By right-clicking a connector in the connector map on the Pin Mapping screen and choosing Configure XJProbe.
- By choosing Debug fault in Analyser for a connection test fault, as described below. The dialog is shown if no pin on the XJLink is already set up as an XJProbe input.
Alternatively, pin 19 can be assigned manually by choosing Analogue Input as the Type of the pin in the Pin Mapping tab, in the same way as any other pin type.
The Configure XJProbe dialog is used to choose which XJLink connectors have an XJProbe attached. In the dialog:
- Selecting a connector sets pin 19 of that connector to Analogue Input.
- Deselecting a connector that was previously an Analogue Input sets pin 19 back to Input.
- If pin 19 is currently assigned to something other than Input, a confirmation is shown before it is reassigned. Choosing No leaves the pin as it was.
- Connectors where pin 19 is already a PIO are shown as selected, but cannot be changed in the dialog. They can already be watched in Analyser, as described above.
Changes made in the dialog are applied to the pin mapping when OK is clicked.
Debugging connection test faults
XJProbe is integrated with the connection test results. Choosing Debug fault in Analyser from the context (right-click) menu of a connection test error adds the JTAG pins on the nets involved, and any Analogue Input pins set up to use XJProbe, to the Pin Watch. This allows the voltage measured by the probe to be viewed alongside the digital values of the JTAG pins. If no pin is yet set up to use XJProbe, the Configure XJProbe dialog is shown.
Notes
- The XJProbe reads a voltage only.
- XJTAG does not know the operating voltage (voltage domain) of the nets on the circuit under test, so it does not indicate where to probe or what voltage to expect at a given point.
- Projects which have Analogue Input or PIO pins in the Pin Watch require XJTAG v4.4 or later.
XJTAG v4.4.0
