vb-usb-chuankou
所属分类:通讯编程
开发工具:Visual Basic
文件大小:12KB
下载次数:68
上传日期:2011-10-31 12:56:55
上 传 者:
lucky_zhe
说明: VB与USB转串口的通讯完整程序,有详细说明,不需要安装驱动
(VB and complete USB to serial communications program, described in detail, without having to install drivers)
文件列表:
VB与USB转串口的通讯完整程序,有详细说明,不需要安装驱动\Module1.bas (7868, 2001-08-24)
VB与USB转串口的通讯完整程序,有详细说明,不需要安装驱动\MSSCCPRJ.SCC (198, 2010-07-29)
VB与USB转串口的通讯完整程序,有详细说明,不需要安装驱动\USB_to_Serial.frm (39052, 2001-08-24)
VB与USB转串口的通讯完整程序,有详细说明,不需要安装驱动\USB_to_Serial.frx (4, 2001-08-24)
VB与USB转串口的通讯完整程序,有详细说明,不需要安装驱动\USB_to_Serial.vbp (731, 2001-08-24)
VB与USB转串口的通讯完整程序,有详细说明,不需要安装驱动\USB_to_Serial.vbw (84, 2010-07-29)
VB与USB转串口的通讯完整程序,有详细说明,不需要安装驱动 (0, 2010-07-29)
ReadMe
04-05-01
Note:
This application is based on Jan Axelson's usbhidio.exe application which can be downloaded
at www.lvr.com.
Purpose
The USB_to_Serial application allows the user to send and receive
one byte to a HID device. This allows the user to determine if
they have enumerated successful, and provides a simple means for debugging
firmware without having to use the USB to Serial Driver.
This program is best demonstrated by running a loopback test with USB to Serial. Use this
application to connect to the virtual COM port and use either Hyperterminal or Serial test
to open the real COM port. Then you can send and receive bytes (half-duplex) between the
two applications.
Instructions
****NOTE****
To use this application with USB to Serial, the USB to Serial driver must not be installed.
This application communicates with HID devices only. USB to Serial will enumerate as a HID
device if the USB to Serial Driver isn't installed. To be sure the driver isn't installed run
the HIDCOMINST DOS application (comes with reference design) with a "-u" parameter. Then plug
in the USB to Serial device.
************
If desired device is USB to Serial with VID=4B4 and PID=5500 then no initial connection
is necessary. The application does a default connect on startup to look for a device
containing (VID = 4B4 and PID = 5500). Otherwise enter desired VID and PID in all caps.
If you are unsure of attached HID devices select "Show Connected VID/PIDs".
Whenever this button is hit, the device must be reconnected by hitting the connect
button.
Once connected, select the value of the byte to send by either using the drop down
menu or clicking on the corresponding LED. You can also deselect an LED by clicking
on it. The LED is selected if it is green. Note that selecting a byte value from the
drop down will not turn the LEDs on the application green. After the value is chosen
hit Send and the desired byte value will be written to the device. To receive data simply
hit the receive button. Be aware that the receive box will only display one byte at a time.
So if multible bytes are receive you will probably only see the last one. The
returned value will be displayed in HEX in a box and also a graphical representation is
presented.
End of File
近期下载者:
相关文件:
收藏者: