Running Dynamic C Via Ethernet Cables; Run A Sample Program - Rabbit RCM3365 User Manual

C-programmable core module with nand flash mass storage and ethernet
Table of Contents

Advertisement

2.3.2 Running Dynamic C via Ethernet Cables

The firmware needed to run RabbitSys has been preloaded on RCM3365 RabbitCore
modules sold for use with Dynamic C RabbitSys. The software from the Dynamic C and
the Dynamic C RabbitSys CDs must be installed on your PC. A system running RabbitSys
can be connected to a DHCP network using straight-through Ethernet cables, or it can be
connected directly to the PC via an Ethernet crossover cable.
• If you are connecting to a network with a DHCP server, use a CAT 5/6 straight-through
Ethernet cable to connect the PC or workstation to the network, and connect the
Ethernet jack on the RCM3365 to the network using a second CAT 5/6 straight-through
Ethernet cable.
• If your PC or workstation is running a DHCP server, connect the CAT 5/6 Ethernet
crossover cable from the PC or workstation directly to the Ethernet jack on the
RCM3365. Follow the instructions below for a straight-through Ethernet cable.
TIP: It is recommended that you use one of the above options for a PC/workstation or
network with a DHCP server or the serial cable programming option when you are
using the RCM3365 for the first time since these options are easier to set up and run.
• If your PC/workstation does not have a DHCP server, you will have to enter the TCP/IP
parameters into the RCM3365 module and on to the PC, notebook, or workstation. See
Appendix E for more information on this option.
Using DHCP Network with Straight-Through Ethernet Cables
Enable separate instruction and data spaces and select "Compile program in RabbitSys user
mode" from the Dynamic C
Before you compile and run a program via the Ethernet for the first time via a DHCP net-
work, you must run the rdiscover utility by double-clicking it on your PC desktop. Your
PC must be connected to the same DHCP network as the RCM3365. The utility will open a
window and list the MAC addresses for any RabbitSys boards connected to the network.
Select a board from the list to display additional information such as the board's Internet
address. This is the IP address to enter when you access the Dynamic C
Options > Communications
enter "32023" for the Control Port and the default login values of "admin" and "pass-
word."

2.3.2.1 Run a Sample Program

Use the
menu to open the sample program
File
folder. Press function key
SAMPLES
window will open on your PC and will display a small square bouncing around in a box.
This program shows that the CPU is working. The sample program described in
Section 6.5, "Run the PINGME.C Sample Program," tests the TCP/IP portion of the board.
16
Options > Project Options > Compiler
menu to select "Use TCP/IP Connection." You must also
PONG.C
F9
to compile and run the program. The
menu.
Options > Project
, which is in the Dynamic C
RabbitCore RCM3365/RCM3375
STDIO

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rcm3375

Table of Contents