TCP/IP Development Kit Getting Started

> ## 1. Overview

> The TCP/IP Development Kit provides a hardware platform based on the Rabbit 2000TM microprocessor, Dynamic C® SE, and the tools necessary to develop a robust 10Base-T Ethernet application.

> ### 1.1 Description

> The TCP/IP Development Kit includes a TCP/IP Development Board (with a Rabbit 2000TM microprocessor, flash memory, SRAM, Ethernet hardware, serial ports, digital I/O), Dynamic C SE development software with TCP/IP stack and documentation on CD-ROM (not a trial version!), a demonstration board, a power supply, and a serial programming cable.

> The TCP/IP Development Board included in the kit allows for immediate evaluation and development of TCP/IP applications using the Rabbit 2000 microprocessor. Executable code can be downloaded into flash memory or SRAM (an optional battery backup board for SRAM and the real-time clock is available). Two communication ports are available--an RS-232 port and a RS-485 port. Other features of the TCP/IP Development Board include four high-current outputs, four digital inputs, seven timers, a real-time battery-backable clock, and a 10Base-T Ethernet interface.

> ### 1.1.1 TCP/IP Development Board Features

> - 18.432 MHz Rabbit 2000 Processor

> - 10Base-T Ethernet interface

> - 4 high-current outputs (200 mA @ 40 V DC)

> - 4 digital input points (0-5 V DC nominal)

> - RS-232 serial port

> - RS-485 serial port (may be factory configured to second RS-232)

> - 512K flash memory (2 × 256K)

> - 128K SRAM

> - 7 built-in timers

> - Time/date real-time clock (requires battery-backup board, available separately)

> - Watchdog timer

> ### 1.1.2 Key Benefits

> - Ethernet ready--port to an Ethernet chip is done for the Rabbit 2000 chip.

> - Cost-effective--no run-time royalties.

> - Simplified development--a complete Dynamic C SE software package (with integrated editor, compiler and debugger) is provided. No in-circuit emulator is required.

> - A head start--sample programs, including HTTP Web server and SMTP mail client, provide an advanced starting point for development.

> - Quick development time--full hardware reference schematics help reduce development efforts.

> ### 1.1.3 TCP/IP Capabilities

> - Socket-Level TCP (Transmission Control Protocol) provides reliable full-duplex data transmission.

> - Socket-Level UDP(User Datagram Protocol)--simple protocol exchanges datagrams without acknowledgements or guaranteed delivery.

> - ICMP (Internet Control Message Protocol)--network-layer Internet protocol that reports errors and provides other information relevant to IP packet processing.

> - DNS (Domain Name System) client--a distributed Internet directory service that is used mostly to translate between domain names and IP addresses, and to control Internet e-mail delivery.

> - DHCP (Dynamic Host Configuration Protocol) client--provides a framework for passing configuration information to hosts on a TCP/IP network. DHCP is based on the Bootstrap Protocol (BOOTP), adding the capability of automatic allocation of reusable network addresses and additional configuration options.

> - HTTP (Hypertext Transfer Protocol) server--the protocol used by Web browsers and Web servers to transfer files, such as text and graphic files. Includes facilities for Server Side Includes (SSI) and CGI routines.

> - SMTP (Simple Mail Transfer Protocol) client--Internet protocol providing e-mail services.

> - FTP (File Transfer Protocol) server and client--application protocol, part of the TCP/IP protocol stack, used for transferring files between network nodes. Server with password support for file transfers between network nodes available on the Rabbit 2000.

> - TFTP (Trivial File Transfer Protocol) server and client--simplified version of FTP that allows files to be transferred from one computer to another over a network.

> - POP3 (Post Office Protocol) client.

> - Serial-to-Telnet gateway.

> Additional TCP/IP capabilities are added on an ongoing basis.

> ### 1.2 Physical and Electrical Specifications

> Table 1 lists the basic specifications for the TCP/IP Development Board.

> Table 1. TCP/IP Development Board Specifications
> Specification | Data
> Power Supply | 9 V to 40 V DC
> Board Size (with optional backup-battery board) | 4.30" × 4.71" × 0.79" (109 mm × 120 mm × 20 mm)
> Environmental | -40°C to 70°C, 5-95% humidity, noncondensing

