101-0775 Rabbit Semiconductor, 101-0775 Datasheet - Page 55

no-image

101-0775

Manufacturer Part Number
101-0775
Description
CARD CPU SR9160 512K SRAM SMRTST
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 101-0775

Accessory Type
Smart Star CPU Card
For Use With/related Products
SR9160
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
5.2.3 Run the PINGME.C Demo
Connect the crossover cable from your computer’s Ethernet port to the CPU Card’s RJ-45
Ethernet connector. Open this sample program from the
compile the program, and start it running under Dynamic C. When the program starts run-
ning, the green
nection is made. (Note: If the
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 ping program:
or by
and typing the command
Notice that the orange
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.
5.2.4 Additional Demo Programs
The program SMTP.C ( SAMPLES\SMRTSTAR\TCPIP\ ) demonstrates a basic Smart
Star system using the SMTP library to send an e-mail when a keypress is detected on an
LCD/keypad module. In order to run this sample program, edit the IP address as for the
pingme program, edit the “mail to” e-mail address, compile the program, and start it exe-
cuting. An e-mail corresponding to the keypad button that was pressed is sent.
The program SSI.C ( SAMPLES\SMRTSTAR\TCPIP\ ) demonstrates how to make the
Smart Star CPU Card a Web server. This program allows you to turn the LEDs on an
attached LCD/keypad module on and off from a remote Web browser. 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 program SSI2.C ( SAMPLES\SMRTSTAR\TCPIP\ ) demonstrates the use of I/O
cards via instructions sent from a Web browser. You will need an A/D Converter Card, a
D/A Converter Card, or a relay card installed on the backplane in order for the Web
browser to be able to initiate changes on one or more of these I/O cards. Before you run
this sample program, edit the IP address as for the pingme program, compile the program,
and start it executing. The analog outputs will change or the relays will open and close in
response to instructions sent from the Web browser.
User’s Manual
Start > Run
ping 10.10.6.100
ping 10.10.6.100
LNK
light on the CPU Card should be on to indicate that an Ethernet con-
ACT
light flashes on the CPU Card while the ping is taking place,
LNK
light does not light, you may not have a crossover
SAMPLES\TCPIP\ICMP
folder,
55

Related parts for 101-0775