Revision as of 00:02, 1 November 2011 by LetoThe2nd (talk | contribs)
Jump to: navigation, search

The Flyswatter JTAG board is a low cost USB based JTAG programmer for the Hammer CPU board. It can be used with all ARM processors that are supported by OpenOCD. It is based upon FTDI's popular FT2232 USB UART/FIFO IC. The Flyswatter provides a standard JTAG interface as well as a standard RS232 port with support for full modem signals.


available from TinCanTools


  • USB 2.0 Full Speed device (12 Mbits/sec) interface
  • Can be used to debug and program all ARM processors supported by OpenOCD
  • Provides a standard 2x7 pin JTAG interface
  • Adds a virtual RS232 serial port to your computer or laptop with full modem signals: TXD, RXD, RTS, CTS, DTR, DSR, DCD, RI
  • Supports ARM target voltages of: 3.3V, 2.5V, 1.8V, 1.5V, 1.2V (voltage range: 1.2V to 3.6V)
  • Adds a virtual RS232 serial port to your computer or laptop with all of the modem signals: DTR, DSR, DCD, RTS, CTS, Rx, Tx
  • No external power supply required – it runs off of the USB voltage from the computer
  • Open hardware – complete schematic provided
  • Open software - software supported by OpenOCD (open source) debugger
  • Included CD comes with OpenOCD for Linux
  • Dimensions: 2.5 inches (width) x 3.0 inches (height)
  • Package Includes: Flyswatter board, USB Cable, 8 inch JTAG ribbon cable (14 pin - 2x7)


Source Code:

available from TinCanTools

Devices that have been tested:

  • Hammer: Supported by the software kit/tools that come with the Hammer
  • NSLU2: requires a JTAG connection to be added to the NSLU2 and nslu2.cfg, nslu2.ocd and Debug_handler.bin files. You can use these samples, but may need to edit the nslu2.ocd as appropriate.
  • Zipit Z2: requires soldering directly to the Z2 board, and using z2.cfg and following this how-to.


TinCanTools has a new JTAG debugger at Flyswatter2 that has support for OpenOCD and ARM Cortex A8 processors: OMAP3530 BeagleBoard and DM3730 BeagleBoard-xM. The Flyswatter2 is 5 to 10 times faster than the original Flyswatter.

They also have a ARM20TI14 JTAG Adapter. This JTAG adapter board works with the BeagleBoard and BeagleBoard-xM.

The Flyswatter2 can be used with OpenOCD (Beagle (OMAP3xx) support is complete).

To use the Flyswatter2 under Ubuntu (and derivatives) without superuser rights, place this in /etc/udev/rules.d/60-flyswatter2.rules (or whatever name you like):

SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", \
SYSFS{idVendor}=="0403", SYSFS{idProduct}=="6010", MODE="0666"

Maybe it also works for the original Flyswatter, but not yet verified. If not, the idVendor and idProduct values must be adjusted.