background image

Getting Started Manual

Using the TCP/IP Features

4–1

Using the TCP/IP Features

4

4.1

TCP/IP Connections

Before proceeding you will need to have the follow-
ing items.

If you don’t have Ethernet access, you will 
need at least a 10Base-T Ethernet card 
(available from your favorite computer 
supplier) installed in a PC.

Two RJ-45 straight through Ethernet 
cables and a hub, or an RJ-45 crossover 
Ethernet cable.

The Ethernet cables and Ethernet hub are available 
from Z-World in a TCP/IP tool kit. More informa-
tion is available at www.zworld.com.

1.

Connect the AC adapter and the program-
ming cable as shown in Chapter 2, “Hard-
ware Setup.”

2.

Ethernet Connections

If you 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 
Ethernet cable to establish an Ethernet 
connection to the RCM2200 from an Eth-
ernet hub.

The PC running Dynamic C through the 
serial port on the RCM2200 does not need 
to be the PC with the Ethernet card.

3.

Apply Power

Plug in the AC adapter. The RCM2200 is 
now ready to be used.

4.2

Running TCP/IP Sample 
Programs

We have provided a number of sample programs 
demonstrating various uses of TCP/IP for network-
ing embedded systems. These programs require that 
the user connect his PC and the RCM2200 board 
together on the same network. This network can be 
a local private network (preferred for initial experi-
mentation and debugging), or a connection via the 
Internet.

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

Отзывы: