101-0402 Rabbit Semiconductor, 101-0402 Datasheet - Page 26

no-image

101-0402

Manufacturer Part Number
101-0402
Description
KIT DEV TCP/IP 2000 INTL
Manufacturer
Rabbit Semiconductor
Series
RabbitCore 2000r
Type
MPU Moduler
Datasheet

Specifications of 101-0402

Contents
RabbitCore Module, Dev. Board, Cable and Dynamic C® CD-Rom
For Use With/related Products
RCM2000, RCM2010, RCM2020
Lead Free Status / RoHS Status
Vendor undefined / Vendor undefined
Now, open the file
will appear in a window, as shown in Figure 5 below (minus some comments). Use the
mouse to place the cursor on the function name
H>
do this with all functions in Dynamic C libraries, including libraries you write yourself.
Close the documentation box and continue.
To run the program
pile
Demonstration Board should start going on and off 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-
• A message reports “No Rabbit Processor Detected” in cases where the wall transformer
22
main(){
piled...” If you did not receive this message or you get a communication error, recom-
pile the BIOS by typing
is either not connected or is not plugged in.
. This will bring up a documentation box for the function
} //
int j;
WrPortI(PDDDR,&PDDDRShadow,0x03);
WrPortI(PDDCR,&PDDCRShadow,0x00);
menu, and then run it by selecting
while(1) {
} // end while(1)
BitWrPortI(PDDR,&PDDRShadow,0xFF,0);
BitWrPortI(PDDR,&PDDRShadow,0x00,1);
for(j=0; j<20000; j++);
BitWrPortI(PDDR,&PDDRShadow,0x00,0);
BitWrPortI(PDDR,&PDDRShadow,0xFF,1);
for(j=0; j<20000; j++);
end of main
DEMOBRD1.C
DEMOBRD1.C
C programs begin with main
Figure 5. Sample Program DEMOBRD1.C
<Ctrl-Y>
, which is in the
, load it with the
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
Run
in the
Recompile BIOS
WrPortI
Samples\ICOM
File
Run
menu, compile it using the
Start a loop
menu. LED1 and LED2 on the
End of the endless loop
Time delay by counting
Set up Port D to output
to LED1 and LED2
to 20,000
Time delay by counting
to 20,000
in the program and type
Turn on LED1 and
turn off LED2
Turn off LED1 and
turn on LED2
WrPortI
from the
folder. The program
TCP/IP Development Kit
. In general, you can
Compile
<Ctrl-
Com-
menu.

Related parts for 101-0402