IPC@CHIP DK41 / DK51
Getting Started V2.2
© 2000-2004 Beck IPC GmbH Page 52 of 61
3.2.4 The command shell
The @CHIP-RTOS has a command shell task which accepts commands from a standard I/O device.
This standard I/O device can be either or both of the RS-232 ports (COM and EXT) and/or the Telnet
port. The selection is controllable from the CHIP.INI file
13
. The standard I/O can be configured to be
shared between application programs and the @CHIP-RTOS command shell. A hot key (by default
Ctrl+F) will switch the standard I/O focus between application and @CHIP-RTOS command shell.
For Telnet you use ‘tel’ as user name and also ‘tel’ as password. These are default settings that can
be changed at a later time.
For a list of the commands available you can type in ‘help’ at the command line.
A:\>help
DIR DEL TYPE COPY REN
MD CD RD FORMAT CON
IW OW IB OB PCS
ALE ADR PIO IP NETMASK
GATEWAY DHCP WAIT FTP BATCHMODE
MEMOPT XTRANS PING IPCFG IPETH
TCPIPMEM REBOOT VER MEM HELP
ERRORS TASKS UTASKS WEBSTAT CGISTAT
CLOSETELNET
A:\>
Refer to the @CHIP-RTOS API Documentation for a detailed description of these commands.
3.2.5 The PPP Server/Client
PPP (the Point to Point Protocol) is a mechanism for creating and running TCP/IP over a serial link -
be that a direct serial connection (using a null-modem cable), or a link made using an analog modem.
Other computers can dial into the IPC@CHIP PPP server and communicate via the TCP/IP link using
FTP, Telnet, Web, etc. in the same manner as with an Ethernet TCP/IP link. One major difference
between a PPP and an Ethernet connection is of course the speed. A standard Ethernet connection
operates at 10 Mbs maximum theoretical throughput, whereas an analog modem operates at speeds
up to 56 kbps.
PPP is strictly a peer to peer protocol; there is no difference between the machine that dials in and the
machine that is dialled into. However, it is still useful to think in terms of servers and clients. When you
dial into a site to establish a PPP connection, you are considered the client. The machine to which you
connect (e.g. the IPC@CHIP) is considered the server. The @CHIP-RTOS operating system provides
TCP/IP API functions for either side of this client/server relationship.
PPP at the IPC@CHIP includes the subprotocols LCP and NCP (IPCP). Supported authentication
protocols are PAP and CHAP.
13
For example, the figure shows the stdio configured for both the RS-232 COM (Port 1) and Telnet ports.