0% found this document useful (0 votes)
14 views4 pages

FT2232C-Proj03 v11

Uploaded by

belaid zian
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
14 views4 pages

FT2232C-Proj03 v11

Uploaded by

belaid zian
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Page 1

USB JTAGScan - Sample Project

Overview

This sample project demonstrates using FTDI’s FT2232C I.C. device Multi-Protocol Synchronous Serial
Engine ( MPSSE ) controller to do JTAG routines for scanning in, scanning out, scanning in and out, and
getting the data. The executable application and full project code ( in Delphi ) are provided.

The project code only demonstrates using 32 bits, but can be extended up to 64 KByte. The GetData routine
in the example shows how to collect data. For this type of application the FT2232C’s read buffer latency
timer should be left set to 16 ms ( the default value ). The routines in this project use the Send Immediate
command to send any outstanding data.

Requirements

This project is designed to run on Windows 2000 or Windows XP PC, and requires FTDI’s FT2232C drivers
to be installed.

Figure 1 - Interfacing the FT2232C to a Texas Instruments SN74BCT8244A JTAG Scan / Test device.

Ferrite Bead 470R


USB "B" VCC
Connector
1
27R 0.1uF
2 3 42 14 31 46
3 V V V V A
4 27R C C C C V Vcc
C C C C C
6 I I C
5 10nF 3v3OUT O O
33nF TCK/SK 24 18
A A 13 VCC
TCK
(ADBUS0)
47pF TDI/DO 1
23 2 1OE#
TDI
(ADBUS1)
8 SN74BCT8244A
USB DM TDO/DI 22 3 24
(ADBUS2) TDO 2OE#
7
USB DP TMS/CS 21 4 GND 6
(ADBUS3) TMS
1.5K GPIOL1
FT2232C (ADBUS4)
20 23 1A1

5 GPIOL2
19 22
RSTOUT# (ADBUS5) 1A2
43 XTIN GPIOL3
(ADBUS6) 17 21 1A3
6MHz
GPIOL4
44 XTOUT 16 20 1A4
(ADBUS7)
VCC GPIOH1
19
4 (ACBUS0) 15 2A1
27pF 27pF RESET# GPIOH2
48 (ACBUS1) 13 17
10K EECS 2A2
1 GPIOH3
VCC EESK
2 (ACBUS2) 12 16
2A3
EEDATA
GPIOH4
A (ACBUS3) 11 15
47 2A4
+ G G G G G
TEST
N N N N N
0.1uF 0.1uF 10uF D D D D D

45 9 18 25 34
Decoupling Capacitors

FT2232C-Proj03 USB JTAGScan - Sample Project © Future Technology Devices International Ltd. 2004
Page 2

Running the Sample Application

Run JTAGScan.exe. The following dialogue window will be shown. Use the Device name drop down menu
to select the MPSSE device that you want to talk to. This application is designed to be run with a Texas
Instruments SN74BCT8244A JTAG Scan / Test device, but the source code could be modified to allow it to
be used with almost any JTAG device. Obviously, the hardware configuration, and thus the application will
vary depending on which device the FT2232C is being interfaced with.

Figure 2 - JTAGScan sample application

FT2232C-Proj03 USB JTAGScan - Sample Project © Future Technology Devices International Ltd. 2004
Page 3

Related Documentation

FT2232C Device Datasheet


AN2232C-01 - Command Processor For MPSSE and MCU Host Bus Emulation
AN2232C-02 - Bit Mode Functions for the FT2232C
AN232B-04 - Data Throughput, Latency, and Handshaking**
Texas Instruments sn74bct8244a - SN54BCT8244A / SN74BCT8244A Scan Test Device With Octal
Buffers - Device Datasheet

Related Projects

FT2232C-Proj01 USB to SPI Interface


2
FT2232C-Proj02 - USB to I C Interface

**Note - The application note refers to FTDI’s FT232BM and FT245BM devices, but much of the infoma-
tion still applies to the FT2232C

FT2232C-Proj03 USB JTAGScan - Sample Project © Future Technology Devices International Ltd. 2004
Page 4

Document Revision History

FT2232C-Proj03 Version 1.0 – Initial document created July 2004.


FT2232C-Proj03 Version 1.1 – October 2004.
Schematic added.
Reference to SPITest.exe corrected - changed to JTAGScan.exe
Reference to Texas Instruments Datasheet added.

Disclaimer
© Future Technology Devices International Limited , 2002 - 2004

Neither the whole nor any part of the information contained in, or the product described in this manual, may be
adapted or reproduced in any material or electronic form without the prior written consent of the copyright holder.
This product and its documentation are supplied on an as-is basis and no warranty as to their suitability for any
particular purpose is either made or implied.
Future Technology Devices International Ltd. will not accept any claim for damages howsoever arising as a result of
use or failure of this product. Your statutory rights are not affected.
This product or any variant of it is not intended for use in any medical appliance, device or system in which the failure
of the product might reasonably be expected to result in personal injury.
This document provides preliminary information that may be subject to change without notice.

Contact Information

Future Technology Devices International Limited


373 Scotland Street,
Glasgow G5 8QB,
United Kingdom.

Tel : +44 ( 0 )141 429 2777


Fax : +44 ( 0 )141 429 2758

E-Mail ( Sales ) : [email protected]


E-Mail ( Support ) : [email protected]
E-Mail ( General Enquiries ) : [email protected]
Web Site URL : http://www.ftdichip.com

Agents and Sales Representatives


Please visit the Sales Network page of the FTDI Web site for the contact details our distributor(s) in your country.

FT2232C-Proj03 USB JTAGScan - Sample Project © Future Technology Devices International Ltd. 2004

You might also like