20-101-0404 Rabbit Semiconductor, 20-101-0404 Datasheet - Page 16

MODULE RABBITCORE RCM2000

20-101-0404

Manufacturer Part Number
20-101-0404
Description
MODULE RABBITCORE RCM2000
Manufacturer
Rabbit Semiconductor
Datasheet

Specifications of 20-101-0404

Module/board Type
MPU Core Module
Product
Microcontroller Modules
Core Processor
Rabbit 2000
Clock Speed
25.8 MHz
Interface Type
Ethernet, Serial
Flash
256 KB
Timers
5 x 8 bit, 2 x 10 bit
Operating Supply Voltage
4.75 V to 5.25 V
Board Size
48.3 mm x 58.4 mm x 14 mm
Core
RCM2000
Processor Series
RCM2000
Cpu Core
Rabbit 2000
For Use With/related Products
RCM2000
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
316-1083
3.1.1 Running Sample Program FLASHLED.C
This sample program will be used to illustrate some of the functions of Dynamic C.
First, open the file
will appear in a window, as shown in Figure 3 below (minus some comments). Use the
mouse to place the cursor on the function name
This will bring up a documentation box for the function
this with all functions in Dynamic C libraries, including libraries you write yourself. Close
the documentation box and continue.
To run the program
then compile and run it by pressing
the Prototyping Board should start flashing if everything went well. If this doesn’t work
review the following points.
• The target should be ready, which is indicated by the message “BIOS successfully com-
12
main(){
piled...” If you did not receive this message or you get a communication error, recom-
pile the BIOS by typing
} //
int j;
WrPortI(SPCR,&SPCRShadow,0x84);
WrPortI(PADR,&PADRShadow,0xFF);
while(1) {
} // end while
BitWrPortI(PADR,&PADRShadow,1,1);
for(j=0; j<32000; j++);
BitWrPortI(PADR,&PADRShadow,0,1);
for(j=0; j<25000; j++);
end of main
FLASHLED.C
FLASHLED.C
Figure 3. Sample Program FLASHLED.C
C programs begin with main
<Ctrl-Y>
, which is in the
, open it with the
F9
Note: See the Rabbit 2000 Microprocessor User’s Manual
(Software Chapter) for details on the routines that read and
write I/O ports.
or select
or by selecting
Recompile BIOS
WrPortI
SAMPLES/RCM2000
File
Run
menu (if it is not already open),
in the program and type
WrPortI
Start a loop
End of the endless loop
Time delay by counting
Turn LED DS3 on
Set up Port A to output
to LED DS2 and DS3
to 32,000
Time delay by counting
to 25,000
Turn LED DS3 off
in the
from the
Run
. In general, you can do
folder. The program
menu. The LED on
RabbitCore RCM2000
Compile
<Ctrl-H>
menu.
.

Related parts for 20-101-0404