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.

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.

−

[[media:flyswatter.jpg]]

+

<!--[[Image:flyswatter.jpg]]-->

+

[[Image:640px-Flyswatter_OpenOCd_debugger.jpg]]

+

+

available from [http://www.tincantools.com/product.php?productid=16134&cat=0&page=1&featured TinCanTools]

[[Image:BeagleBoard_Adapter.jpg|150px|thumb|left|BeagleBoard JTAG Adapter]]'''BeagleBoard JTAG Adapter - '''This adapter converts the Flyswatter's JTAG interface into a standard TI 14-pin JTAG configuration. The package also includes a serial adapter board that converts the DB-9 Male connector located on the Flyswatter to a 10-Pin ribbon cable. This ribbon cable is used on the BeagleBoard Rev B/C boards to interface to the serial port. The 10-pin ribbon cable is included in the package.

The Flyswatter's serial port provides you with an independent functional "USB to RS-232" serial device. The serial port is completely independent from OpenOCD on both Linux and Windows. You can use the Flyswatter's serial port and never have to use OpenOCD or JTAG, or you can use it together with OpenOCD and have both a serial port and JTAG interface operating at the same time for debugging your target device.

+

+

For Linux, the RS232 driver for the FT2232 is part of the main kernel tree and is provided in most standard Linux distributions. In Windows, you have to load the Windows driver for the FT2232. Once the driver is loaded, Windows will assign a virtual COM port to the Flyswatter's serial port. It operates just like a standard COM port. You can use the Flyswatter's serial port on laptops or PC's that do not have a 9-pin legacy serial connector.

+

+

==Serial Port Interface==

+

+

You can use [[Minicom]] to communicate with the Flyswatter's serial port on Linux. See the [[Minicom]] page for setup instructions.

Documents:

Documents:

−

*

+

* [[media:jtag_pin_assignments.pdf|JTAG Connector Pin Assignments]]

−

JTAG Connector Pin Assignments

+

* [[media:flyswatter-schematic.pdf|Flyswatter schematic diagram]]

−

*

+

−

Flyswatter schematic diagram

+

Source Code:

+

+

*[[Media:openocd.tar.gz|OpenOCD Source]]

+

*[[Media:libftd2xx0.4.13.tar.gz|LibFTD2xx library files]]

+

+

available from [http://www.tincantools.com/product.php?productid=16134&cat=0&page=1&featured TinCanTools]

+

+

Devices that have been tested:

+

+

* [[Hammer_Board|Hammer]]: Supported by the software kit/tools that come with the Hammer

+

* NSLU2: requires a [[JTAG]] connection to be added to the [http://www.nslu2-linux.org/wiki/Info/PinoutOfJTAGPort NSLU2] and nslu2.cfg, nslu2.ocd and Debug_handler.bin files. You can use these [[Media:nslu2.tar.gz|samples]], but may need to edit the nslu2.ocd as appropriate.

+

* [http://zipit2system.sourceforge.net/ Zipit Z2]: requires soldering directly to the [[Media:z2jtag.jpg|Z2 board]], and using [[Media:z2cfg.cfg|z2.cfg]] and following this [[Media:jtag.z2.txt|how-to]].

+

+

==[[Flyswatter How To]]==

+

+

The [[Flyswatter How To]] and [[Flyswatter Windows How To]] guides show a new user how to connect the Flyswatter to the Beagleboard, and how to install and run [[OpenOCD]] and [[GDB Debugger]]. To reach the guide, follow the link in the section title.

+

+

== [[Flyswatter2]] ==

+

[http://www.tincantools.com/ TinCanTools] has a new JTAG debugger at [http://www.tincantools.com/product.php?productid=16153&cat=0&page=1&featured 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 [http://www.tincantools.com/product.php?productid=16154&cat=251&page=1 ARM20TI14 JTAG Adapter]. This JTAG adapter board works with the BeagleBoard and BeagleBoard-xM.

+

+

The Flyswatter2 can be used with [[BeagleBoardJTAG#Open_source_JTAG_software|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.

+

+

[[Category:TinCanTools]]

+

[[Category:Flyswatter]]

Revision as of 19:53, 17 April 2012

Contents

Introduction

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.

BeagleBoard JTAG Adapter - This adapter converts the Flyswatter's JTAG interface into a standard TI 14-pin JTAG configuration. The package also includes a serial adapter board that converts the DB-9 Male connector located on the Flyswatter to a 10-Pin ribbon cable. This ribbon cable is used on the BeagleBoard Rev B/C boards to interface to the serial port. The 10-pin ribbon cable is included in the package.

Serial Port

The Flyswatter's serial port provides you with an independent functional "USB to RS-232" serial device. The serial port is completely independent from OpenOCD on both Linux and Windows. You can use the Flyswatter's serial port and never have to use OpenOCD or JTAG, or you can use it together with OpenOCD and have both a serial port and JTAG interface operating at the same time for debugging your target device.

For Linux, the RS232 driver for the FT2232 is part of the main kernel tree and is provided in most standard Linux distributions. In Windows, you have to load the Windows driver for the FT2232. Once the driver is loaded, Windows will assign a virtual COM port to the Flyswatter's serial port. It operates just like a standard COM port. You can use the Flyswatter's serial port on laptops or PC's that do not have a 9-pin legacy serial connector.

Serial Port Interface

You can use Minicom to communicate with the Flyswatter's serial port on Linux. See the Minicom page for setup instructions.

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):