Run The Pingme.c Sample Program; Running Additional Sample Programs With Direct Connect - Rabbit RabbitCore RCM3309 User Manual

C-programmable core module with serial flash mass storage and ethernet
Hide thumbs Also See for RabbitCore RCM3309:
Table of Contents

Advertisement

Distributor of Digi International: Excellent Integrated System Limited
Datasheet of 20-101-1194 - MODULE RABBITCORE RCM3309 ROHS
Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com

6.5 Run the PINGME.C Sample Program

Connect a Cat. 5 Ethernet cable from your computer's Ethernet port to the RCM3309/
RCM3319 board's RJ-45 Ethernet connector. Open this sample program from the
SAMPLES\TCPIP\ICMP
When the program starts running, the green
module should be on to indicate an Ethernet connection is made. (Note: If the
light does not light and you are using a hub, check that the power is not 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.101
or by
Start > Run
and typing the entry
ping 10.10.6.101
Notice that the green
LNK/ACT
the ping is taking 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.6 Running Additional Sample Programs With Direct Connect

The following sample programs are in the Dynamic C
folder.
—This program demonstrates a basic controller running a Web page.
BROWSELED.C
Two "device LEDs" are created along with two buttons to toggle them. Users can use
their Web browser to change the state of the lights. The DS3 and DS4 LEDs on the Pro-
totyping Board will match those on the Web page. As long as you have not modified
the
macro in the sample program, enter the following server address in
TCPCONFIG 1
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
—The optional LCD/keypad module (see Appendix C) must be plugged
MBOXDEMO.C
in to the Prototyping Board when using this sample program. This program demon-
strates sending e-mail messages that are then shown on the LCD/keypad module dis-
play. The keypad is used to scroll through a menu to view the messages, flip to other
messages, mark messages as read, and delete messages. When a new e-mail arrives, an
LED on the LCD/keypad module turns on, and then turns off once the message has
been marked as read. A log of all e-mail actions is kept, and can be displayed in the
Web browser. All current e-mails can also be read with the Web browser.
—This program demonstrates ICMP by pinging a remote host. It will flash
PINGLED.C
LEDs DS3 and DS4 on the Prototyping Board when a ping is sent and received.
62
folder, compile the program, and start it running under Dynamic C.
LNK/ACT
light flashes on the RCM3309/RCM3319 module while
light on the RCM3309/RCM3319
SAMPLES\RCM3300\TCPIP\
library.
TCP_CONFIG.LIB
RabbitCore RCM3309/RCM3319
LNK/ACT

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rabbitcore rcm3319

Table of Contents