Thursday, September 1, 2011

Serial interfaces use Long leash

Serial interfaces use Long leash

Those who believe that the good old serial "sections" to be extinct, is mistaken. She has just adjusted and now occupies a different ecological niche. Therefore still a need for tools with which they can use comfortably.
When it comes to the PC manufacturers, "legacy" interfaces such as RS-232 have long since outlived its usefulness. In fact, there are no longer the typical DB9 or DB25 connectors on many computers. Storage subsystems, Ethernet or FC switches, however, are often equipped with them.
Also appears the good old UART (Universal Asynchronous Receiver / Transmitter) in many places in disguise: some USB devices are actually serial with an upstream converter chip. Such converters are also working USB adapter, the computer subsequently provided with a serial interface.
Who wants to communicate with devices via RS-232 requires either a serial terminal or a program that emulates such. An experienced Windows user picks up the hyper terminal - as long as he still has one. In the newer versions of its operating systems Microsoft has removed the tool that is not replaced. Hilgraeve offers replacement (www.hilgraeve.com) to. However, there does the download of HyperTerminal Private Edition is just $ 60. Who does not want to spend, can possibly make do with the 30-day trial.
Serial connections can be produced, but also with the PuTTY SSH client. Purpose, the user must type in the Connection SSH instead of the setting and then the serial COM port and select the desired speed. Other parameters can be changed under Connection / Serial.
All settings in the field of vision one has at the terminal. Since you do not install the program needs, you can also boot from a USB stick. Terminal can send predefined macros - such as modem commands - and has a Pascal-like scripting language.
The especially popular in Japan Tera Term (short TT) speaks RS-232, Telnet, and SSH, the latter even by IPv6. Except for a VT100 with some extensions it can be a Tektronix graphics terminal (TEK4010) emulate. It can handle macros, UTF-8 and various Asian character sets. A proxy is allowed from the network via HTTP, Telnet or SOCKS 4 / 5 access to TT, with optional SSL encryption. Serial go with Linux / Unix
Under Linux, Unix, respectively many terminal emulators are available. Who is one of the classics, such as minicom or C-Kermit, familiar place, where everything he needed. In particular, C-Kermit, however, offers so many features that casual users are likely to have their trouble with the program. qodem, a clone of the DOS program QMOD requires too little training time.
Dterm is easier to use. The program sends input to the serial interface and displays received characters to the console. The interface and its operating parameters via the user must enter on the command line. In command mode, which is accessible by pressing Ctrl-], can change the settings and manipulate the control lines of the interface. Even simpler is knitted sc: the user can simply send a break signal B ~ or ~. the disconnect. picocom works similarly, but understood a few more escape sequences.
ssterm by default uses a curses interface. The user can scroll through the data, view them in hexadecimal form, or write to a file. The-s option disables the user interface and connects the serial interface with the standard input and output. This allows data such as GPS receivers or transducers to transmit a file.
Graphical interfaces offer as the Qt4-based programs and cutecom Komport2 and running on top of Gtk and gtkterm moserial. gtkterm Komport2 and give themselves are minimalist, but well suited for remote access to a command line. Show cutecom moserial and sent and received character immortalized in different windows and they can pose on demand both in hexadecimal form and in a log file. moserial allows to boot, to load settings from a file.

No comments:

Post a Comment