User’s Manual
15
2.3 Starting Dynamic C
Once the BL2100 is connected to your PC and to a power source,
start Dynamic C by double-
clicking on the Dynamic C
icon on your desktop
or in your
Start
menu
.
If you are using a USB port to connect your computer to the BL2100, choose
Options >
Project Options
and select “Use USB to Serial Converter” under 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
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. The sample program described in
Section 5.2.3, “Run the PINGME.C Demo,” tests the TCP/IP portion of the board.
2.4.1 Troubleshooting
If Dynamic C cannot find the target system (error message
"No Rabbit Processor
Detected."
):
•
Check that the BL2100 is powered correctly —
the AC adapter should be plugged in
to the
+RAW
and
GND
positions on screw-terminal header J5 (IDC header J4).
•
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 RabbitCore module with the marked (colored) edge of the program-
ming cable towards pin 1 of the programming header.
•
Ensure that the RabbitCore module is firmly and correctly installed in its connectors on
the BL2100 main board.
•
Dynamic C uses the COM port specified during installation. 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 COM port
used by the programming cable.
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 > Communications
menu. Select a slower Max download baud rate.
Summary of Contents for Smartcat
Page 6: ...Smartcat BL2100 ...
Page 14: ...8 Smartcat BL2100 ...
Page 60: ...54 Smartcat BL2100 ...
Page 78: ...72 Smartcat BL2100 ...
Page 84: ...78 Smartcat BL2100 ...
Page 118: ...112 Smartcat BL2100 ...
Page 124: ...118 Smartcat BL2100 ...
Page 132: ...126 Smartcat BL2100 ...
Page 134: ......