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. USB "B" Connector Ferrite Bead 1 27R 2 3 3 6 10nF 33nF 14 31 42 V C C 27R 4 5 470R VCC V C C V C C I O A 3v3OUT A V C C V C C I O A 7 1.5K 13 TDI/DO 23 (ADBUS1) 2 USB DM TDO/DI 22 (ADBUS2) 3 USB DP TMS/CS 21 (ADBUS3) 4 FT2232C 5 RSTOUT# 43 XTIN 6MHz 44 XTOUT VCC 27pF 27pF 10K VCC + 0.1uF 0.1uF 10uF Decoupling Capacitors FT2232C-Proj03 USB JTAGScan - Sample Project 4 RESET# 48 EECS 1 EESK 2 EEDATA 47 Vcc TCK/SK 24 (ADBUS0) 47pF 8 0.1uF 46 TEST A G N D 45 G N D G N D 9 TCK SN74BCT8244A TDO 2OE# TMS GND 23 1A1 GPIOL2 (ADBUS5) 19 22 GPIOL3 (ADBUS6) 17 21 1A3 GPIOL4 (ADBUS7) 16 20 1A4 19 GPIOH2 (ACBUS1) 13 17 GPIOH3 (ACBUS2) 12 16 GPIOH4 (ACBUS3) G G N N D D 18 25 11 15 1OE# TDI GPIOL1 20 (ADBUS4) GPIOH1 (ACBUS0) 15 VCC 18 1 24 6 1A2 2A1 2A2 2A3 2A4 34 © 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 infomation 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
© Copyright 2024