Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Artifact ID: | 8d0be3534726d0d85b2dc98bff49fce0b91f9ee3 |
---|---|
Page Name: | usbserial command |
Date: | 2019-04-26 06:31:55 |
Original User: | chw |
Parent: | 7ce75ebe82b660c91f1479580eb565b577a0a97a |
usbserial command
Name
usbserial - transfer data over USB-serial converters
Synopsis
package require Usbserial
usbserial ?devicename?
Description
This command is used to transfer data over supported USB-serial converters (FTDI, CDC, Prolific, etc.), see this reference. When no further argument is given to the usbserial command, a list of supported USB device names in the form of zero or more /dev/bus/usb/MMM/NNN device special file names is returned. When the USB device name of a supported USB-serial converter is given as argument, usbserial opens that USB device and returns a Tcl channel handle for it. This handle may be used with fconfigure, gets, read, puts, and close. The options -mode, -ttycontrol, and -ttystatus to fconfigure are supported by the channel. However, support for getting and/or setting control lines varies between different USB-serial converter chips. Note, that similar to a normal POSIX tty device an USB device name can be opened more than once simultaneously.
List of supported devices
Vendor ID |
Product ID |
Remarks |
0x10c4 | 0xea60 | CP2102 |
0x10c4 | 0xea70 | CP2105 |
0x10c4 | 0xea71 | CP2108 |
0x10c4 | 0xea80 | CP2110 |
0x067b | 0x2303 | Prolific PL2303 |
0x0403 | 0x0601 | FTDI FT232R |
0x0403 | 0x6015 | FTDI FT231X |
0x2341 | 0x0001 | Arduino UNO |
0x2341 | 0x0010 | Arduino Mega 2560 |
0x2341 | 0x003b | Arduino Serial Adapter |
0x2341 | 0x003f | Arduino Mega ADK |
0x2341 | 0x0042 | Arduino Mega 2560 R3 |
0x2341 | 0x0043 | Arduino UNO R3 |
0x2341 | 0x0044 | Arduino Mega ADK R3 |
0x2341 | 0x8036 | Arduino Leonardo |
0x16c0 | 0x0483 | TeensyDuino |
0x03eb | 0x2044 | ATMEL LUFA CDC Demo Application |
0x1eaf | 0x0004 | Leaflabs Maple |
0x1a86 | 0x7523 | CH 34x |
0x1a86 | 0x5523 | CH 34x |
0x4348 | 0x5523 | CH 34x |