Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: additional port configuration options

...

Serial port optionDescription
type

The serial port type determines the protocol used on the serial port. Possible values are:

  • socket: the port is set to TCP raw mode.
  • telnet: the port supports the telnet protocol.
  • device: indicates that the emulated serial line is connected to a physical terminal on the host.
port

Each port is mapped to a TCP socket on the emulator host or to a physical line. This parameter defines the port number used or the name of the physical device. The port number must be unique among all active port numbers on the host system.

A port number is specified as:
"<where-to-listen>:<portnumber>"
. It requires a port type of socket or telnet.

Default values (listening on all interfaces):

  • ":30000" for line 1
  • ":30002" for line 2

To restrict console connections to certain host interfaces or host IP addresses, set where-to-listen to the respective interface name or IP address. The settings lo:<portnumber> and <portnumber> (without the colon) are equivalent.

A physical device is specified as "<device-file>". It requires a port type of device.

Example:

  • "/dev/ttyS0"
  • "/dev/ttyUSB0"
commandThis parameter is optional. It can be used to specify a terminal emulation program that is started automatically when the emulated system is started. Charon-PAR provides preconfigured profiles for PuTTY (PAR-Socket PAR-Telnet PAR-Telnet-VT100) that can be used to connect to the emulated system via a serial line.

...