Bus Blaster v2 manufacturing resources

From DP

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

Hint

cable ft2232 interface=1
bsdl path c:/bsdl
detect
svf c:/svf/st2.svf progress stop

Put the commands into a text file (in.txt) and run it from urJTAG as a script.

jtag> include ./in.txt
Connected to libftd2xx driver.
IR length: 8
Chain length: 1
Device Id: 00000110111000011100000010010011 (0x06E1C093)
 Filename:     c:/bsdl/xc2c32a_vq44.bsd
Parsing    660/664 ( 99%)
Scanned device output matched expected TDO values.
jtag>

Hardware selftest

Bbv2-manufacturing-test-self-test.png

The hardware self test is part of the factory jtagkey-compatible buffer shipped with the Bus Blaster v2. This mode allows testing all the connections between the FT2232 and CPLD, and CPLD to pin header.

Warning!!!
Ensure Bus Blaster is in test mode before running the test
Conflicting pin directions during the test could fry a chip
Test connections
PinA PinB
TRST TDI
TMS TCK
RTCK TDO
TSRST DBGRQ
P28/IO09GND
JP4JP4


  1. Unplug the Bus Blaster!
  2. Place a jumper on JP4. This powers the buffer from the main power supply
  3. Connect the pin headers as shown in the table. The P28/IO09 connection activates the test buffer
  4. Plug in the Bus Blaster
  5. Pin P19/IO15 will measure 3.3volts if the test mode is active
  6. Run the test utility .bat file
  7. The test reports success or fail
  8. Unplug the Bus Blaster before removing the connections
We highly recommend users upgrade to a non-selftest buffer immediately.