![background image](http://html1.mh-extra.com/html/rabbit/rcm3365/rcm3365_user-manual_3124182021.webp)
User’s Manual
15
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
and select “Use USB to Serial Converter” on the
Communications
tab.
2.3.1.1 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 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 —
the red
CORE
LED on the
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
connector, not the
DIAG
connector, is plugged in to the program-
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
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 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.
Summary of Contents for RCM3365
Page 6: ...RabbitCore RCM3365 RCM3375 Schematics 157...
Page 14: ...8 RabbitCore RCM3365 RCM3375...
Page 24: ...18 RabbitCore RCM3365 RCM3375...
Page 72: ...66 RabbitCore RCM3365 RCM3375...
Page 108: ...102 RabbitCore RCM3365 RCM3375...
Page 142: ...136 RabbitCore RCM3365 RCM3375...
Page 148: ...142 RabbitCore RCM3365 RCM3375...
Page 164: ......