background image

4–2

Using the TCP/IP Features

RabbitCore RCM2200

Obtaining IP addresses to interact over an existing, 
operating, network can involve a number of compli-
cations, and must usually be done with cooperation 
from your ISP and/or network systems administra-
tor (if your company has one). For this reason, it is 
suggested that the user begin instead by using a 
direct connection between a PC and the RCM2200 
board using an Ethernet crossover cable or a simple 
arrangement with a hub. (A crossover cable should 
not be confused with regular straight through 
cables.)   The hub and a wide variety of cables can 
also be purchased from a local computer store.

In order to set up this direct connection, the user will 
have to use a virgin PC (right out of the box), or dis-
connect a PC from the corporate network, or as yet 
another approach install a second Ethernet adapter 
and set up a separate private network attached to the 
second Ethernet adapter. Disconnecting your PC 
from the corporate network may be easy or nearly 
impossible, depending on how it is set up. Mobile 
PCs, such as laptops, are designed to be connected 
and disconnected, and will present the least prob-
lem. If your PC boots from the network or is depen-
dent on the network for some or all of its disks, then 
it probably should not be disconnected. If a second 
Ethernet adapter is used, be aware that Windows 
TCP/IP will send messages to one adapter or the 
other, depending on the IP address and the binding 
order in Microsoft products. Thus you should have 
different ranges of IP addresses on your private net-
work from those used on the corporate network. If 

both networks service the same IP address, then 
Windows may send a packet intended for your pri-
vate network to the corporate network. A similar sit-
uation will take place if you use a dial-up line to 
send a packet to the Internet. Windows may try to 
send it via the local Ethernet network if it is also 
valid for that network.

The following IP addresses are set aside for local 
networks and are not allowed on the Internet:  
10.0.0.0 to 10.255.255.255, 172.16.0.0 to 
172.31.255.255, and 192.168.0.0 to 
192.168.255.255.

The RCM2200 board uses a 10Base-T type of Eth-
ernet connection, which is the most common 
scheme. The RJ-45 connectors are similar to U.S. 
style telephone connectors, are except larger and 
have 8 contacts. 

An alternative to the direct connection using a cross-
over cable is a direct connection using a hub. The 
hub relays packets received on any port to all of the 
ports on the hub. Hubs are low in cost and are 
readily available. The RCM2200 board uses 10 
Mbps Ethernet, so the hub or Ethernet adapter must 
be either a 10 Mbps unit or a 10/100 unit that adapts 
to either 10 or 100 Mbps.

In a corporate setting where the Internet is brought 
in via a high-speed line, there are typically machines 
between the outside Internet and the internal net-
work. These machines include a combination of 
proxy servers and firewalls that filter and multiplex 

RCM2200

User’s PC

Ethernet
crossover 
cable

Direct Connection
(Network of 2 computers)

RCM2200

Hub

Ethernet
cables

To additional
network
elements

Direct Connection Using a Hub

Board

Board

Содержание RCM2200

Страница 1: ...RabbitCore RCM2200 C Programmable Module with Ethernet Getting Started Manual 019 0096 010501 B...

Страница 2: ...to perform when properly used in accordance with instruc tions for use provided in the labeling and user s manual can be reasonably expected to result in significant injury No complex software or har...

Страница 3: ...duct Information 1 3 1 3 2 Additional Reference Information 1 3 1 3 3 Using Online Documentation 1 3 2 Hardware Setup 2 1 Development Kit Contents 2 1 2 2 Overview of the Prototyping Board 2 2 2 2 1 P...

Страница 4: ...s 3 3 3 4 Starting Dynamic C 3 4 3 4 1 Communication Error Messages 3 4 3 5 Sample Programs 3 4 4 Using the TCP IP Features 4 1 TCP IP Connections 4 1 4 2 Running TCP IP Sample Programs 4 1 4 3 IP Add...

Страница 5: ...ng with data address and control lines A fourth serial port and three additional I O lines are available on the pro gramming header A fully enabled slave port permits glueless master slave interface w...

Страница 6: ...or these connectors are shown in Figure 1 1 below Table 1 1 RCM2200 specifications Specification Data Power Supply 4 75 5 25 VDC 134 mA at 22 1 MHz clock speed Size 2 3 x 1 6 x 0 86 inches 59 x 41 x 2...

Страница 7: ...at Some advanced users may choose to skip the rest of this introductory manual and proceed directly with the detailed hardware and software information in the User s manual TIP We recommend that anyon...

Страница 8: ...t 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 manu als for some use...

Страница 9: ...evelopment setup 2 1 Development Kit Contents The RCM2200 Development Kit contains the fol lowing items RabbitCore 2200 module with Ethernet port 256k flash memory and 128k SRAM RCM2200 Prototyping Bo...

