14
RabbitCore RCM3305/RCM3315
2.3 Starting Dynamic C
NOTE: Dynamic C v. 9.60 or a later version is required if you are using an RCM3309 or
an RCM3319 RabbitCore module.
Once the RCM3305 series module is connected as described in the preceding pages, start
Dynamic C by double-clicking on the Dynamic C icon on your desktop or in your Start
menu. Select Code and BIOS in Flash, Run in RAM on the “Compiler” tab in the
Dynamic C Options > Project Options menu. Click OK.
If you are using a USB port to connect your computer to the RCM3305/RCM3315 module,
choose Options > Project Options and select “Use USB to Serial Converter” on the
Communications
tab. Click OK.
2.4 Run a Sample Program
Use the File menu to open the sample program PONG.C, which is in the Dynamic C
SAMPLES
folder. Press function key F9 to compile and run the program. The STDIO win-
dow will open on your PC and will display a small square bouncing around in a box.
This program shows that the CPU is working. The sample program described in
2.4.1 Troubleshooting
If Dynamic C cannot find the target system (error message "No Rabbit Processor
Detected."
):
Check that the RCM3305 series module is powered correctly — the red CORE LED on
the Prototyping Board should be lit when the module is mounted on the Prototyping Board and
the AC adapter is plugged in
.
Check both ends of the programming cable to ensure that they are firmly plugged into
the PC and the PROG connector, not the DIAG connector, is plugged in to the program-
ming port on the RCM3305 series module with the marked (colored) edge of the pro-
gramming cable towards pin 1 of the programming header.
Ensure that the RCM3305 series module is firmly and correctly installed in its connec-
tors on the Prototyping Board.
Dynamic C uses the COM port or USB port specified during installation. Select a dif-
ferent 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 COM
port used by the programming cable.
If you get an error message when you plugged the programming cable into a USB port,
you will have to install USB drivers. Drivers for Windows XP are available in the
Dynamic C Drivers\Rabbit USB Programming Cable\WinXP_2K folder —
double-click DPInst.exe to install the USB drivers. Drivers for other operating sys-