76
Intellicom (OP6600/OP6700)
A message reports “No Rabbit Processor Detected” in cases where the wall transformer
is either not connected or is not plugged in.
The programming cable must be connected to the Intellicom board. (The colored wire
on the programming cable is closest to pin 1 on header J4 on the Intellicom board, as
shown in Figure 1.) The other end of the programming cable must be connected to the
PC serial port. The COM port specified in the Dynamic C Options menu must be the
same as the one the programming cable is connected to.
To check if you have the correct serial port, select Compile, then Compile BIOS, or
type <ctrl-Y>. If the “BIOS successfully compiled …” message does not display, try a
different serial port using the Dynamic C Options menu until you find the serial port
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.
D.2.1 Single-Stepping
Compile or re-compile DEMOBRD1.C by clicking the Compile button on the task bar. The
program will compile and the screen will come up with a highlighted character (green) at
the first executable statement of the program. Use the F8 key to single-step. Each time the
F8
key is pressed, the cursor will advance one statement. When you get to the for(j=0,
j< ...
statement, it becomes impractical to single-step further because you would have
to press F8 thousands of times. We will use this statement to illustrate watch expressions.
D.2.1.1 Watch Expression
Type <ctrl-W> or chose Add/Del Watch Expression in the Inspect menu. A box will
come up. Type the lower case letter j and click on add to top and close. Now continue sin-
gle-stepping with F8. Each time you step, the watch expression (j) will be evaluated and
printed in the watch window. Note how the value of j advances when the statement j++ is
executed.
D.2.1.2 Break Point
Move the cursor to the start of the statement:
for(j=0; j<20000; j++);
To set a break point on this statement, type F2 or select Breakpoint from the Run menu. A
red highlight will appear on the first character of the statement. To get the program run-
ning at full speed, type F9 or select Run on the Run menu. The program will advance until
it hits the break point. The break point will start flashing both red and green colors. Note
that LED1 on the Demonstration Board is now solidly turned on. This is because we have
passed the statement turning on LED1.
To remove the break point, type F2 or select Toggle Breakpoint on the Run menu. To
continue program execution, type F9 or select Run from the Run menu. Now LED1
should be flashing again because the program is running at full speed.
You can set break points while the program is running by positioning the cursor to a state-
ment and using the F2 key. If the execution thread hits the break point, a break point will