您好,欢迎光临本网站![请登录][注册会员]  
文件名称: AN_375 FT600 Data Loopback Application User Guide.pdf
  所属分类: 嵌入式
  开发工具:
  文件大小: 511kb
  下载次数: 0
  上传时间: 2019-08-24
  提 供 者: gaojie*******
 详细说明:FT600 Data Loopback Application User GuideFTDI AN 375 FT600 Data Loopback Application User Guide Chip Version 1.0 Document Reference No. ft 001190 Clearance No. FTDI#461 1 Introduction This document explains how to use the FT600/FT601 Loopback Application a sample demo application transferring data to and from the FIFo master via FT600/ FT601 chip 11 Overview The Ft600 and FT601 are the first UsB devices in a brand new Super Speed series from FTDI Chip The devices provide a USB 3 Super Speed to FIFo bridge, with up to 5Gbps of bandwidth Delivering the option of 16 bit(FT600)and 32 bit (FT601)wide parallel FIFO interfaces; the FT60X series enables connectivity for numerous applications including high resolution cameras, displays, multifunction printers and much more FT600/FT601 Loopback Application is a simple multi-threaded windows MFc-based application written in C++. It demonstrates FT60X capability to transfer data from host application to FIFO master and vice versa 1.2 Prerequisite A PC running Windows 7 or greater is required Both 32 bit and 64 bit Windows os are supported The application is tested on FTDI UMFT600X/ UMFT60OA/UMFT601X/UMFT601A evaluation board designs based on FT600 and FT601 USB 3.0 bridging chips. The evaluation boards should be connected to Xilinx or Altera FPGa platforms to do the data transfer Reference code to enable a loopback of data between the FT60x and the fPga is provided for free by FtDI, other target platforms would require the user to recreate their own FiFo host. To setup the module with the relevant FPGa platform please refer to the Application Notes listed in Document References at the end of this document The test machine should also be installed with the d3xx driver. ft60X uses d3XX, ftdi's latest USB driver targeted for USB 3.0 devices. The test machine should also be installed with visual C++ runtime. the application is compiled with dynamic c+t runtime so the c+t runtime libraries should be present on the machine. If there is no Visual Studio installed on the machine please install the 32-bit Visual c++ runtime raries from Visual C++ Redistributable Packages for Visual Studio 2012 Update 4 Visual C++ Redistributable Packages for Visual Studio 2013 Product Page Document feedback Copyright o 20 15 Future Technology Devices International Limited FTDI AN 375 FT600 Data Loopback Application User Guide Chip Version 1.0 Document Reference No. ft 001190 Clearance No. FTDI#461 2 User Interface Below is a screenshot of the FT600/ FT601 Data Loopback application OFT600 Data Loopback Open by C Uesanpton FTDI FTE00 USB 3.0 Brldge Devlce VID 4 GuID 219005857A84H597A1BD36587C5C PID Data transfer Stress Test Op All 厂En 厂Ra FEP02409 4096 Master FIFC Size F EPa 4095 4095 stop EP83 4095 4095 Start st V EP 4095 FEP54095 Sin EP85「4095 PLg-in device Application will detect it automatically using Device GUID! 厂 Show Debug console Clear OUtpuT Figure 2.1 Application Screenshot The loopback application transfers data to and from the FIfo master via the ft600/ FT601. It enables the user to specify the payload length as well as the endpoints to send and receive data. It also enables users to do stress testing to continuously send and receive data on specified endpoints. before using this application, make sure the d3Xx driver is installed Product Page Document feedback Copyright o 20 15 Future Technology Devices International Limited FTDI AN 375 FT600 Data Loopback Application User Guide Chip Version 1.0 Document Reference No. ft 001190 Clearance No. FTDI#461 3 Features 3.1 Auto-Detection of Device Plug-in/Unplug The application can detect if a device is plugged-in or unplugged once the device is plugged-in the UI controls will be enabled. If the Ui controls are not enabled, please check if the driver has been installed. Once the device is unplugged, the UI controls will be disabled with a light grey mark 600 Data Loopback C Description FIDI FT603 USB 3.0 Bridge Device VID|0×0403 C GUID 2190508-57A845-97A1ED865876C7E}PD0x601f Close Data transfer -stess Test Length start a‖ Stop All 厂 Random Length EF024096 Star- 4095 Master FIFO Size E82「4096 star- top 4096 Star- N EF83 4095 star- stop Y EF04 4096 star- FE4 4090 Star- Stop RE05「496 star- st ⅣEF854m6 Star. top Device detected! Plug-in device! Application will detect it automatically using Device GUID! Device attached!!?us#D040381D60#00000001#4219d50857a8-f1597a1bd8 Please wait Device detected Firmware Wersion 0x 102 厂 Show Debug Console Clear output Figure 3.1 Device Detection Screenshot Product Page Document feedback Copyright o 20 15 Future Technology Devices International Limited FTDI AN 375 FT600 Data Loopback Application User Guide Chip Version 1.0 Document Reference No. ft 001190 Clearance No. FTDI#461 3.2 Data Transfer on Specified Pipes using Specified Length The application can do loopback data on specified channels using a specified payload length To do loopback on the first two channels only(EP02/EP82 and EP03/ EP83), disable the endpoints of the last 2 channels, then click the Start All button. The maximum payload length is 400 MB. the application verifies if the loopback is successful, that is the data read is same as the data written and displays the result to the output box O FT600 Data Loopback C Description FTDI FT500 USB 3.0 Bridge Device V5x0403 GGD「(219055484F5971408656C7P|Dx60f Data transfer stress Test Leng Start all top All Enable Random length V EPO Start 4096 Master FIFo size V EP82 Start Start F EP83 4096 Start □EP04 4096 st 厂EP5 Start □EP854095 start bug Plug-in device! Application will cetect it automatically using device GUID! Device a tached!PsBD_0438I601#00000029050857a8-4151971t leage wait Device detected FirmwarE Version: 0x 102 EP02] FT600DataLoopback output( 150831 111531 PayloadEPO2,txt EP02]W'ritten 4096 bytes o device! Took 71 ms! EP82] Read 4096 bytes frcm sevice! Took 1 ms [0282] RESULT: Verified fies do match! PASSED! [ EP03] W'ritten 4096 bytes 0 device! Took 1ms LEP83j Read 4096 bytes fram device! Took 1 ms! [0383]RESULT: Verified files do match! PASSED 厂 Show Debug Console clear Outrut Figure 3.2 Endpoint and Length Selection Screenshot Product Page Document feedback Copyright o 20 15 Future Technology Devices International Limited FTDI AN 375 FT600 Data Loopback Application User Guide Chip Version 1.0 Document Reference No. ft 001190 Clearance No. FTDI#461 3.3 Stress Testing The application can do loopback stress testing on specified channels by enabling the stress testing checkbox and then starting the transfer. For stress test mode the maximum payload length is only 4KB which is the FIFo size of the master. To enable stress testing using a large payload, make sure the FIFo size of the master is big enough. the stress test will stop if an error is encountered such as if the data read is not the same as the data written ●F600 Data Loopback nD C Description FTDI FT600 USB 3.0 Bridgc Devicc VID 0x0103 C GUID 2190050857A84597A1D865876}PDox0 f Close Data transfe Stress Test Length Stop All v Enable v Randon length FEP021048 4096 Master FIFO Size F EP32 Stop FEF033011 Stop V ER start stop F EP04 2158 Start stop FE842 start Ston F EPO 2112 start Stop FE852112 start Stop Tellig [EP83]Read 1253 bytes fron device! Took 1 ms [0383] RESULT: Verified files do match! PASSED EP04 FT600DataLoopback Output 20150831111629 PayloadEP04, txt [Er0 Writtcn 3105 bytes to devicc! Took 1 m3 EP84] FT600DataLoopback_output\_111629_PayloadEP84, txt [ EP84] Read 3105 bytes fron device! Took 1 ms [0484 RESULT: Verified files do match! PASSED EP05 FT600DataLoopback Output 20150831-111629_ PayloadEPo5 txt EP85 FT600DataLoopback output 20150831 111629 PayloadEP85, txt EP85] Read 165 bytes from device! Took 1 ms [0585] RESULT: Ver ified files uu le EP02] FT60ODataLoopback Output20150831-111629 PayloadEP02 txt LEP0zj Written 1048 bytes to device! Took 1 ms! 厂 Show Debug Console Clear Output Figure 3.3 Stress Testing Screenshot Product Page Document feedback Copyright o 20 15 Future Technology Devices International Limited FTDI AN 375 FT600 Data Loopback Application User Guide Chip Version 1.0 Document Reference No. ft 001190 Clearance No. FTDI#461 3.4 Debugging Logs The application allows displaying of the logs in the console when the user enables the Show Debug Console checkbox. In addition the data read and written are also saved into files in the FT600DataLoopbackTester_ output directory. this is useful to confirm if the data read and the data written from and to the FIFo master is different Moreover the application can log debug messages to a file when the log to file macro is enabled in APP Logger. h Product Page Document feedback Copyright o 20 15 Future Technology Devices International Limited FTDI AN 375 FT600 Data Loopback Application User Guide Chip Version 1.0 Document Reference No. ft 001190 Clearance No. FTDI#461 4 Troubleshooting If data transfer is not working (writing sticks or reading sticks), please ensure the environment setup is correct 1. Unplug the device from the pc 2. Restart fPga 3. Ensure fPGa is loaded with the correct fPga image a) xilinx FPGA-Spartan-6 SP601, FT601, 600 mode b xilinx FPGA-Spartan-6 SP601, FT601, 245 mode c xilinx FPGA-Virtex-6 HTG-V6-PCIE, FT601 600 mode d) Xilinx FPGA-Virtex-6 HTG-V6-PCIE, FT601, 245 mode e Altera FPGA-Cyclone V starter kit C5G, FT601, 600 mode f Altera FPGA-Cyclone v starter kit C5G, FT601, 245 mode g xilinx FPGA-Spartan-6 SP601, FT600, 600 mode h Xilinx FPGA-Spartan-6 SP601, FT600, 245 mode 0 Xilinx FPGA-Virtex-6 HTG-V6-PCIE, FT600, 600 mode 1 xilinx FPGA-Virtex-6 HTG-V6-PCIE, FT600, 245 mode k Altera FPGA-Cyclone V starter kit C5G, FT600, 600 mode D Altera FPGA-Cyclone V starter kit C5G, FT600, 245 mode 4. Ensure the PCB evaluation board matches with the FPGa image used a UMFT601X(HW 433 Rev 1.0 and above)-For Xilinx FPGa with Ft601 image b UMFT601A(HW_432 Rev 1.0 and above)-For Altera FPGa with FT601 image cUMFT600X(HW_431 Rev 1.0 and above)-For Xilinx FPGa with FT600 image d UMFT600A(HW 430 Rev 1.0 and above )-For Altera FPga with FT600 image 5. Ensure the chip configuration is configured correctly a Check if chip configuration matches the fPga image (245 mode or 600 mode) b Check if chip configuration has the setting Cancel on Session Underrun Disabled checked 6. Ensure the latest Windows driver and demo applications are installed 9 Product Page Document feedback Copyright o 20 15 Future Technology Devices International Limited FTDI AN 375 FT600 Data Loopback Application User Guide Chip Version 1.0 Document Reference No. ft 001190 Clearance No. FTDI#461 5 Contact information Head office- Glasgow UK Branch Office- Tigard, Oregon, USA Future Technology Devices International Limited Future Technology Devices International Limited Unit 1,2 Seaward place centurion business park (USA) Glasgow G41 1HH 7130 SW Fir Loop United Kingdom Tigard,OR97223-8160 Te:+44(0)1414292777 USA Fax:+44(0)1414292758 Te:+1(503)5470988 Fax:+1(503)5470987 E-mail(sales) sales1ftdichip.com E-mail(s support1ftdichip com E-Mail(sales) us salesftdichip com E-mail(generalEnquiriesadmin1ftdichip.com E-Mail(Support) us.supportftdichip.com E-mail(GeneralEnquiries)us.adminftdichip.com Branch Office Taipei, taiwan Branch office -Shanghai, china Future Technology Devices International Limited Future Technology Devices International Limited China) 2F, No 516, Sec. 1, NeiHu road Room 1103, No 666 West Huaihai road, Taipei 114 Shanghai, 200052 Taiwan. R.O.c China Te:+886(0)287913570 Te|;+862162351596 Fax:+886(0)287913576 FaX:+862162351595 E-mail(sales) tw.salesftdichip com E-mail(sale cn.sales(ftdichip com E-mail (Support) twsupport ftdichip com E-mail(Support cn.supportaftdichip.com E-mail(generalEnquiriestw.admin1ftdichip.com E-mail(General Enquiries) cn adminftdichip con Web site http://ftdichip.com Distributor and sales Representatives Please visit the Sales Network page of the FTDi Web site for the contact details of our distributor(s) and sales representative (s)in yu System and equipment manufacturers and designers ar ible to ensure that their syster d any Future Technology Devices International Ltd (FTDI) devices incorporated in their systems, meet all applicable safety regulatory and system-level performance requirements. All application -related information in this document(including application descriptions suggested FtDi devices and other materials) is provided for reference only. while ftdi has taken care to assure it is accurate this information is subject to customer confirmation and ftDi disclaims all liabil ity for system designs and for any applications assistance provided by ftDi. Use of ftdi devices in life support and or safety applications is entirely at the user's risk, and the user agrees to defend, indemnify and hold harmless ftDi from any and all damages, claims, suits or expense resulting from such use. This document is subject to change without notice. No freedom to use patents or other intellectual property rights is implied by the publication of this document. Neither the whole nor any part of the information contained in or the product described in this document, may be adapted or reproduced in any material or electronic form without the prior written consent of the copyright holder. Future Technology Devices International Ltd, Unit 1, 2 Seaward Place, Centurion Business Park, Glasgow G41 1HH, United Kingdom. Scotland Registered Company Number: SC136640 10 Product Page Document feedback Copyright o 20 15 Future Technology Devices International Limited
(系统自动生成,下载前可以参看下载内容)

下载文件列表

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.
 输入关键字,在本站1000多万海量源码库中尽情搜索: