Bus Blaster v2 manufacturing resources

From DP

Revision as of 08:51, 20 June 2011 by Ian (Talk | contribs)
Jump to: navigation , search

Contents

Setup

Download and install the drivers:

Download and install urJTAG:

Download the CPLD implementation:

Programming the CPLD with urJTAG

Bus Blaster v2 can program the CPLD itself using our patched version of urJTAG. Hopefully our patches will be included in an official release soon.

Patched urJTAG

We patched urJTAG to allow the Bus Blaster v2 to self-program. Follow these steps to setup:

  1. Download and install UrJTAG
  2. Copy the patched .exe file (urjtag-revXX.exe) to the install location (C:\Program Files\UrJTAG)
  3. Copy \bsdl and \svf to c:\, or see the notes section below.

Program

Patched-urjtag-full-program-bbv2-v1.png

In this step we load the CPLD with the buffer logic.

First, start the patched urJTAG by running the patched exe file (urjtag-revXX.exe) and connect Bus Blaster v2 USB to a computer.

jtag> cable ft2232 interface=1
Connected to libftd2xx driver.
jtag>

Select the Bus Blaster programmer.

jtag> bsdl path c:/bsdl
jtag>

Copy the xc2c32a.bdsl file to a directory and tell urJTAG where to find it.

jtag> detect
IR length: 8
Chain length: 1
Device Id: 00000110111000011100000010010011 (0x06E1C093)
Filename:     c:/bsdl/xc2c32a_vq44.bsd
jtag>

Enumerate the devices.

jtag> svf c:/svf/bbv2.svf progress stop
Parsing    660/663 ( 99%)
Scanned device output matched expected TDO values.
jtag>

Copy the .SVF file to a directory. Run the Bus Blaster v2 SVF file. Show progress, stop on errors.

For multiple units:

  1. Press the up arrow once to display the last svf command
  2. Press enter to repeat the final step

Notes

  • The cable type for the self-program connection is FT2232, option interface=1 targets the CPLD
  • Our patched version of urJTAG requires path names with / instead of \
  • Copy the bsdl file to c:\bsdl, or change the location in the bsdl path command
  • Copy the bbv2.svf file to c:\svf, or change the path in the svf command

Hardware selftest

Bbv2-manufacturing-test-self-test.png