📄 readme.txt
字号:
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
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -