![ST STMC2 Скачать руководство пользователя страница 29](http://html1.mh-extra.com/html/st/stmc2/stmc2_manual_1356131029.webp)
ST Micro Connect 2
Configuration using the stmcconfig utility
7912386 Rev 12
29/58
3.
Check the line feed mode with the
display
command:
Microsoft Telnet> display
4. Remove
crlf
mode with:
Microsoft Telnet> unset crlf
5.
Quit telnet
> quit
The line feed mode will be persistent for subsequent telnet sessions.
●
Terminal type
If relaying an STLinux console, and the
resize
command is available on the target,
this may be issued to synchronize the target console output with the host telnet window.
When relaying an STLinux console, the terminal type of the host is assumed to be
"linux" by the STLinux console driver.
On Windows, telnet does not support the "linux" terminal type so problems may be
experienced when running programs such as
vi
.
●
Character or line mode
When the telnet client is configured to use character mode, control characters typed at
the host are effective immediately.
When the telnet client is configured to use line mode, characters are stored in the client
until a carriage return is typed.
The telnet client remembers the mode in which it has been set.
To set the mode:
1.
Start the telnet client.
>telnet
2.
Escape to command mode by pressing
^]
.
3.
Enter the required mode.
mode character
or
mode line
5.15 Display
ST Micro
Connect 2 log file (--show-log)
The ST Micro Connect 2 reports its activity to a log file called
messages
. Toolsets can also
log their activity to log files. To display the log files use the
--show-log [<
log name>
]
option. If specific log files are not requested a list of available log files is displayed.
Syntax
stmcconfig --ip <
ip address
> --show-log [<
log name>
]
Example
stmcconfig --ip 192.168.1.1 --show-log messages
Jan 1 00:00:07 (none) user.notice systemmanager: SystemManager starting...
Jan 1 00:00:07 (none) user.notice systemmanager: Waiting for command
Jan 1 00:00:07 (none) user.notice systemmanager: Starting SystemManager thread for
network interface 192.168.1.1.
...
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from
Downloaded from