Template:FLYSWATTER2 BEAGLEBOARD CONNECT

From eLinux.org
Jump to: navigation, search

Connecting the Flyswatter2 and the Beagleboard

To hook up the Flyswatter2 and the Beagleboard, you will need:

  • Flyswatter2
    • USB Male A/Male B cable
    • 14-pin JTAG Ribbon Cable
  • Beagleboard
    • 5V1A Power Supply
  • Beagleboard Adapter Kit (product link)
    • 20-pin ARM to 14-pin TI JTAG Adapter Board
    • RS-232 Adapter Board
    • 10-pin Ribbon Cable


Set the EMU pins on the JTAG Adapter Board.

Ti adapter.png
The EMU0 and EMU1 pins should be set to 1. Set both jumpers to the position closest to the 14-pin interface, as in the picture.


Connect the JTAG Adapter Board to the Flyswatter2.

Fs2 ti adapter.png
Connect the 20-pin end of the adapter board to the Flyswatter2's JTAG interface.


Connect the 14-pin Ribbon Cable to the JTAG Adapter Board.

Fs2 ti jtag.png
Your cable most likely has a notch on the head to force it into the correct position. If it doesn't, align Pin 1 on the ribbon cable with the side of the board opposite the EMU pins. (In the picture, Pin 1 is marked by the red stripe on the cable.)


Connect the RS-232 adapter board to the Flyswatter2.

Take the RS-232 adapter board provided in the Beagleboard adapter kit, and connect it to the Flyswatter2's serial UART interface. Flyswatter2 ti rs232 adapters.png

Connect the 10-pin cable to the Flyswatter2.

The adapter board above allows you to connect the 10-pin ribbon cable in the Beagleboard adapter kit to the Flyswatter2. Do that now. Pay careful attention to the position of the red stripe. The red stripe should line up with the "1" printed on the adapter board, as in the picture below.

Fs2 jtag14serial10.png

Connect the other end of the 10-pin cable to the Beagleboard.

Connect the 10-pin RS-232 cable to the pins to the side of the Beagleboard, the ones next to the power adapter. Make sure the cable is correctly centered over the pins, and again pay attention to the red stripe. It should match up with the "1" printed on the Beagleboard.

Fs2 Beagle 10pin.png

Connect the JTAG cable to the Beagleboard.

Connect the free end of the 14-pin ribbon cable to the diagonal pins on the Beagleboard. Make sure the red stripe lines up with the "1" printed next to the pins on the Beagleboard, like in the picture.

Fs2 beagle bothcables.png

Important: The JTAG pins on the Beagleboard have no plastic housing to force the cable into the correct position. If you connect the cable backwards, powering the board may damage the JTAG interface. Make sure the ribbon cable is connected correctly before proceeding!

Beagle jtag wrong.png Beagle jtag wrong2.png Beagle jtag correct.png

Connect the USB cable to the Flyswatter2.

Find the USB cable that comes with the Flyswatter. Connect the B end (the square end, not the flat end) to the Flyswatter.

Fs2 usb.png

Connect the power supply to the Beagleboard.

Connect the 5V1A power supply to the Beagleboard. (Your power supply may not look exactly like the one pictured.)

Beagle power.png

Plug the power cable into a surge protector or wall outlet.

Green LEDs should light up on the Beagleboard to indicate that it is receiving power.

Plug the USB cable into your PC's USB port.

You should see the green LED on the Flyswatter2 light up, to indicate that the Flyswatter2 is receiving power through the USB connection.