User`s manual
MiniCore RCM5700/RCM6700 User’s Manual rabbit.com 102
F.6 Running Additional Sample Programs With Direct Connect
The sample programs discussed here are in the Dynamic C
SAMPLES\RCM5700\TCPIP\
or
SAM-
PLES\RCM6700\TCPIP
folder.
•
BROWSELED.C
—The Digital I/O accessory board must be installed with the jumpers set up as
shown below to run this sample program.
This program demonstrates a basic controller running a Web page. Four “LEDs” are created on
the Web page, and four buttons to toggle them. Users can change the status of the lights from
the Web browser. The LEDs on the Digital I/O accessory board match the ones on the Web
page. As long as you have not modified the
TCPCONFIG 1
macro in the sample program, enter
the following server address in your Web browser to bring up the Web page served by the sam-
ple program.
http://10.10.6.100
Otherwise use the TCP/IP settings you entered in the
TCP_CONFIG.LIB
library.
•
ETHERNET_TO_SERIAL.C
—Before you compile and run this
sample program, use the long 10-pin header to DB9 cable
(Part No. 540-0085) to connect header J4 to a PC COM port.
Line up the colored edge of the cable with pin 1 on header J4
as shown in the diagram (pin 1 is indicated by a small square
on the silkscreen). Note that two of the lines in the cable
opposite the colored side are not connected within the 10-pin
connector.
Open a Hyperterminal session (Start > Accessories > Com-
munications). Select the PC COM port the cable is con-
nected to and set the default serial parameters: