
User’s Manual
13
2.3 Starting Dynamic C
Once the PowerCore module is connected as described in the preceding pages, start
Dynamic C by double-clicking on the Dynamic C icon or by double-clicking on
dcrabXXXX.exe
in the Dynamic C root directory, where XXXX are version-specific
characters. Dynamic C uses the serial port on your PC that you specified during
installation.
If you are using a USB port to connect your computer to the PowerCore module, go to the
Options > Project Options
dialog box and select “Use USB to Serial Converter” on the
Communications
tab.
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.
If Dynamic C appears to compile the BIOS successfully, but you then receive a communi-
cation 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 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 Dynamic C cannot find the target system (error message "No Rabbit Processor
Detected."
)
:
Check that the PowerCore module is powered correctly — the red and yellow LEDs on
the Prototyping Board should be lit when the
PowerCore module is mounted on the Prototyp-
ing Board and the wall transformer is plugged in
.
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 PowerCore module.
Ensure that the PowerCore module is firmly and correctly installed in its socket 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.