3.7.32 TelnetTerminal

A host interface onto a serial port: exposes the two way serial data channel over a TCP/IP interface, and automatically opens a telnet application connected to the network socket, unless a user application connects first. This model is written in C++.

TelnetTerminal contains the following CADI targets:

  • TelnetTerminal

TelnetTerminal - about

When the simulation is started and the TelnetTerminal component is enabled, the component opens a server (listening) socket on a TCP/IP port. This is port 5000 by default.

Data written to the SerialData port is transmitted over the network socket. When data becomes available on the network socket, the TelnetTerminal component buffers the data. The data can then be read from SerialData.

If there is no connection to the network socket when the first data access is made, a host telnet session is automatically started. Prior to this first access, you can connect a client of your choice to the network socket. If the connection between the TelnetTerminal component and the client is broken at any time, the port is re-opened, permitting you to make another client connection.

To set the parameters, the syntax to use in a configuration file or on the command line is:

motherboard.terminal_x.parameter=value

where x is the terminal identifier and can be 0, 1, 2, or 3.

Additional parameter information

mode

Allowed values:

telnetIn telnet mode, this component supports a subset of the telnet protocol defined in RFC 854.
rawIn raw mode, this component does not interpret or modify the byte stream contents. This permits a debugger connection, for example, to connect a gdb client to a gdbserver running on the target operating system.

Table 3-239 Ports

Name Protocol Type Description
serial 2.4.16 SerialData protocol Slave Slave port for connecting to a SerialData master.
Non-ConfidentialPDF file icon PDF version100964_1142_00_en
Copyright © 2014–2018 Arm Limited or its affiliates. All rights reserved.