节点文献

USB接口的边界扫描测试控制器的设计与实现

【作者】 杨晶菁

【导师】 顾亚平;

【作者基本信息】 电子科技大学 , 测试计量技术及仪器, 2006, 硕士

【摘要】 随着集成电路的发展,传统的测试方法已经很难对复杂电路进行高速有效的测试。边界扫描技术通过在芯片的每个I/O引脚附加一个边界扫描单元实现对电路板上器件焊接故障和板内连接故障的测试。 USB是目前PC机外设的主流接口,USB2.0的传输速度达到480Mbit/s,满足用户对高速数据通信的要求。USB接口的边界扫描测试控制器即USB-1149.1控制器采用CY7C68013作为USB接口芯片,选择GPIF主控模式实现高速数据传输;采用CAT实验室自主开发的边界扫描控制芯核作为1149.1协议的接口芯片,为被测系统提供最高25MHz的扫描速度及4条扫描链路。USB-1149.1控制器使用户能够利用计算机方便地组建边界扫描测试系统,实现用计算机控制JTAG总线的目的。USB-1149.1控制器是边界扫描测试系统的核心。一方面,控制器将主机生成的测试矢量通过JTAG接口送到被测件上,另一方面,它将被测件的测试响应通过USB接口送到主机,由主机对响应进行分析得出结论。 本文主要介绍了USB-1149.1控制器的设计和实现,包括:控制器硬件电路的设计(电路原理和PCB板设计);控制器固件的设计流程;控制器固件的实现(工作模式的选择、芯片的初始化、四个波形的设计);控制器驱动程序的设计与实现;控制器动态链接库的设计与实现;控制器硬件、固件、驱动程序和动态链接库的调试。

【Abstract】 With the development of intergrated circuit, it is difficult to test the complicated circuit quickly and efficaciously used traditional test method. Boundary-Scan Test (BST) adds a Boundary-Scan Cell (BSC) with each I/O pin, and accomplishes the test of soldering and linking chips in PCB.The Universal Serial Bus (USB) is a mainstream interface connecting PC and PC peripherals. The signaling rate of USB 2.0 is 480Mbits/sec. It can satisfy the need of high speed data communication. USB-1149.1 controller uses CY7C68013 as USB chip which works in Genera Programmable Interface (GPIF) master mode. It uses FPGA which developed by the laboratory of CAT as 1149.1 chip which works in 25MHz and has 4 channels for DUT (Device Under Test). Using USB-1149.1 controller, one can build BST system achieve the purpose of controlling the JTAG bus by computer. USB-1149.1 controller is the most important part in BST system. On one side, it can transmit vector to DUT by JTAG interface; on the other side, it can transmit respondence to PC by USB bus. PC analyzes respondence and gets conclusion.The thesis introduces the design and implementation of USB-1149.1 controller including the design of circuit (schedule and PCB),the design of framework,the implementation of framework (the selection of mode, the configuration of the chip, the implementation of 4 waves),the design and implementation of driver,the design and implementation of dynamic link library (DLL),the debug of hardware, framework, driver and DLL.

【关键词】 USB边界扫描GPIFJTAG驱动动态链接库
【Key words】 USBBSTGPIFJTAGDriverDLL
  • 【分类号】TN407;TP334.7
  • 【被引频次】5
  • 【下载频次】447
节点文献中: 

本文链接的文献网络图示:

本文的引文网络