用户名: 密码: 验证码:
USB接口的边界扫描测试控制器的设计与实现
详细信息    本馆镜像全文|  推荐本文 |  |   获取CNKI官网全文
摘要
随着集成电路的发展,传统的测试方法已经很难对复杂电路进行高速有效的测试。边界扫描技术通过在芯片的每个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板设计);控制器固件的设计流程;控制器固件的实现(工作模式的选择、芯片的初始化、四个波形的设计);控制器驱动程序的设计与实现;控制器动态链接库的设计与实现;控制器硬件、固件、驱动程序和动态链接库的调试。
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.
引文
[1] 陈光礻禹,张世箕 数据域测试及仪器——数字系统的故障诊断及可测性设计 成都:电子科技大学出版社 2001年2月 191-197
    [2] 许永和EZ-USB FX系列单片机USB外围设备设计与应用北京:北京航空航天大学出版社 2002年11月1-338
    [3] EZ-USB FX2 CY68013 Technical Reference Manual http://www.cypress.com 2001.1 10.1-10.63
    [4] Usb2.0 Protocol www.usb.org 2000.4 11-275
    [5] 谭细金 基于LASAR和边界扫描的故障诊断系统设计[硕士学位论文] 成都:电子科技大学 2004
    [6] Howard Johnson, Martin Graham. High-Speed Digital Design. America: Prentice Hall PTR, 1993. 106-177
    [7] 曾峰,巩海洪,曾波PowerPCB高速电子电路设计与应用北京:电子工业出版社 2004年1月246-289
    [8] 武安河,邰铭,于洪涛Windows 2000/xp WDM设备驱动程序开发北京:电子工业出版社 2003年4月75-80 284—325
    [9] 张立科 Windows API程序设计参考大全 北京:人民邮电出版社 2006年1月127-247

© 2004-2018 中国地质图书馆版权所有 京ICP备05064691号 京公网安备11010802017129号

地址:北京市海淀区学院路29号 邮编:100083

电话:办公室:(+86 10)66554848;文献借阅、咨询服务、科技查新:66554700