26
RabbitCore RCM2100
4.2 Loading and Compiling Programs in Dynamic C
This section gives you a short summary of how to connect the target system, start
Dynamic C, and load a sample program. For more details on these topics, refer to Sections
2 and 3 of this manual, and the Dynamic C Premier User’s Manual.
4.2.1 Connect Prototyping Board
Section 2.3 provides detailed instructions for setting up the RCM2100 Prototyping Board
and making its hardware connections. In summary:
•
Install the RCM2100 module on the Prototyping Board;
•
Connect the
PROG
connector of the programming cable to J5 of the RCM2100, and the
other end of this cable to your PC’s COM port;
•
Connect an Ethernet cable to the module’s RJ-45 jack, and to a LAN or micro-LAN
hub;
•
Connect the power supply to the Prototyping Board.
The
PWR
LED should light up. If it does not, see Section 2.3.
4.2.2 Start Dynamic C
Section 3.4 of this manual provides detailed instructions for installing and starting up Dynamic C.
•
Double-click on the Dynamic C icon.
Dynamic C should start and compile the BIOS, completing with a message that reads
"BIOS successfully compiled and loaded."
If it does not, see Section 3.4.
4.2.3 Load Program
In Dynamic C, use the
File | Open
menu item to open the file explorer, and double-click
on the
Samples
folder. In that folder, double-click on the
RCM2100
folder. In that folder,
double-click on the file
FlashLED.c
.
4.2.4 Compile & Run Program
With
FlashLED.c
open in a Dynamic C window, press
F9
or click on the
Run | Run
menu item. Dynamic C should compile the program, and when it finishes, LED DS3 on
the Prototyping Board should begin to flash.
Congratulations! You’ve just compiled and run your first Dynamic C program on the
RCM2100 module!
NOTE: For a quick tutorial on using Dynamic C’s editing, compiling and debugging fea-
tures, see Section 3 in the Dynamic C Premier User’s Manual.
Summary of Contents for RCM2100
Page 28: ...24 RabbitCore RCM2100...
Page 43: ...C NONE CONFORMAL COATING BATTERY BACK UP BANK SELECT...
Page 45: ...B NONE B NONE...
Page 47: ......