Bus Blaster urJTAG guide

From DP

Jump to: navigation , search

Bus-blaster-v2-inuse .jpg

Contents

Download

Setup

  1. Install a driver (libUSB or FTDI drivers)
  2. Connect the Bus Blaster to a USB port
  3. Connect the Bus Blaster to a target board
  4. Power the target board

Configuration

Busblaster-urjtag-section.png

In a terminal type:

jtag

to start urJTAG, then test the Bus Blaster's internal CPLD:

>cable ft2232 pid=0x6010 vid=0x0403 interface=1
>detect
 IR length: 8
 Chain length: 1
 Device Id: 00000110111000011100000010010011 (0x06E1C093)
  Manufacturer: Xilinx (0x093)
  Part(0):      xc2c32a-vq44 (0x6E1C)
  Stepping:     0
  Filename:     /usr/share/urjtag/xilinx/xc2c32a-vq44/xc2c32a-vq44

Finally perform a JTAG chain scan on a target device:

>cable ft2232 pid=0x6010 vid=0x0403 interface=0
>detect

Adding a new device to urJTAG

Urjtag-bbv2-add-part.png

The xc2c32a_vq44 is unknown to urJTAG's default install. To program it we need to give urJTAG the BSDL file for the part. XILINX bsdl files are included with ISE, and can also be downloaded from various sites (e.g., [1]).

  • Grab the BSDL file for the part (xc2c32a_vq44.bsd)
  • Put it in an easy-to-type folder location (c:\bsdl, for example)
  • Start urJTAG and setup your cable (cable jtagkey, for example)
jtag> bsdl path c:\bsdl
  • Tell urJTAG where to search for BSDL files with the path command
  • Now the device is recognized by a DETECT command

Running an SVF

Urjtag-bbv2-program.png

SVF files erase/program/verify CPLDs and FPGAs (and some others). They tell urJTAG how to twiddle the JTAG pins, and what output to expect.

  • Put the SVF in an easy-to-type folder location (c:\svf, for example)
  • Start urJTAG and setup your cable (cable jtagkey, for example)
jtag> svf c:\bbv2.svf stop progress
  • Run the svf command
    • stop halts on errors
    • progress shows the progress (seems to always end short of 100%)
  • The SVF file plays, this screenshot shows the Bus Blaster v2 successfully programmed

Reference