Purpose
This project implements a telnet server example of the uIP TCP/IP stack. It enables the device to act as a simple telnetd server.
Requirements
This package can be used with SAM V71 Xplained Ultra board.
Description
Please refer to the uIP documentation for more information about the TCP/IP stack, the telnetd example.
By default, the example does not use DHCP. If you want to use DHCP, please:
- Open file uip-conf.h and don't comment the line "#define UIP_DHCP_on".
- Include uip/apps/dhcps to compile.
Usage
- Build the program and download it inside the SAM V71 Xplained Ultra board. Please refer to the Getting Started with SAM V71 Microcontrollers.pdf
- On the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:
- 115200 bauds
- 8 bits of data
- No parity
- 1 stop bit
- No flow control
- Connect an Ethernet cable between the evaluation board and the network. The board may be connected directly to a computer; in this case, make sure to use a cross/twisted wired cable such as the one provided with the evaluation kit.
- Start the application. It will display the following message on the terminal:
-- GMAC uIP Telnetd Example xxx --
-- xxxxxx-xx
-- Compiled: xxx xx xxxx xx:xx:xx --
- MAC 3a:1f:34:08:54:05
- Host IP 10.217.12.223
- Router IP 10.217.12.1
- Net Mask 255.255.255.0
- Connect to the device IP address using telnet on port 23: A telnet terminal will appear:
uIP command shell
Type '?' and return for help
uIP 1.0>
- Note:
- Make sure the IP address of the device(EK board) and the computer are in the same network.