• A message reports "No Rabbit Processor Detected" in cases where the RCM2000 and
the Prototyping Board are not connected together, the wall transformer is not con-
nected, or is not plugged in. (The red power LED lights whenever power is connected.)
• The programming cable must be connected to the RCM2000. (The colored wire on the
programming cable is closest to pin 1 on header J3 on the RCM2000, as shown in
Figure 4.) The other end of the programming cable must be connected to the PC serial
port. The COM port specified in the Dynamic C
one the programming cable is connected to.
• To check if you have the correct serial port, select
type
. If the "BIOS successfully compiled ..." message does not display, try a
<Ctrl-Y>
different serial port using the Dynamic C
you are plugged into. Don't change anything in this menu except the COM number.
The baud rate should be 115,200 bps and the stop bits should be 1.
4.3 Single-Stepping
Compile or re-compile
program will compile and the screen will come up with a highlighted character (green) at
the first executable statement of the program. Use the
key is pressed, the cursor will advance one statement. When you get to the
F8
statement, it becomes impractical to single-step further because you would have
j< ...
to press
F8
thousands of times. We will use this statement to illustrate watch expressions.
4.3.1 Watch Expressions
Type
or chose
<Ctrl-W>
come up. Type the lower case letter j and click on add to top and close. Now continue sin-
gle-stepping with
F8
printed in the watch window. Note how the value of
executed.
4.3.2 Break Point
Move the cursor to the start of the statement:
for(j=0; j<25000; j++);
To set a break point on this statement, type
menu. A red highlight will appear on the first character of the statement. To get the pro-
gram running at full speed, type
advance until it hits the break point. Then the break point will start flashing and show both
red and green colors. Note that LED DS3 is now solidly turned on. This is because we
have passed the statement turning on LED DS3. Note that
value 32000. This is because the loop above terminated when
To remove the break point, type
continue program execution, type
should be flashing again since the program is running at full speed.
24
by clicking the
FLASHLED.C
Add/Del Watch Expression
. Each time you step, the watch expression (
or select
F9
or select
F2
or select
F9
Options
menu must be the same as the
, then
Compile
Options
menu until you find the serial port
button on the task bar. The
Compile
key to single-step. Each time the
F8
in the
Inspect
advances when the statement
j
or select
F2
Toggle Breakpoint
on the
menu. The program will
Run
Run
in the watch window has the
j
j
Toggle Breakpoint
from the
Run
Run
, or
Compile BIOS
for(j=0,
menu. A box will
) will be evaluated and
j
j++
from the
reached 32000.
on the
menu. To
Run
menu. Now the LED
RabbitCore RCM2000
is
Run
Need help?
Do you have a question about the RabbitCore RCM2000 and is the answer not in the manual?
Questions and answers