Rabbit RCM3200 Bedienungsanleitung Seite 15

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 128
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 14
User’s Manual 9
2.3 Run a Sample Program
If you already have Dynamic C installed, you are now ready to test your programming
connections by running a sample program.
The RCM3200 runs at 44.2 MHz, and has a fast program execution SRAM to ensure that
the memory where any programs run can handle the higher clock speed. In order to run
Dynamic C applications in the fast SRAM, you will need to set the compiler to run the
application in the program execution SRAM by selecting
Code and BIOS in Flash, Run
in RAM
from the Dynamic C Options > Project Options > Compiler menu.
If you are using a USB port to connect your computer to the RCM3000 module, choose
Options > Project Options and select “Use USB to Serial Converter” under the
Communications tab.
Find the file
PONG.C, which is in the Dynamic C SAMPLES folder. To run the program,
open it with the File menu (if it is not still open), compile it using the Compile menu, and
then run it by selecting Run in the Run menu. The STDIO window will open and will dis-
play 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 Troubleshooting
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.
If there are any other problems:
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 RCM3200.
Ensure that the RCM3200 module is firmly and correctly installed in its connectors on
the Prototyping Board.
Seitenansicht 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 127 128

Kommentare zu diesen Handbüchern

Keine Kommentare