Bus Blaster v2 design overview

From DP

Revision as of 00:05, 24 March 2011 by Lynn (Talk | contribs)
Jump to: navigation , search
Project Summary
Name: Bus Blaster v2 design overview
Buy it: [ Get one for $35 at Seeed Studio]
Price: $35
Status: Test production
Manufacturing: Testing
Forum: Bus Blaster v2 design overview Forum
Busblaster-v2.jpg

You can get a [Bus Blaster v2 for $35]. Bus Blaster v2 is an experimental high-speed JTAG debugger design.

  • Based on FT2232H with high-speed USB 2.0
  • Buffered interface works with 3.3volt to 1.2volt targets
  • Reprogrammable buffer (CPLD) works with OpenOCD, urJTAG, and more
  • Compatible with 'jtagkey', 'KT-link', other programmer types
  • Should support Serial Wire Debug with KT-link compatible interface
  • Open source (CC-BY-SA)

Bus Blaster v2 is now available. Each unit is tested with a real JTAG target before it ships.

Read about the design below.

Contents

Overview

The Bus Blaster is used to program and debug devices with a JTAG interface like ARM processors, CPLDs, flash memory, and more.

It has a reprogrammable buffer that can imitate buffers supported by most popular open source JTAG utilities.

This project was developed in a public forum, and progress was documented on a wiki.

Hardware

Bus Blaster-v2-cct.png

Click for a full size schematic image. Schematic and PCB were designed with the freeware version of Cadsoft Eagle, download the latest project files from our Google Code project page.

FT2232H

File:Busblaster-v2-ft2232.jpg

The FT2232H is a powerful USB to serial communication chip. It has an MPSSE feature that provides a simple USB to JTAG converter (and UART, I2C, or SPI). Most DIY JTAG debuggers use this chip, as do many commercial models.

Bus Blaster v1 uses the 'H' version of the chip, the latest 3.3volt revision that supports JTAG adaptive clocking. The circuit is based on a reference design from the FT2232H datasheet.

We chose not to populate the optional EEPROM on Bus Blaster v1 in order to stay within our price goals. It is not required, and without it the FT2232 uses default settings.

Buffered interface

File:Busblaster-v2-buffer.jpg

The buffer translates voltage levels between the FT2232H (3.3volts) and a JTAG device (1.2volts-3.3volts). The buffer is the primary difference between the Bus Blaster and a plain FT2232H development board.

The buffer is powered by the target, 1.2volts to 3.3volts only
You must connect the target power supply to the JTAG VTG pin

Busblasterjtagcon-updated.png

The four main JTAG IO pins (TDI, TDO, TCK, TMS) are at fixed locations on the FT2232, but the other control pins vary among programmers.

Bus Blaster v2 uses a programmable logic chip (CPLD) that can be changed to imitate many common buffer types. The CPLD is connected to the secondary JTAG interface on the FT2232, so uploading a new buffer type is done entirely from software over USB.

When written, we had buffer logic compatible with:

  • JTAGkey
  • KT-link
  • All buffer logic

We brought the extra CPLD pins to a header. The Bus Blaster v2 can also be used as a simple CoolRunner-II CPLD development board.

  • JP4 can be used to power the target from the programmer, with up to 200mA of 3.3volts.
The buffer is NOT 5volt compatible.

Pinout

Outputs (Bus Blaster->target)
pin FT2232 pin description direction
TDIADBUS1 JTAG data in to targetoutput
TCK ADBUS0 JTAG clock in to targetoutput
TMS ADBUS3 JTAG state machine updateoutput
TRSTACBUS0 Reset outputoutput
TSRSTACBUS1 Bi-directional reset pinoutput
DGBRQACBUS4Debug request output
TDOADBUS2JTAG data out from target input
TSRST ADBUS6Bi-directional reset pin input
RTCKADBUS7 System return clock input
DGBACKACBUS5Debug acknowledge input
VTGADBUS5Voltage targetinput


PCB

File:Bus-blaster-v2-pcb-scan-490.jpg

We used the freeware version of Cadsoft Eagle to make the schematic and PCB. Download the latest designs and firmware from the project Google Code page.

Partslist

BusBlaster-v2-pcb-final.png

Click for a full size placement image.

caption
PartQuantityValuePackage
C1-C7,C13-C2116100nFC805
C813.3uFSMC_A
C9,C10227pFC805
C11,C12,C2234.7uFSMC_A
IC11FT2232HLQFP64
IC2193C46SOIC8
IC31LD1117-3.3SOT223
IC91XC2C32A_VQ44_2VQ44
JP111X06
JP211X09
JP311X05
JP411X02
JTAG1PINHEAD_-_COPY_PINSHRD_PTH_2X10
L1,L22FB805
PWR1CHIPLED_0805
R1112K 1%R805
R211KR805
R3,R4,R5310KR805
R612.2KR805
R101470R805
USB1CON-USB-MINI-BUSB1CONN_USB_MINI-B
X1112MHz4X6

Taking it further

The reprogrammable buffer logic should keep this programmer from going obsolete. Already we were able to add Serial Wire Debug support by creating a new buffer implementation.

A minor revision in the next batch has a few minor changes:

  • Jumper JP4 moved to edge of PCB
  • LED and button connected to CPLD for demos

An eventual point revision is planned with:

  • 3.3volt over voltage protection for the CPLD
  • Serial resistors on the JTAG pins

v3 may use a 100pin CPLD to include support for SWV, another reduced pin-count JTAG protocol.

Get one!

[Bus Blaster v2 is now available for $35]. Each unit is tested with a real JTAG target before it ships.

Your purchases at Seeed Studio keep the open source project coming, we sincerely appreciate your support!

Links

License

Hardware license: CC-BY-SA