Bus Blaster v2 manufacturing resources

From DP

Revision as of 11:32, 11 January 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

Busblaster-v2-debug-manu.jpg

Connections

We used urJTAG and Bus Blaster v1 to program the CPLD in Bus Blaster v2. Hopefully Bus Blaster v2 will be able to program the CPLD itself, but urJTAG doesn't yet support the secondary JTAG channel on the FT2232.

programming connections
Bus Blaster V1 JTAG Bus Blaster v2 JP1
VTG 3V3
GND GND
TCK TCK
TDO TDO
TDI TDI
TMS TMS
  1. Plug in the Bus Blaster v1 USB to the programming computer
  2. Plug in the Bus Blaster v2 USB to a DIFFERENT computer (so the driver is not confused)
  3. Connect the Bus Blaster v1 JTAG header to the Bus Blaster v2 JP1 as shown in the table

Program

Bbv1-full-program-bbv2.png

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

jtag> cable jtagkey

Select the Bus Blaster programmer.

jtag> bsdl path c:\bsdl

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

jtag> detect

Enumerate the devices.

jtag> svf c:\svf\bbv2.svf progress stop

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

For multiple units, just repeat the final step.

Test the hardware

Connections

Bbv1-proto-test.jpg

We will chain scan the FPGA on the Logic Sniffer to verify the Bus Blaster functionality. You can use any simple FPGA, CPLD, or ARM development board for the test instead.

test connections
Bus Blaster JTAG Logic Sniffer JTAG
VTG 2V5
GND GND
TCK TCK
TDO TDO
TDI TDI
TMS TMS
  1. Connect the Bus Blaster to the Logic Sniffer as shown in the table
  2. Plug in the Bus Blaster USB
  3. Plug in the Logic Sniffer USB

Function test

Urjtag-bbv1-test-full.png

  • Start urJTAG
jtag> cable jtagkey
  • Setup the Bus Blaster interface with "cable jtagkey"
jtag> detect
  • Perform the chain scan with "detect"
  • urJTAG detects a Xilinx device, manufacturer unknown

Errors

jtag> detect
Warning: TDO seems to be stuck at 1

If the chip is not detected:

  • Check the JTAG connection
  • Make sure there are no other FTDI chips attached to the PC (urJTAG might attach to wrong programmer)