background image

Getting Started Manual

Using the TCP/IP Features

4–3

Internet traffic. In the configuration below, the 
RCM2200 board could be given a fixed address so 
any of the computers on the local network would be 
able to contact it. It may be possible to configure the 
firewall or proxy server to allow hosts on the Inter-
net to directly contact the controller, but it would 

probably be easier to place the controller directly on 
the external network outside of the firewall. This 
avoids some of the configuration complications by 
sacrificing some security.

If your system administrator can give you an 
Ethernet cable along with its IP address, the 
netmask and the gateway address, then you 
may be able to run the sample programs with-
out having to setup a direct connection 
between your computer and the RCM2200 
board. You will also need the IP address of the 
nameserver, the name or IP address of your 
mail server, and your domain name for some 
of the sample programs.

4.3

IP Addresses Explained

IP (Internet Protocol) addresses are expressed as 4 
decimal numbers separated 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-
work uses a group of adjacent IP addresses. There 

are always 2

N

 IP addresses in a local network. The 

netmask (also called subnet mask) determines how 
many IP addresses belong to the local network. The 

netmask is also a 32-bit address expressed in the 
same form as the IP address. An example netmask 
is:

255.255.255.0

This netmask has 8 zero bits in the least significant 

portion, and this means that 2

8

 addresses are a part 

of the local network. Applied to the IP address 
above (216.103.126.155), this netmask would indi-
cate that the following IP addresses belong to the 
local network:

216.103.126.0

216.103.126.1

216.103.126.2

etc.

216.103.126.254

216.103.126.255

The lowest and highest address are reserved for spe-
cial purposes. The lowest address (216.102.126.0) is 
used to identify the local network. The highest 
address (216.102.126.255) is used as a broadcast 
address. Usually one other address is used for the 
address of the gateway out of the network. This 

Hub(s)

Firewall
Proxy
Server

T1 in

Adapter

Ethernet

Ethernet

Network

RCM2200
Board

Typical Corporate Network

Содержание 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: ......

Отзывы: