JAVAKIT11 contains a few useful tools and libraries. It can be downloaded here.
The tools are built to run with Java 11. However, you do not need to install Java 11 as all you need is included in the package.
Several of these tools use the Digilent Adept DMGR, DEPP and DJTG APIs. Some documentation on a Java library built on top of the Adept APIs can be found here. You will need to install the Digilient Adept runtime environment. The installer adds an entry in /etc/udev/rules.d/52-digilent-usb.rules
but the syntax might need to be modified slightly for CentOS. The following two lines have been used successfully:
Only one of the programs described here may connect at the same time to the same USB target device. When you start one of these programs you will be asked to select the target from a list of enumerated devices therefore ensure that your target device is switched on before running the program. The device may not work properly on a USB3 (SS) port.
Unpacking JAVAKIT11.tgz will create a JAVAKIT
directory containing the utilities. Set the JAVAKIT
environment variable to point to the installation directory and source the setup script to define some command shortcuts:
JAVAKIT=path-to-javakit-dir
export JAVAKIT
source $JAVAKIT/javakit.rc
You may find it convenient to put the above lines into your login profile. You should now be able to run the following applications:
Application | Command | Description |
---|---|---|
JChimaera2Depp | deppcsr | Display configuration and status registers |
XilinxDjtg | xilinx | Program FPGA (volatile) |
JM25Pxx | flash | Program flash (non-volatile) |
This application is a debugging tool to read and display configuration and status registers that conform to the Digilent DEPP interface and DEPP.epp2
protocol.
You must provide an XML description of the layout of your registers. The name of this file must be derived from
the USB target name. So, for example, if the target name is trigger2
, the name of the register description file must be chimaera2-trigger2.xml
. Below is an example that describes two register maps with different base addresses.
This is a tool for programming a Xilinx series 6 or series 7 FPGA.
Use the Choose
button to select the file to load. Program files must be .bin
format. Select Load FPGA
to program the FPGA.
This tool can be used to program a compatible SPI flash memory attached to the FPGA provided the FPGA firmware contains the DEPP.m25p32
flash core.
On the main panel click RDID
then SHOW
.
Then do RDID/SHOW
again.
The last line in the status should start something like
ff006018ffff...
although the ID will depend on the specific flash part.
Now click Program
and select the .bin
file that you want to flash.
The progress window should say Erasing 1sec, 2sec, 3sec...
. This could
take 40 secs or even more. After that it will program the flash. Do not interrupt the process.
You can then exit the flash programmer, and power cycle the hardware to load the configuration into the FPGA.