This is an old revision of the document!
Programming an FPGA Board with the Analog Discovery Pro (ADP3450/ADP3250)
This page is under construction.
This guide walks you through the steps required to load a previously created bit file to your Digilent FPGA board with the Analog Discovery Pro. Creating the bit file is out of the scopes of the current guide.
Inventory
Hardware
- a FAT/FAT32 formatted USB drive
Software
- Adept Utilities for Linux ARM-Raspberry Pi
- Tera Term, or any other terminal emulator of your choice
Installing the Adept Utilities
Download and copy the Adept Utilities to the USB flash drive. Select Linux ARM-Raspberry Pi as the operating system.
Copy your bit file to the USB flash drive as well, then insert the drive into the back of the Analog Discovery Pro.
Open the terminal emulator on your PC and connect to the ADP. Find the USB device path. It should look like /dev/sd<drive letter><partition number>. This guide will use /dev/sda1 in its text and images, and care must be taken to match the drive letter and partition number of your USB drive.
sudo fdisk -l
Make the drive contents accessible by entering the following command:
sudo mount /dev/sda1 /mnt
Navigate to the USB's directory:
cd /mnt
Now install the Adept Utilities with:
sudo dpkg -i digilent.adept.utilities_2.4.1-armhf.deb
Don't forget to change the name of the file according to the downloaded program version.
Loading the Bit File
Plug in your Digilent FPGA board into the back of the Analog Discovery Pro, then list the available devices by typing the following command:
djtgcfg enum
Find the programmable JTAG devices (FPGA chip) by typing:
djtgcfg init -d <DeviceName>
Don't forget to change the device name according to your board. In this case the device name is CmodS6.
In this case there is only one programmable chip, with index 0. If your board contains more programmable chiips, note the index of the one you want to upload the bit file to.
Next Steps
For more guides and example projects for the Analog Discovery Pro, check out its Resource Center.
For technical support, please visit the Digilent Forum.