Run The Pingme.c Sample Programs; Running More Sample Programs With Direct Connect - Rabbit RabbitCore RCM2200 User Manual

C-programmable module with ethernet
Hide thumbs Also See for RabbitCore RCM2200:
Table of Contents

Advertisement

6.9 Run the PINGME.C Sample Programs

Connect the crossover cable from your computer's Ethernet port to the RCM2200 board's
RJ-45 Ethernet connector. Open this sample program from the
folder, compile the program, and start it running under Dynamic C. When the program
starts running, the green
Ethernet connection is made. (Note: If the
crossover cable, or if you are using a hub perhaps the power is off on the hub.)
The next step is to ping the board from your PC. This can be done by bringing up the MS-
DOS window and running the pingme program:
ping 10.10.6.100
or by
Start > Run
and typing the entry
ping 10.10.6.100
Notice that the red
ACT
place, and indicates the transfer of data. The ping routine will ping the board four times
and write a summary message on the screen describing the operation.

6.10 Running More Sample Programs With Direct Connect

The sample programs discussed here are in the Dynamic C
—Demonstrates the features of
CONSOLE.C
sole library. This program is also run in conjunction with
.
ENT.C
—Creates two "devices" (lights) and two "buttons" in the Web browser to
ETHCORE1.C
toggle them. Users can change the status of the lights. If the RCM2200 is plugged into
the
slot on the Prototyping Board, the lights on the Prototyping Board will
MASTER
track the ones in the Web browser. As long as you have not modified the
macro in the sample program, enter the following server address in your Web browser
to bring up the Web page served by the sample program.
http://10.10.6.100
Otherwise use the TCP/IP settings you entered in the
—Operates RCM2200 as a basic server. When a client connects, echoes
MYECHO.C
back any data sent by the client.
—Demonstrates the ability of a Rabbit-based target board to update
SERDCLIENT.C
files on the Web server of the RCM2200 board it is connected to via Serial Port D. This
program is run in conjunction with
—Demonstrates the ability of a Rabbit-based target board to update files
SPCLIENT.C
on the Web server of the RCM2200 board it is connected to via the slave port. This pro-
gram is run in conjunction with
User's Manual
light on the RCM2200 board should be on to indicate an
LNK
LNK
light flashes on the RCM2200 board while the ping is taking
CONSOLE.C
CONSOLE.C
SAMPLES\TCPIP\ICMP
light does not light, you may not have a
SAMPLES\RCM2200\
command-oriented con-
ZCONSOLE.LIB
SERDCLIENT.C
TCP_CONFIG.LIB
.
.
folder.
or
SPCLI-
TCPCONFIG 1
library.
47

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RabbitCore RCM2200 and is the answer not in the manual?

Table of Contents