Silicon Laboratories CP2201EK User Manual

CP2201-EK
CP2201EK USERS GUIDE

1. Kit Contents

The CP2201 Evaluation kit contains the following items:
• CP2201 Embedded Ethernet Evaluation Board (CP2201EB)
• Silicon Laboratories Embedded Ethernet Evaluation Kit CD-ROM. CD content includes:
• CP2201EK User’s Guide (this document)
• Firmware Image for use with the Ethernet Bootloader
• C8051F34x and CP220x Data Sheets
• Universal 9 V DC Power Supply
• Straight Through Cat5e Ethernet Cable (Blue)
• Crossover Cat5e Ethernet Cable (Yellow)
• CP2201EK Quick Start Guide

2. CP2201EK Overview

The purpose of the CP2201EK is to provide a way to easily evaluate Silicon Laboratories Ethernet Solutions and view some of the applications made possible by the CP2200/1. To develop embedded applications using the CP2200/1, we offer a complete Embedded Ethernet Development Kit (Ethernet-DK). The Embedded Ethernet Development Kit contains a TCP/IP Configuration Wizard that automatically generates code to perform many of the functions in the CP2201EK. Numerous code and application examples are also provided in the development kit.
The CP2201EK is a fully contained evaluation board. The main system controller, which runs the TCP/IP Stack and performs other system tasks, is a 50 MIPS Silicon Laboratories C8051F340. The Ethernet controller providing network connectivity is the Silicon Laboratories CP2201—the industry’s smallest Ethernet controller. The third major component on the board is the Ethernet connector (RJ-45) with integrated magnetics and LEDs.
On the software side, the C8051F340 is running the CMX Micronet Web Server. The embedded web server has web pages for displaying temperature and light sensor data, controlling the yellow LED state, sending an e-mail, remotely updating firmware, and displaying images and CP2201 Key Features. The embedded system can also be accessed through a command line Telnet interface.
Figure 1 shows the CP2201EB and identifies its various components.
Yellow LED
System State
Green LED
Link/Activity
C8051F340
MCU w/ on-chip
Temperature
Sensor
CP2201
Ethernet
Controller
Light Sensor

Figure 1. CP2201 Evaluation Board

Rev. 0.1 2/06 Copyright © 2006 by Silicon Laboratories CP2201-EK
CP2201-EK

3. Hardware Setup

The only external hardware connections required by the CP2201EB are power and a connection to a network. All required system configuration is performed over the network, saving the board space and cost of an LCD screen or dedicated UART interface.
1. Connect the CP2201EB to an unused Ethernet jack using the wall outlet or an empty port on a network router or switch. If an Ethernet outlet is not available, the CP2201 can be directly connected to a PC using the See Appendix A for additional setup instructions if using a crossover cable.
2. Power the CP2201EB using the universal power adapter supplied with the kit.
3. Wait until the yellow LED turns to solid yellow (not blinking), stops blinking (always on), or starts to blink intermittently (blink twice then pause).
yellow
crossover cable.

4. Software Setup

The included CD-ROM contains all CP2201EK documentation, the Netfinder utility, and a firmware image that can be used for evaluating the Ethernet bootloader. To get started, insert the CD-ROM into your PC’s CD-ROM drive and click “Netfinder.” Follow the on-screen instructions when the blue dialog automatically launches. If the dialog does not automatically appear on the screen when you insert the CD-ROM, run autorun.exe found in the root directory of the CD-ROM.

5. Network Setup

blue
straight-through cable. This can be a
The CP2201EK software uses the Netfinder utility to find all CP2201EB boards connected to the network. If the network has a DHCP server, then each device will automatically acquire an IP address once it detects that it has been plugged into a live network. If there are multiple CP2201EB boards on the network, the Netfinder utility allows the user to identify the desired device based on the time powered, time plugged into network, MAC address, or IP address.
1. Press the
Search
button as shown in Figure 2 to begin searching for devices.

Figure 2. Search Button

2 Rev. 0.1
CP2201-EK
2. If the CP2201EB was able to automatically obtain an IP address through DHCP, then its IP address will appear inside a window with green background. If the device’s IP address is 0.0.0.1 and the window back­ground is yellow, then skip this step and the following step. If the device was unable to automatically obtain an IP address through DHCP, then its IP address will be 0.0.0.1 and it will appear inside a window with a yellow background. a. If the device appears in a yellow window, then go to step 4. b. If the device appears in a green window, then click anywhere in the green window. c. After the black border appears, press the Web Browser Quick Launch Button.

Figure 3. Web Browser Quick Launch Button

3. The default web browser should launch and display the home page served by the embedded web server. The same result can be achieved by typing the IP address of the embedded web server into the address bar of a web browser. Figure 4 shows a screenshot of the uWeb-v2.0 home page.
4. Now go directly to Section "CP2201 Evaluation Kit Demo‚" on page 6.

Figure 4. uWeb-v2.0 Home Page

Rev. 0.1 3
CP2201-EK
5. If the network does not have a DHCP server, then the CP2201EB will search for approximately 35 seconds before going into static IP address mode. While searching, the yellow led will be blinking fast. After going into static IP address mode, Netfinder will display information about the device in a window with a yellow background. Select the device by clicking inside the yellow area and pressing the Assign IP button as shown in Figure 5.

Figure 5. Static IP Address Mode

6. Enter the IP address, subnet mask, and default gateway (if known) into the ‘Assign IP Address’ dialog and press OK. See Appendix A for information on how to configure the PC with a static IP address and how to select a static IP address for the CP2201EB. A windows command line window should appear, ping the device at its new address, then close. Programming is successful when the progress bar stops and gives
.
the message “Success - Device Programmed” as shown in Figure 6.

Figure 6. Assign IP Address Dialog

4 Rev. 0.1
CP2201-EK
7. Close the ‘Assign IP Address’ dialog then press Search to refresh the Netfinder screen. Select the device by clicking inside the yellow area and pressing the Web Browser quick launch button as shown in Figure 7.

Figure 7. Web Browser Quick Launch Button In Static IP Address Mode

8. The default web browser should launch and display the home page served by the embedded web server. The same result can be achieved by typing the IP address of the embedded web server into the address bar of a web browser. Figure 8 shows a screenshot of the uWeb-v2.0 home page.

Figure 8. uWeb-v2.0 Home Page

Rev. 0.1 5
Loading...
+ 9 hidden pages