
MiniCore RCM5700/RCM6700 User’s Manual
17
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 Start menu. Select Store Program in Flash on the “Compiler” tab in
the Dynamic C Options > Project Options menu. Then click on the “Communications” tab and
verify that Use USB to Serial Converter is selected to support the USB cable. Click OK.
You may have to select the COM port assigned to the USB cable on your PC. In Dynamic C, select
Options > Project Options
, then select this COM port on the “Communications” tab, then click
OK
.
2.4 Run a Sample Program
Find the file PONG.C, which is in the Dynamic C SAMPLES folder. To run the program, open it
with the File menu, compile it using the Compile menu, and then run it by selecting Run in the
Run
menu. The STDIO window will open on your PC and will display a small square bouncing
around in a box.
This program shows that the CPU is working.
2.4.1 Troubleshooting
If you receive the message Could Not Open Serial Port, check that the COM port assigned
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 No Rabbit Processor Detected, the USB cable may be con-
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 dialog on the “Communications” tab in the Dynamic C Options >
Project Options
menu. Select a slower Max download baud rate. Click OK to save.
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 dialog on the “Communications” tab in the Dynamic C Options >
Project Options
menu. Choose a lower debug baud rate. Click OK to save.
Press <Ctrl-Y> to force Dynamic C to recompile the BIOS. You should receive a Bios compiled
successfully
message once this step is completed successfully.