Running Dynamic C Via Serial Programming Cable; Run A Sample Program; Troubleshooting - Rabbit RCM3365 User Manual

C-programmable core module with nand flash mass storage and ethernet
Table of Contents

Advertisement

2.3.1 Running Dynamic C via Serial Programming Cable

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 RCM3365/RCM3375 module,
choose
Options > Project Options
Communications
tab.

2.3.1.1 Run a Sample Program

Use the
menu to open the sample program
File
folder. Press function key
SAMPLES
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 6.5, "Run the PINGME.C Sample Program," tests the TCP/IP portion of the board.

2.3.1.2 Troubleshooting

If Dynamic C cannot find the target system (error message "No Rabbit Processor
Detected."):
• Check that the RCM3365/RCM3375 is powered correctly —
Prototyping Board should be lit when the RCM3365/RCM3375 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
ming port on the RCM3365/RCM3375 with the marked (colored) edge of the program-
ming cable towards pin 1 of the programming header.
• Ensure that the RCM3365/RCM3375 module is firmly and correctly installed in its
connectors on the Prototyping Board.
• Dynamic C uses the COM port specified during installation. Select a different COM
port within Dynamic C. From the
Communications
to force Dynamic C to recompile the BIOS. If Dynamic C still reports it is
<Ctrl-Y>
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 the 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.
User's Manual
and select "Use USB to Serial Converter" on the
F9
to compile and run the program. The
.
connector, not the
Options
. Select another COM port from the list, then click OK. Press
, which is in the Dynamic C
PONG.C
the red CORE LED on the
DIAG
connector, is plugged in to the program-
menu, select
Project Options
STDIO
, then select
15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Rcm3375

Table of Contents