Purpose
This project implements a telnet hello-world example of the uIP stack. It makes the device to respond to telnet connections on port 1000.
Requirements
This package can be used with SAMV71 Xplained Ultra board or SAME70 Xplained board.
Description
Please refer to the uIP documentation for more information about the TCP/IP stack, the hello-world 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 board. Please refer to the Getting Started with SAM V71/E70 Microcontrollers.pdf
- On the computer, open and configure a terminal application (e.g. HyperTerminal on Microsoft Windows) with these settings:
- 115200 baud rate
- 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 Hello World 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 1000:
telnet 10.217.12.223 1000
A greeting message will appear:
Hello. What is your name?
- Note:
- Make sure the IP address of the device(EK board) and the computer are in the same network.
References