虫虫首页|资源下载|资源专辑|精品软件
登录|注册

usb-i

  • USB/EPP转接系统的硬件设计与分析

    摘要:设计并实现了一个USB/EPP 转接系统,给出其硬件设计方案并讨论了相关技术细节, 使其实现USB 接口到EPP接口的相互数据转发。使仅具有EPP 接口的传统仪器设备借助于USB/EPP 转接系统拥有USB 总线所提供的即插即用和设备插架特性, 方便其通过USB 接口灵活接入同时拥有多个外设的计算机主机系统。关键词:USB;EPP;转接系统中图分类号:TP368.3 文献标识码:A文章编号:1008- 0570(2005)11- 2- 0166- 03 在传统的I/O 模式中,计算机外设通常映射为CPU 中固定I/O 地址,要求由主机分配一个指定的IRQ 中断请求。由于PC 机的端口和中断资源有限,因而使外设的可扩展性受到局限;同时,随着电脑应用的拓展,PC 机的外设接口越来越多,外设对系统资源的独占性也容易导致系统资源冲突。由于各种外部设备不断增加,容易导致各种I/O 冲突。由Intel、Compaq、Microsoft、IBM等厂商所提出的USB 总线标准,基于即插即用和设备插架技术,设备接入时不影响应用程序的运行,具有良好的可扩充性和扩展的方便性。目前USB 协议已经发展到了最新的2.0 版本,可支持峰值传输速率为480Mbps 的高速外设,可提供4~8 个USB 2.0 接口,同时通过USB 集线器(HUB)的扩展还可以支持多达127 个外设同时连接,基本上解决了各种外设同时存在同时使用的所有问题。基于USB 接口的上述优点,目前的计算机,特别是笔记本计算机基本上都只配备USB 接口,而取消了传统的串口和并口,这对那些以前购置的需要与计算机进行通信而只有串口或并口的各种仪器的继续使用造成了极大的障碍。 针对传统的数字化仪器与计算机通信中存在的接口不足的问题,本文设计了一个USB/EPP 转接系统,使其能够从计算机的USB 接口接收数据,经过格式转换,从USB/EPP 转接系统的并行接口EPP 发送给传统的仪器设备;同时也能够从USB/EPP 转接系统的并行接口EPP 接收数据,将其转化为USB 帧格式,并发送到计算机的USB 接口。从而使仅具有EPP 接口的传统仪器设备借助于USB/EPP 转接系统,可以继续正常使用。2 USB 总线2.1 USB 系统描述及总线协议USB 是一种电缆总线,支持在主机和各种即插即用外设之间进行数据传输。由主机预定的标准协议使各种设备分享USB 带宽,当其它设备和主机在运行时,总线允许添加、设置、使用以及拆除外设,这为多个仪器设备共享同一个主计算机提供了可能。USB 协议采用了管道模型的软硬件协议,摒弃了一般外设协议的端口映射方式,从而有效地避免了计算机应用系统I/O 端口地址冲突。根据功能划分,一个USB 系统由三个部分组成:即USB 互连、USB 主机和USB 设备。图1 给出了USB系统的通用拓扑结构。

    标签: USB EPP 转接

    上传时间: 2013-10-08

    上传用户:半熟1994

  • Stantor is a Domotic project. It is a SCADA for the computer interface board K8055 (USB bus), K8000

    Stantor is a Domotic project. It is a SCADA for the computer interface board K8055 (USB bus), K8000 (I2C bus) , X10 modules and also Webcam. It uses Browser WEB, I-mode and Wap2/Wap1, Apache,mySQL, PHP, javascript. It run with Linux 2.4 or 2.6 and XP

    标签: interface computer Stantor Domotic

    上传时间: 2013-12-18

    上传用户:sevenbestfei

  • This application note describes a method for developing block-oriented I/O device drivers for appli

    This application note describes a method for developing block-oriented I/O device drivers for applications that use the DSP/BIOS real-time kernel and includes examples that run with Code Composer Studio v2.1 on the Texas Instruments TMS320C5402 and TMS320C6711 DSP Starter Kits (DSKs). The device driver model presented here has now been superceded with an updated version that supports not only block oriented devices, but also devices such as UARTs, PCI and USB buses and Multimedia cards. Documentation on the updated driver model as well as example drivers and source code can be found in the Device Driver Developer s Kit product now available for download from the TI Developer s Village.

    标签: block-oriented application developing describes

    上传时间: 2015-07-06

    上传用户:kelimu

  • //打开 USB 口读写, 由驱动程序的 Pipe 名确定 HANDLE hPipe = OpenMyDevPipe("MyPipe1") //驱动程序里面的 Pipe 名, 对应访问某个端点

    //打开 USB 口读写, 由驱动程序的 Pipe 名确定 HANDLE hPipe = OpenMyDevPipe("MyPipe1") //驱动程序里面的 Pipe 名, 对应访问某个端点的 I/O, 这里我乱写的, 需要与驱动一致 if(hPipe != INVALID_HANDLE_VALUE) //打开 Pipe 成功 { ReadFile(hPipe, Buffer, BufSize, &nBytesRead, NULL) //从 hPipe 里读取数据到 Buffer 里 //WriteFile(hPipe, Buffer, BytesToWrite, &nBytesWritten, NULL) //把 Buffer 里面的 BytesToWrite 字节写入 hPipe CloseHandle(hPipe) } //使用 DeviceIoControl 访问 USB 设备 HANDLE hDevice = OpenMyDevice() if(hDevice != INVALID_HANDLE_VALUE) //打开设备成功 { //这些 DeviceIoControl 功能都是由设备定义的, 具体看设备和驱动的资料 if(DeviceIoControl(hDevice, IOCTL_READ_xxxx, &IOBlock, sizeof(IOBLOCK), &c, 1, &nBytes, NULL)) { //成功 } CloseHandle(hDevice) }

    标签: Pipe OpenMyDevPipe MyPipe1 HANDLE

    上传时间: 2014-11-25

    上传用户:stampede

  • 版本历史 -------------------------------------------------------------- [x] 修正 [+] 新增[*] 改进/改变 [i] 信息(

    版本历史 -------------------------------------------------------------- [x] 修正 [+] 新增[*] 改进/改变 [i] 信息(请仔细阅读) 当前版本:v0.6 -------------------------------------------------------------- [i] 新增70种设备代码 [i] 目前对外置HUB支持不好,测试时请不要使用USB HUB,这一问题会在未来版本中改进。 [x] 修正了接入设备后按“刷新”程序报错 [x] 优化了内存使用 关于SigmaTel 35系列的分辨: 由于SigmaTel 3500系列产品型号非常乱,并且很多厂商也会自行修改设备识别码,造成识别错误。但如果本软件识别出芯片是SigmaTel 3500系列的话,则可从设备的速度及具体配置来判断,目前使用的最多的型号便是STMP3502与STMP3520,如果USB速度是480Mbps则可认定芯片为STMP3520,否则为STMP3502。更加细节的识别方式,我们将会刊登在我们的论坛上:forum.easydigi.com

    标签: 版本 改变

    上传时间: 2013-12-26

    上传用户:彭玖华

  • i.mx27开发板的整套详细原理图

    i.mx27开发板的整套详细原理图,包括:DDR SDRAM, NAND FLASH, NOR FLASH, USB OTG, USB HOST,FEC PHY, UART,JTAG等等接口

    标签: mx 27 开发板 原理图

    上传时间: 2013-12-14

    上传用户:yuanyuan123

  • Very simple USB 1.1 PHY. Includes all the goodies: serial/parallel conversion, bit stuffing/unstuff

    Very simple USB 1.1 PHY. Includes all the goodies: serial/parallel conversion, bit stuffing/unstuffing, NRZI encoding decoding. Uses a simplified UTMI interface. Currently doesn t do any error checking in the RX section [should probably check for bit unstuffing errors]. Otherwise complete and fully functional. There is currently no test bench available. This core is very simple and is proven in hardware. I see no point of writing a test bench at this time.

    标签: conversion Includes parallel stuffing

    上传时间: 2017-03-11

    上传用户:hn891122

  • :以ARM9系列芯片S I、R912I W4,1X为核心

    :以ARM9系列芯片S I、R912I W4,1X为核心,主要针对中低档扣普及性车型,设计和开发符合国家标准的新型汽车行驶记录仪. 介绍了行驶记录仪硬件,软件结构.包括数据采集、数据存储、与P(、机进行串口和USB通讯、I CD显示、GI S定位系统等在内的硬软件的组成部分.通过模拟实验研究。该记录仪可靠性高、使用方便; 自动导航和定位系统,包括全球卫星定位系统和电子地图也取得了较好的使用效果.

    标签: R912I ARM9 系列芯片 核心

    上传时间: 2014-01-26

    上传用户:huql11633

  • USB is quick hot-pluggable, ease of use, connect and power, this book isn t too technical but practi

    USB is quick hot-pluggable, ease of use, connect and power, this book isn t too technical but practical, helps to develop I/O devices with examples and prototypes, intended for those who have programming and electronics skills.

    标签: hot-pluggable technical connect practi

    上传时间: 2013-12-25

    上传用户:it男一枚

  • userial is an Free project building an USB to I2C/SPI/GPIO bridge, using the Atmel AT90USB647 chip.

    userial is an Free project building an USB to I2C/SPI/GPIO bridge, using the Atmel AT90USB647 chip. Hardware and Software are released under an Open Source licence. It supports the following interfaces: * USB interface (serial emulation) * JTAG * I2C (TWI) * SPI * 8 General purpose digital I/O * 4 Analog to Digital converters (currently no firmware support)

    标签: USB building userial project

    上传时间: 2013-12-25

    上传用户:小鹏