Z-World RabbitCore RCM3200 User Manual - page 25
User’s Manual
21
3.4 Sample Programs
Sample programs are provided in the Dynamic C
Samples
folder, which is shown below.
The various folders contain specific sample programs that illustrate the use of the corre-
sponding Dynamic C libraries. For example, the sample program
PONG.C
demonstrates
the output to the Dynamic C
STDIO
window.
Two folders contain sample programs that illustrate features unique to the RCM3200.
• RCM3200
—Demonstrates the basic operation and the Ethernet functionality of the
RCM3200.
• TCPIP
—Demonstrates more advanced TCP/IP programming for Z-World’s Ethernet-
enabled Rabbit-based boards.
Follow the instructions included with the sample program to connect the RCM3200 and
the other hardware identified in the instructions.
Before running any Dynamic C applications, you will need to allow the compiler to run
the application in the fast program execution SRAM by selecting
Code and BIOS in
Flash, Run in RAM
from the Dynamic C
Options > Compiler
menu.
To run a sample program, open it with the
File
menu (if it is not still open), compile it
using the
Compile
menu (or press
F5
), and then run it by selecting
Run
in the
Run
menu
(or press
F9
). The RCM3200 must be in Program Mode (see Figure 6) and must be con-
nected to a PC using the programming cable.
More complete information on Dynamic C is provided in the Dynamic C Premier User’s
Manual.