InterNiche/HCC Logo

Networking Protocol Software for Embedded Processors
Click Here to Contact Us via Email.
Also, consider using our Contact Form

NicheStack TCP/IP, Web Server Demo for AM1808

[ Click here for the files ]

Overview

This document describes the NicheStack Demonstation port for the AM1808 eXperimenter board or the AM1808 EVM Baseboard. The product consists of the following files:

  • readme.txt - this document
  • AM1808project.zip - IAR 6.10 project and executable

This demonstation software is an implementation of the InterNiche TCP/IP Stack for the AM1808 SOM-M1 module and the LogicPD Application Baseboard. The software includes the following functionality:

  • FTP Server
  • Telnet Server
  • TFTP client and server
  • DHCP client
  • DNS client
  • Simple Web Server
  • Virtual File System
  • Command-line user interface

Installation

The ZIP file includes workspace and project project files for use with version 6.10 of the IAR Embedded Workbench for ARM IDE.

To run the demo:

  1. Connect the power supply, ethernet cable, and serial cable, as described in the QuickStart Guide for the development board. Connect the J-Link JTAG debugging module.
  2. Start a terminal emulation program (HyperTerminal, TeraTerm, etc.) to be used to interact with the NicheStack console. The COM port should be configured as: 115200,8,1,N and no flowcontrol.
  3. From the IAR EWARM IDE, select File->Open->Workspace... and browse to: NicheStackDemo\am1808_in_iar\Project\iniche.eww
  4. Select Project->Download and Debug to download the demo software.
  5. Select Debug->Go to start the demo. The NicheStack console should display text similar to the following:
    InterNiche Portable TCP/IP, v3.1
    
    Copyright 1996-2011 by InterNiche Technologies. All rights reserved.
    
    *** Execution limited to 60 minutes. ***
    
    prepped 1 interface, initializing...
    AM1808 Auto-negotiation: 100 Mbps, Full Duplex
    IP address of et1 : 10.0.0.100
    Acquired IP address via DHCP client for interface: et1
    IP address : 10.0.0.223
    Subnet Mask: 255.255.255.0
    Gateway    : 10.0.0.1
    INET>
    
    The software attempts to obtain an IP address from a DHCP Server. If there is not a DHCP Server on the network, the IP address defaults to 10.0.0.100. The NicheStack console command:
    INET> setip 192.168.0.52
    
    can be used to change the IP address to conform to your test network.
  6. The demonstration software will execute for 60 minutes. At the end of 60 minutes, the software will stop and it will have to be restarted.

Demonstration

The demo software allows users to test the following network protocols: FTP, HTTP, Telnet, TFTP, and Ping. The NicheStack console interface can be used to display NicheStack statistics and configuration information. To get started, type "help" at the NicheStack prompt.

FTP Server

The FTP Server can be accessed from a FTP Client application. The user can login with the username "guest" and the password "guest". The NicheStack file system contains several read-only "mem" source files which can be transferred to the FTP Client in "image" mode. There is also a write-only "null" file which accepts any amount of data from the FTP Client.

HTTP Server

The HTTP Server can be accessed from a Web Browser application by setting the URL in the Browser to the IP address of the NicheStack software. The HTML demo allows users to display NicheStack statistics and observe real-time profiling of the NicheStack execution.

Telnet Server

The Telnet Server can be accessed from a Telnet Client application. The user can login with the username "guest" and the password "guest". After logging in, the user is presented with the NicheStack console prompt. NicheStack console command can be entered to display various NicheStack statistics and configuration information.

TFTP Server

The TFTP Server can be accessed frm a TFTP Client application. The TFTP Server must first be enabled by entering the following command at the NicheStack console:

   INET> tfsr
   tftp server ON
   INET>

The NicheStack files can be transferred in "image" mode between the TFTP Client and Server.

Support

For questions or issues pertaining to NicheStack and the AM1808 target platform, please contact:

InterNiche Technologies, Inc.

    51 E Campbell Avenue, Suite 160
    Campbell, CA 95008
    USA
    Tel: + 1 408 540 1160
    Fax: + 1 408 540 1161

    Sales@iNiche.com