> The TCP/IP Development Board has 15 pins on header J7, one RJ-12 jack for RS-232 or RS-485 serial communication, and one RJ-45 Ethernet jack. The pinouts are shown in Figure 1.

> Figure 1. TCP/IP Development Board I/O Pinout

> RJ-45 pinouts are sometimes numbered opposite to the way shown in Figure 1. Regardless of the numbering convention followed, the pin positions relative to the spring tab position (located at the bottom of the RJ-45 jack in Figure 1) are always absolute, and the RJ-45 connector will work properly with off-the-shelf Ethernet cables.

> ### 1.3 Development Software

> The TCP/IP Development Board uses the Dynamic C development environment for rapid creation and debugging of runtime applications. Dynamic C provides a complete development environment with integrated editor, compiler and source-level debugger. It interfaces directly with the target system, eliminating the need for complex and unreliable in-circuit emulators.

> Dynamic C must be installed on a Windows workstation with at least one free serial (COM) port for communication with the target system. See Chapter 3., "Installing Dynamic C," for complete information on installing Dynamic C.

> TCP/IP source code is provided in addition to the Dynamic C software on CD-ROM. ICMP, HTTP (includes facilities for SSI, CGI routines, cookies, and basic authentication), SMTP, FTP, and TFTP (client and server) capabilities are provided. Ethernet drivers for the RealTek Ethernet chip are also included. Users can directly write to TCP or UDP sockets to develop custom applications. In addition, extensive sample programs are provided to assist with development. No run-time royalties are required, leading to significant cost savings for OEMs over the life of their application.

> ### 1.4 How to Use This Manual

> This Getting Started manual is intended to give users a quick but solid start with the TCP/IP Development Board. It does not contain detailed information on the hardware capabilities or the Dynamic C development environment. Most users will want more detailed information on some or all of these topics in order to put the TCP/IP Development Board to effective use.

> NOTE | We recommend that anyone not thoroughly familiar with single-board computers at least read through the rest of this manual to gain the necessary familiarity to make use of the more advanced information.

> ### 1.4.1 Additional Reference Information

> Several higher level reference manuals are provided in HTML and PDF form on the accompanying CD-ROM. Advanced users will find these references valuable in developing systems based on the TCP/IP Development Board:

> - Dynamic C Premier User's Manual

> - Dynamic C TCP/IP User's Manual

> - Rabbit 2000 Microprocessor User's Manual

> - An Introduction to TCP/IP

> ### 1.4.2 Using Online Documentation

> We provide the bulk of our user and reference documentation in two electronic formats, HTML and Adobe PDF. We do this for several reasons.

> We believe that providing all users with our complete library of product and reference manuals is a useful convenience. However, printed manuals are expensive to print, stock, and ship. Rather than include and charge for manuals that every user may not want, or provide only product-specific manuals, we chose to provide our complete documentation and reference library in electronic form with every Development Kit and with our Dynamic C development environment.

> Finding Online Documents

> The online documentation is installed along with Dynamic C, and an icon for the documentation menu is placed on the workstation's desktop. Double-click this icon to reach the menu. If the icon is missing, create a new desktop icon that points to default.htm in the docs folder, found in the Dynamic C installation folder.

> The latest versions of all documents are always available for free, unregistered download from our Web sites as well.

> Printing Electronic Manuals

> We recognize that many users prefer printed manuals for some uses. Users can easily print all or parts of those manuals provided in electronic form. The following guidelines may be helpful:

> - Print from the Adobe PDF versions of the files, not the HTML versions.

> NOTE | The most current version of Adobe Acrobat Reader can always be downloaded from Adobe's web site at http://www.adobe.com. We recommend that you use version 4.0 or later.

> - Print only the sections you will need to refer to often.

> - Print manuals overnight, when appropriate, to keep from tying up shared resources during the work day.

> - If your printer supports duplex printing, print pages double-sided to save paper and increase convenience.

> NOTE | If you do not have a suitable printer or do not want to print the manual yourself, most retail copy shops (e.g., Kinkos, AlphaGraphics, etc.) will print the manual from the PDF file and bind it for a reasonable charge--about what we would have to charge for a printed and bound manual.

Rabbit Semiconductor http://www.rabbitsemiconductor.com Voice: (530) 757-8400 FAX: (530) 757-8402 sales@rabbitsemiconductor.com