Starting Dynamic C; Run A Sample Program; Troubleshooting - Rabbit RabbitCore RCM3100 User Manual

C-programmable module
Hide thumbs Also See for RabbitCore RCM3100:
Table of Contents

Advertisement

Distributor of Digi International: Excellent Integrated System Limited
Datasheet of 101-0533 - KIT DEV RABBIT3000/RCM3100
Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com

2.3 Starting Dynamic C

Once the RCM3100 is connected as described in the preceding pages, start Dynamic C by
double-clicking on the Dynamic C icon or by double-clicking on
the Dynamic C root directory, where
uses the serial port specified during installation.
If you are using a USB port to connect your computer to the RCM3100, choose
Project Options
and select "Use USB to Serial Converter." You may have to determine
which COM port was assigned to the RS-232/USB converter.

2.4 Run a Sample Program

Find the file
, which is in the Dynamic C
PONG.C
open it with the
menu (if it is not still open), then compile and run it by pressing
File
The
window will open and will display a small square bouncing around in a box.
STDIO
This program shows that the CPU is working.

2.4.1 Troubleshooting

If Dynamic C appears to compile the BIOS successfully, but you then receive a communi-
cation error message when you compile and load the sample program, it is possible that
your PC cannot handle the higher program-loading baud rate. Try changing the maximum
download rate to a slower baud rate as follows.
• Locate the Serial Options dialog in the Dynamic C Options > Project Options >
Communications menu. Select a slower Max download baud rate.
If a program compiles and loads, but then loses target communication before you can
begin debugging, it is possible that your PC cannot handle the default debugging baud
rate. Try lowering the debugging baud rate as follows.
• Locate the Serial Options dialog in the Dynamic C Options > Project Options >
Communications menu. Choose a lower debug baud rate.
If there are any other problems:
• Check to make sure you are using the PROG connector, not the DIAG connector, on
the programming cable.
• Check both ends of the programming cable to ensure that they are firmly plugged into
the PC and the programming port on the RCM3100.
• Ensure that the RCM3100 module is firmly and correctly installed in its connectors on
the Prototyping Board.
• Select a different COM port within Dynamic C. From the Options menu, select
Project Options, then select Communications. Select another COM port from the
list, then click OK. Press <Ctrl-Y> to force Dynamic C to recompile the BIOS. If
Dynamic C still reports it is unable to locate the target system, repeat the above steps until
you locate the active COM port.
User's Manual
are version-specific characters. Dynamic C
XXXX
folder. To run the program,
SAMPLES
in
dcrab_XXXX.exe
Options >
.
F9
9

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rabbitcore rcm3110

Table of Contents