Starting Dynamic C; Run A Sample Program; Troubleshooting - Rabbit MiniCore RCM5700 User Manual

Hide thumbs Also See for MiniCore RCM5700:
Table of Contents

Advertisement

Distributor of Digi International: Excellent Integrated System Limited
Datasheet of 101-1274 - KIT DEV STANDARD RCM5700
Contact us: sales@integrated-circuit.com Website: www.integrated-circuit.com

2.3 Starting Dynamic C

If you already have Dynamic C installed, you are now ready to test your programming connec-
tions by running a sample program. Start Dynamic C by double-clicking on the Dynamic C icon
on your desktop or in your
the Dynamic C
Options > Project Options
verify that
Use USB to Serial Converter
You may have to select the COM port assigned to the USB cable on your PC. In Dynamic C, select
Options > Project Options
.
OK

2.4 Run a Sample Program

Find the file
, which is in the Dynamic C
PONG.C
with the
menu, compile it using the
File
menu. The
Run
STDIO
around in a box.
This program shows that the CPU is working.

2.4.1 Troubleshooting

If you receive the message
to the USB cable was identified and set up in Dynamic C as described above. This same error
occurs when Windows has already allocated the COM port to another process.
If you receive the message
nected to the wrong COM port, or the connection may be faulty. First, check both ends of the USB
cable to ensure that it is firmly plugged into the PC and the USB connector in the Interface Board.
Ensure that the module is firmly and correctly installed in its connector on the Interface Board.
If Dynamic C appears to compile the BIOS successfully, but you then receive a communication
error message when you compile and load a 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
menu. Select a slower Max download baud rate. Click
Project Options
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 lower-
ing the debugging baud rate as follows.
• Locate the
Serial Options
menu. Choose a lower debug baud rate. Click
Project Options
Press
to force Dynamic C to recompile the BIOS. You should receive a
<Ctrl-Y>
message once this step is completed successfully.
successfully
MiniCore RCM5700/RCM6700 User's Manual
menu. Select
Start
Store Program in Flash
menu. Then click on the "Communications" tab and
is selected to support the USB cable. Click
, then select this COM port on the "Communications" tab, then click
Compile
window will open on your PC and will display a small square bouncing
Could Not Open Serial Port
No Rabbit Processor Detected
dialog on the "Communications" tab in the Dynamic C
dialog on the "Communications" tab in the Dynamic C
folder. To run the program, open it
SAMPLES
menu, and then run it by selecting
, check that the COM port assigned
, the USB cable may be con-
to save.
OK
digi.com
on the "Compiler" tab in
.
OK
in the
Run
Options >
to save.
OK
Options >
Bios compiled
17

Advertisement

Table of Contents
loading

This manual is also suitable for:

Minicore rcm6700

Table of Contents