User’s Manual
11
3. R
UNNING
S
AMPLE
P
ROGRAMS
To develop and debug programs for the RCM2200 (and for all
other Rabbit hardware), you must install and use Dynamic C.
This chapter
provides a tour of the sample programs
for the
RCM2200.
3.1 Sample Programs
To help familiarize you with the RCM2200 modules, several sample Dynamic C programs
have been included. Loading, executing and studying these programs will give you a solid
hands-on overview of the RC M2200’s capabilities, as well as a quick start with Dynamic C
as an application development tool. These programs are intended to serve as tutorials, but
then can also be used as starting points or building blocks for your own applications.
NOTE:
It is assumed in this section that you have at least an elementary grasp of ANSI C.
If you do not, see the introductory pages of the
Dynamic C User’s Manual
for a sug-
gested reading list.
Each sample program has comments that describe the purpose and function of the program.
Before running any of these sample program, make sure that your RCM2200 is connected
to the Prototyping Board and to your PC as described in Section 2.1, “Connections.” To
run a sample program, open it with the
File
menu (if it is not already open), then compile
and run it by pressing
F9
or by selecting
Run
in the
Run
menu.
Sample programs are provided in the Dynamic C
SAMPLES
folder. Two folders contain
sample programs that illustrate features unique to the RCM2200.
•
RCM2200
—Demonstrates the basic operation and the Ethernet functionality of the
RCM2200.
•
TCPIP
—Demonstrates more advanced TCP/IP programming for Rabbit’s Ethernet-
enabled Rabbit-based boards.
Complete information on Dynamic C is provided in the
Dynamic C User’s Manual
.
Summary of Contents for RabbitCore RCM2200
Page 1: ...RabbitCore RCM2200 C Programmable Module with Ethernet User s Manual 019 0097 090417 G...
Page 6: ...RabbitCore RCM2200...
Page 36: ...30 RabbitCore RCM2200...
Page 42: ...36 RabbitCore RCM2200...
Page 66: ...60 RabbitCore RCM2200...
Page 76: ...70 RabbitCore RCM2200...
Page 80: ...74 RabbitCore RCM2200...
Page 86: ...80 RabbitCore RCM2200...
Page 90: ......