background preloader

FPGA

Facebook Twitter

Zynq Linux - Xilinx Open Source Wiki. XILINX USB/Parallel JTAG cables on Linux without windrvr. About When using XILINX JTAG software like Impact, Chipscope and XMD on Linux, the proprietary kernel module windrvr from Jungo is needed to access the parallel- or usb-cable. As this module does not work with current linux kernel versions (> 2.6.18) a library was developed, which emulates the module in userspace and allows the tools to access the JTAG cable without the need for a proprietary kernel module. The library uses libusb to access USB devices and the ppdev interface to communicate with parallel cables. The parallel part currently only supports Parallel Cable III mode (and PCIV in PCIII compatibility mode) as the faster PCIV modes use another kernel module which is not emulated by this library.

So you are limited to a 200kHz JTAG clock when using Parallel Cable IV with this software. The USB cable is supported at full speed. Experimental support for FTDI 2232 based devices has been added. News Supported Cables Supported Software Download Links Michael Gernoth. Installing Xilinx 12.X in Ubuntu 10.04 — PetaLogix. Info Ubuntu is an increasingly popular Linux distribution, and is supported by PetaLinux SDK, however it is not an officially supported Linux distribution for Xilnx. This article describes how to install Xilinx 12.x tools and JTAG cable drivers, and how to get the ChipScope Pro utilities working correctly. Installing the Xilinx tools Complete the standard Xilinx procedure for installing their tools under Linux, except that when asked, you must CHOOSE NOT to install the JTAG cable drivers.

Xilinx JTAG cable driver installation Install the prerequisite packages for Xilinx cable drivers: # sudo apt-get install lib usb -dev libftdi-dev fxload The following steps assume a Xilinx tool installation directory - ${XILINX} - of /opt/pkg/xilinx/12.1/ISE_DS First, prepare to automate the USB cable firmware download (replace ${XILINX} with appropriate path) Now unplug the JTAG cable and re-plug it. . # ls usb Bus 002 Device 012: ID 03fd:0008 Xilinx, Inc. All done! ChipScope Pro tools Supporting tools. Shop. Shop. Embedded Projects. Low Cost FPGA Konfiguration. Einleitung[Bearbeiten] Wenn man FPGAs auf selbst entworfenen Platinen einsetzen möchte, stellt sich oft das Problem des Konfigurationsspeichers. Die meisten FPGAs sind SRAM-basiert und haben keinen nichtflüchtigen Speicher auf dem Chip bzw. im gleichen Gehäuse (Ausnahmen sind Spartan-3N von Xilinx, XP und XP2 von Lattice und die FPGAs von Actel in Antifuse-Technologie). Also muss irgendwie ein Speicher her.

Dazu gibt es mehrere Möglichkeiten. Dieser Artikel soll die letzte Methode näher beleuchten. Dabei wird ein FPGA vom Typ Spartan 2 von Xilinx sowie ein Mikrocontroller der AVR-Familie vom Typ Tiny12 von Atmel eingesetzt. FPGA Konfiguration mit Mikrocontroller[Bearbeiten] Für kleine bis mittlere FPGAs wird nur verhältnismässig wenig Konfigurationsspeicher benötigt. Schaltung[Bearbeiten] Die Schaltung ist recht einfach. Schaltplan des FPGA Konfigurators Programmierung des Mikrocontrollers[Bearbeiten] Die Programmierung des Konfigurationsprogramms erfolgt in Assembler. Nutzung[Bearbeiten] Boundary Scan Commands - OpenOCD User's Guide. One of the original purposes of JTAG was to support boundary scan based hardware testing. Although its primary focus is to support On-Chip Debugging, OpenOCD also includes some boundary scan commands. 19.1 SVF: Serial Vector Format The Serial Vector Format, better known as , is a way to represent JTAG test patterns in text files.

. — Command: svf[quiet] This issues a JTAG reset (Test-Logic-Reset) and then runs the SVF script from filename. 19.2 XSVF: Xilinx Serial Vector Format The Xilinx Serial Vector Format, better known as , is a binary representation of SVF which is optimized for use with Xilinx devices. Important: Not all XSVF commands are supported. — Command: xsvf (plain)[virt2] [quiet] This issues a JTAG reset (Test-Logic-Reset) and then runs the XSVF script from filename. The OpenOCD sources also include two utility scripts for working with XSVF; they are not currently installed after building the software. The input format accepts a handful of non-standard extensions. USBprog zusammen mit Xilinx Spartan3E? XilinxISE. Tweaks for getting Xilinx ISE (FPGA design software) working on Ubuntu. I've used ISE 8.2.0.3i and 9.1i; 9.1i is a lot slicker and currently use it on (pre-)Feisty.

The basic Xilinx installation worked for me; so this page just describes fixes for some of the issues. Some of the tools (e.g. the FPGA floorplanner & editor) don't start up. The fix for this (that I found on a Gentoo site) was to add: DISPLAY=:0 export DISPLAY to the top of the settings.sh file at the top level of the ISE installation. You also need the Motif libXm.so.3 file that can be found in the libmotif3 package. On Edgy make sure that you fix the font paths in your xorg.conf file - mine were broken after a dapper->edgy upgrade (e.g. if xfontsel won't start then you know you need to fix it - see bug 63408 ); without this fix I found the FPGA editor would quit soon after startup. If you receive the error: Try installing xfonts-100dpi, xfonts-75dpi. Notes to clean up.