Страница 10: ...Power Supply The raw DC voltage provided at the POWER IN jack is routed to a 5 volt linear voltage regulator which provides stable power to the RabbitCore module and the Prototyp ing Board A Shottky...

Страница 11: ...ved for future use although the sche matics in this manual contain all of the details an experienced developer will need to implement a master slave system Figure 2 1 The RCM2200 Prototyping Board RCM...

Страница 12: ...ibbon cable leading to a stan dard DE 9 serial connector All RS 232 port components mount to the underside of the Prototyping Board between the Master module connectors NOTE The RS 232 chip capacitors...

Страница 13: ...and J5 into sockets J1 and J2 on the Prototyping Board Although you can install a single module into either the Master or Slave position all of the development board features switches LEDs serial por...

Страница 14: ...Figure 2 5 Be sure to orient the marked usually red edge of the cable towards pin 1 of the connector Do not use the DIAG connector which is used for a normal serial connection Connect the other end o...

Страница 15: ...al network before connecting a RabbitCore system to the Internet TIP Checking and debugging the initial setup on a micro LAN is rec ommended before connecting the system to a LAN or WAN 2 3 4 Connect...

Страница 16: ...topics refer to the Dynamic C User s Manual and the Dynamic C TCP IP User s Manual also in the online documentation set 2 4 1 Technical Support If you encounter any problems call our Technical Support...

Страница 17: ...Dynamic C does not use an In Circuit Emula tor programs being developed are downloaded to and executed from the target system via an enhanced serial port connection Program develop ment and debugging...

Страница 18: ...ems Windows 95 Windows 98 Windows NT Windows ME Windows 2000 3 2 1 Hardware Requirements The PC on which you install Dynamic C for devel opment of RCM2200 based systems should have the following hardw...

Страница 19: ...nstalled in the specified folder default Compact Installation Only Dynamic C will be installed Custom Installation You will be allowed to choose which components are installed This choice is useful to...

Страница 20: ...a dif ferent COM port within Dynamic C From the Options menu select Communications The dialog shown should appear Select another COM port from the list then click OK Press Ctrl Y to force Dynamic C to...

Страница 21: ...ties of the RabbitCore RCM2200 modules They form a learning arc from basic I O control to advanced TCP IP issues including web serving FlashLED c ToggleLED c FlashLEDs c PingLED c EthCore1 c Each of t...

Страница 22: ...3 6 Software Installation Overview RabbitCore RCM2200...

Страница 23: ...ou do not have access to an Ethernet network use a crossover Ethernet cable to connect the RCM2200 board to a PC with at least a 10Base T Ethernet card If you have Ethernet access use a straight Ether...

Страница 24: ...oducts Thus you should have different ranges of IP addresses on your private net work from those used on the corporate network If both networks service the same IP address then Windows may send a pack...

Страница 25: ...by periods for example 216 103 126 155 10 1 1 6 Each decimal number must be between 0 and 255 The total IP address is a 32 bit number consisting of the 4 bytes expressed as shown above A local net wo...

Страница 26: ...r the duration of the call and further may not actually be a real Internet IP address Such an address works for browsing the Web but cannot be used for transactions originating elsewhere since no othe...

Страница 27: ...r for different versions of Windows such as 95 NT or 2000 4 8 Run the PINGME C Demo In order to run this program edit the IP address and netmask in the PINGME C program SAMPLES TCPIP ICMP to the value...

Страница 28: ...RXSAMPLE C SAM PLES TELNET allows you to communicate with the RCM2200 board using the Telnet protocol To run this program edit the IP address compile the program and start it running Run the Telnet p...

Страница 29: ...Getting Started Manual Schematics 1 Schematics The following schematics are included for user reference 090 0120 RabbitCore RCM2200 090 0122 RCM2200 Prototyping Board 090 0085 Programming Cable...

Страница 30: ...N CHANGING CONTROL APPROVAL PROJECT ENGINEER APPROVAL DOCUMENT REV ECO DESCRIPTION OF CHANGE REVISION HISTORY REVISION APPROVAL DATE DATE DRAWING CONTENT SIGNATURES DATE C APPROVALS INITIAL RELEASE NO...

Страница 31: ...C NONE...

Страница 32: ...CHANGING ECO APPROVAL APPROVAL CONTROL DOCUMENT DATE REVISION HISTORY ENGINEER PROJECT DATE REV DESCRIPTION REVISION APPROVAL NONE DATE B DRAWING CONTENT APPROVALS INITIAL RELEASE SIGNATURES 2900 SPA...

Страница 33: ...ALS INITIAL RELEASE DRAWING CONTENT B 2900 SPAFFORD ST DAVIS CA 95616 ZWORLD DATE NONE 530 757 4616 THIS DOCUMENT APPEND THE FOLLOWING DOCUMENTS WHEN CHANGING ECO APPROVAL APPROVAL CONTROL DOCUMENT DA...

Страница 34: ......

Отзывы: