20-101-0356 Rabbit Semiconductor, 20-101-0356 Datasheet - Page 46

COMPUTER SINGLE-BOARD BL1800

20-101-0356

Manufacturer Part Number
20-101-0356
Description
COMPUTER SINGLE-BOARD BL1800
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-101-0356

Module/board Type
Single Board Computer Module
Product
Modules
Data Bus Width
8 bit
Processor Type
Rabbit 2000
Sram
128 KB
Flash
256 KB
Timers
8 bit, 10 bit
Number Of I/os
14
Backup Battery
3 V Lithium Coin Type
Operating Voltage
8 V to 40 V
Power Consumption
1.2 W
Board Size
89 mm x 64 mm x 19 mm
Description/function
Computer Module
For Use With/related Products
BL1800
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
316-1079
Editing the Program
Click on the
you can change the program. Use the
with a new name so as not to change the demo program. Save the file as
change the number 25000 in the
recompile and run the program. The LED will start flashing, but it will flash much faster
than before because you have changed the loop counter terminal value from 25000 to
10000.
Watching Variables Dynamically
Go back to edit mode (select edit) and load the program
Open
has been added along with a statement to increment
The statement:
has been added. This is a debugging statement that makes it possible to view variables
while the program is running.
Use the
window and add the watch expression
type
incrementing about 5 times a second.
As an experiment add another expression to the watch window:
Then type
Summary of Features
So far you have practiced using the following features of Dynamic C.
• Loading, compiling and running a program. When you load a program it appears in an
• Single-stepping. This is done with the
42
edit window. You can compile by selecting
Compile
and downloaded to the target over the serial port. The execution proceeds to the first
statement of main where it pauses, waiting for you to command the program to run,
which you can do with the
compile and start the program running with one keystroke, use
the program is not already compiled, the run command will compile it first.
stepping. If the
F8
stepped over.
<Ctrl-U>
runwatch();
k*5
key the subroutine is executed at full speed when the statement that calls it is
command. This program is the same as the first program, except that a variable
F9
<Ctrl-U>
key to compile and run
menu. When you compile the program, it is compiled into machine language
Edit
. Each time you type
box on the task bar. This will set Dynamic C into the edit mode so that
F7
several times to observe the watch expressions
key is used, then descent into subroutines will take place. With the
F9
for (..
key or by selecting
DEMOJR2.C
<Ctrl-U>
Save as
k
to the top of the list of watch expressions. Now
F8
statement to 10000. Then use the
, you will see the current value of
key. The
Compile
choice on the
. Now type
k
Run
F7
each time around the endless loop.
on the task bar or from the
DEMOJR2.C
key can also be used for single-
on the
<Ctrl-W>
File
Run
F9
menu to save the file
k
, the run command. If
using the
to open the watch
and
menu. If want to
Jackrabbit (BL1800)
MYTEST.C
k*5
F9
.
k
File
, which is
key to
. Now
menu
k

Related parts for 20-101-0356