- 1 XJEase and XJDeveloper Tutorial
- 2 Running the XJDemo version 2.0 demo on the XJDemo version 1.2 card
- 3 Additional resources
XJEase and XJDeveloper Tutorial
You should run the tutorial at Program Files> XJTAG 3.5 > Help > XJEase and XJDeveloper tutorial. The program this tutorial is designed for is called XJDeveloper 3.5. This tutorial assumes you have a version 3.1 of the XJDemo board. In the help folder there is a turtorial.zip file with the files you're going to use. Unzip this to a new folder for your project.
Below are pictures of versions 1.2 and 2.0 of the XJDemo board side-by-side so you can identify which you have. The main identifying feature of version 2.0 is its blue thumbwheel. On the 3.1 version you will see the name written on the card.
Running the XJDemo version 2.0 demo on the XJDemo version 1.2 card
We are using version 1.2 XJDemo board (most likely version 1.2). The main functional differences are:
- The RAM circuit is a Holtek HT6116 2Kx8 bit as opposed to the BS62LV256SC on the v2.0 board. Refer to the schematic for the pinmapping for page 11 of the tutorial.
- The ADC is not available on the v1.2 board
- The jumper between the Altera and Xilinx device is not present on the v1.2 board
You can download the modified tutorial files from here.
The tutorial aims to give you an understanding the process of creating an XJEase test system for a circuit, and the XJEase design philosophy. The tutorial can be navigated through the "Previous", "Home" and "Next" buttons at the top and bottom of each page in the tutorial. The structure of the tutorial is as follows:
The tutorial begins with a description of the XJDemo board and links to the data sheets for each of the components in the circuit.
Creating the project file
You will use XJDeveloper to create an XJEase description of the XJDemo board. This section explains how the various pieces of information are used, and what information can be gained from XJTAG automatically while creating the project file.
Running the connection test
We run a connection test and demonstrate various types of error detection using the XJDemo board.
Simple device testing
We create simple scripts to test the push buttons and LEDs. This illustrates the simplicity of programming in the XJEase language.
More complex device testing
We test the memory device, by creating a script that contains the read and write cycles for the device, along with a simple memory test that uses these functions.
Using a standard memory test and some standard IIC interface code, we quickly create some tests for the BS62LV256 static RAM and the EEPROM.
The demo script is analysed to check the coverage of the test code and find out where extra tests need to be applied to improve the testability of the board.