64 RabbitCore RCM3365/RCM33756.5 Run the PINGME.C Sample ProgramConnect the crossover cable from your computer’s Ethernet port to the RCM3365/RCM3375 board’s RJ-45 Ethernet connector. Open this sample program from theSAMPLES\TCPIP\ICMP folder, compile the program, and start it running under Dynamic C.The crossover cable is connected from your computer’s Ethernet adapter to the RCM3365/RCM3375 board’s RJ-45 Ethernet connector. When the program starts running, the greenLINK light on the RCM3365/RCM3375 module should be on to indicate an Ethernet con-nection is made. (Note: If the LNK light does not light, you may not be using a crossovercable, or if you are using a hub with straight-through cables perhaps the power is off onthe 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.101or by Start > Runand typing the entryping 10.10.6.101Notice that the yellow ACT light flashes on the RCM3365/RCM3375 module while theping is taking place, and indicates the transfer of data. The ping routine will ping the boardfour times and write a summary message on the screen describing the operation.6.6 Running Additional Sample Programs With Direct ConnectThe following sample programs are in the Dynamic C SAMPLES\RCM3360\TCPIP\folder.• BROWSELED.C—This program demonstrates a basic controller running a Web page.Two “device LEDs” are created along with two buttons to toggle them. Users can usetheir Web browser to change the status of the lights. The DS3 and DS4 LEDs on thePrototyping Board will match those on the Web page. As long as you have not modifiedthe TCPCONFIG 1 macro in the sample program, enter the following server address inyour 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 TCP_CONFIG.LIB library.• MBOXDEMO.C—The optional LCD/keypad module (see Appendix C) must be pluggedin 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 othermessages, mark messages as read, and delete messages. When a new e-mail arrives, anLED on the LCD/keypad module turns on, and then turns off once the message hasbeen marked as read. A log of all e-mail actions is kept, and can be displayed in theWeb browser. All current e-mails can also be read with the Web browser.