Run The Pingme.c Demo; Running More Demo Programs With Direct Connect - RabbitCore RCM2000 Series Getting Started Manual

C-programmable module with ethernet
Hide thumbs Also See for RCM2000 Series:
Table of Contents

Advertisement

4.9 Run the PINGME.C Demo

In order to run this program, edit the IP address and netmask in the
(
SAMPLES\TCPIP\ICMP
Compile the program and start it running under Dynamic C. The crossover cable is con-
nected from your computer's Ethernet adapter to the RCM2200 board's RJ-45 Ethernet
connector. When the program starts running, the green
should be on to indicate an Ethernet connection is made. (Note: If the
light, you may not have a 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.1.1.2
or by
Start > Run
and typing the entry
ping 10.1.1.2
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.

4.10 Running More Demo Programs With Direct Connect

The program
STATIC.C
RCM2200 board be a Web server. In order to run these sample programs, edit the IP
address as for the pingme program, compile the program and start it executing. Then bring
up your Web browser and enter the following server address: http://10.1.1.2.
This should bring up the Web page served by the sample program.
The sample program
RXSAMPLE.C
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 program on your PC (
Run telnet 10.1.1.2
window, indicating that the board is receiving the characters typed via TCP/IP.
STDIO
32
) to the values given above (10.1.1.2 and 255.255.255.248).
light flashes on the RCM2200 board while the ping is taking
(
SAMPLES\TCPIP\HTTP
(
SAMPLES\TELNET
). Each character you type will be printed in Dynamic C's
PINGME.C
light on the RCM2200 board
LNK
LNK
) demonstrates how to make the
) allows you to communicate with
RabbitCore RCM2200
program
light does not
Start >

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RCM2000 Series and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Rcm2200

Table of Contents