RabbitCore RCM2200 Parts list manual

RabbitCore RCM2200
C-Programmable Module with Ethernet
Getting Started Manual
019–0096 • 010501–B

ii RabbitCore RCM2200
RabbitCore RCM2200: Getting Started Manual
Part Number 019-0096 • 010501–B • Printed in U.S.A.
©2001 Z-World Inc. • All rights reserved.
Z-World reserves the right to make changes and
improvements to its products without providing notice.
Notice to Users
RABBIT SEMICONDUCTOR PRODUCTS ARE NOT AUTHORIZED FOR
USE AS CRITICAL COMPONENTS IN LIFE-SUPPORT DEVICES OR SYS-
TEMS UNLESS A SPECIFIC WRITTEN AGREEMENT REGARDING SUCH
INTENDED USE IS ENTERED INTO BETWEEN THE CUSTOMER AND
RABBIT SEMICONDUCTOR PRIOR TO USE. Life-support devices or systems
are devices or systems intended for surgical implantation into the body or to sustain
life, and whose failure to perform, when properly used in accordance with instruc-
tions for use provided in the labeling and user’s manual, can be reasonably
expected to result in significant injury.
No complex software or hardware system is perfect. Bugs are always present in a
system of any size. In order to prevent danger to life or property, it is the responsi-
bility of the system designer to incorporate redundant protective mechanisms
appropriate to the risk involved.
Trademarks
Rabbit 2000 is a trademark of Rabbit Semiconductor.
Dynamic C is a registered trademark of Z-World Inc.
Z80/Z180 is a trademark of Zilog Inc.
Rabbit Semiconductor
2932 Spafford Street
Davis, California 95616-6800
USA
Telephone: (530) 757-8400
Fax: (530) 757-8402
www.rabbitsemiconductor.com
Z-World Inc.
2900 Spafford Street
Davis, California 95616-6800
USA
Telephone: (530) 757-3737
Fax: (530) 753-5141
www.zworld.com

Getting Started Manual iii
Table of Contents
1 Introduction & Overview
1.1 RCM2200 Description. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
1.1.1 Other Factory Versions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1
1.1.2 Physical & Electrical Specifications. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-2
1.2 Development Software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
1.3 How to Use This Manual. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
1.3.1 Additional Product Information. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
1.3.2 Additional Reference Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
1.3.3 Using Online Documentation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-3
2 Hardware Setup
2.1 Development Kit Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1
2.2 Overview of the Prototyping Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
2.2.1 Prototyping Board Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-2
2.2.2 Prototyping Board Expansion. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-3
2.3 Development Hardware Connections. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-4
2.3.1 Attach Module to Prototyping Board . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-5
2.3.2 Connect Programming Cable. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
2.3.3 Connect Ethernet Network Cable . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-6
2.3.4 Connect Power. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7

iv RabbitCore RCM2200
2.4 Where Do I Go From Here?. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-7
2.4.1 Technical Support . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-8
3 Software Installation & Overview
3.1 An Overview of Dynamic C. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-1
3.2 System Requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
3.2.1 Hardware Requirements. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
3.3 Installing Dynamic C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-2
3.3.1 Program & Documentation File Location . . . . . . . . . . . . . . . . . . . . . . . . 3-2
3.3.2 Installation Type . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
3.3.3 Select COM Port . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
3.3.4 Desktop Icons. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-3
3.4 Starting Dynamic C . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
3.4.1 Communication Error Messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
3.5 Sample Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3-4
4 Using the TCP/IP Features
4.1 TCP/IP Connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
4.2 Running TCP/IP Sample Programs . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-1
4.3 IP Addresses Explained . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-3
4.4 How IP Addresses are Used . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
4.5 Dynamically Assigned Internet Addresses. . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-4
4.6 How to Set IP Addresses in the Sample Programs . . . . . . . . . . . . . . . . . . . . . 4-4
4.7 How to Set Up your Computer’s IP Address For Direct Connect. . . . . . . . . . 4-5
4.8 Run the PINGME.C Demo . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-5
4.9 Running More Demo Programs With Direct Connect . . . . . . . . . . . . . . . . . . . 4-6
4.10 Where Do I Go From Here? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4-6
Schematics

Getting Started Manual Introduction & Overview 1–1
Introduction & Overview 1
The RabbitCore RCM2200 is an advanced module that incorporates the
powerful Rabbit 2000™microprocessor, flash memory, static RAM, digital
I/O ports and a 10Base-T Ethernet port, all on a PCB just half the size of a
business card.
1.1 RCM2200 Description
The RCM2200 is a small-footprintmodule designed
for use on a motherboard that supplies power and
interface to real-world I/O devices. Its two 26-pin
connection headers provide 26 parallel user I/O
lines, shared with three serial ports, along with data,
address and control lines. A fourth serial port and
three additional I/O lines are available on the pro-
gramming header.
A fully-enabled slave port permits glueless master-
slave interface with another Rabbit-based system.
The slave port may also be used with non-Rabbit
systems, although additional logic may be required.
The RCM2200 is equipped with a 10Base-T Ether-
net port, 256k flash memory and 128k static RAM.
1.1.1 Other Factory Versions
To accommodate developers with specific needs,
alternate versions of the RCM2200 module can be
obtained in production quantities on special order.
In addition, a variant of the RCM2200 is available.
The RCM2300 omits the Ethernet connectivity but
offers a much smaller footprint, one-half the size of
the RCM2200.

1–2Introduction & Overview RabbitCore RCM2200
1.1.2 Physical & Electrical
Specifications
Table 1–1 lists the basic specifications for the
RCM2200.
NOTE: For complete product specifi-
cations, see Appendix A in the Rab-
bitCore RCM2200 User’s Manual.
The RCM2200 modules have two 26-pin headers to
which cables can be connected, or which can be
plugged into matching sockets on a production
device. The pinouts for these connectors are shown
in Figure 1–1 below.
Table 1–1: RCM2200 specifications
Specification Data
Power Supply 4.75 –5.25 VDC (134 mA at 22.1 MHz clock speed)
Size 2.3 x 1.6 x 0.86 inches (59 x 41 x 22 mm)
Environmental –40°C to 70°C, 5–95% humidity, non-condensing
Figure 1–1: The complete pinout for the RCM2200 module connectors.
PA0
PA2
PA4
PA6
/RES
PB2
PB4
PB7
D6
D4
D2
D0
VCC
PA1
PA3
PA5
PA7
PB0
PB3
PB5
D7
D5
D3
D1
VBAT
GND
J5
Note: These pinouts are as seen on
the Bottom Side of the module.
VCC
PC1
PC3
TPOUT+
PD3
PD5
/IOWR
PE1
TPIN+
PE5
PE7
A2
A0
GND
PC0
PC2
TPOUT-
LNK
PD4
/IORD
PE0
TPIN-
PE4
ACT
A3
A1
J4

Getting Started Manual Introduction & Overview 1–3
1.2 Development Software
The RCM2200 module uses the Dynamic C devel-
opment environment for rapid creation and debug-
ging of runtime applications. Dynamic C provides a
complete development environment with integrated
editor, compiler and source-level debugger. It inter-
faces directly with the target system, eliminating the
need for complex and unreliable in-circuit emula-
tors.
Dynamic C must be installed on a Windows work-
station with at least one free serial (COM) port for
communication with the target system. See Chapter
3, “Software Installation & Overview,”for complete
information on installing Dynamic C.
IMPORTANT! The RCM2200 mod-
ule requires Dynamic C v7.04 or
later for development. A compati-
ble version is included on the
Development Kit CD-ROM.
1.3 How to Use This Manual
This Getting Started manual is intended to give
users a quick but solid start with the RCM2200
module. It does not contain detailed information on
the module hardware capabilities, the Dynamic C
development environment, or the TCP/IP software
support for the integrated Ethernet port. Most users
will want more detailed information on some or all
of these topics in order to put the RCM2200 module
to effective use.
1.3.1 Additional Product Information
Detailed information about the RabbitCore
RCM2200 will be found in the RabbitCore
RCM2200 User’s Manual, provided on the accom-
panying CD-ROM in both HTML and Adobe PDF
format.
Some advanced users may choose to skip the rest of
this introductory manual and proceed directly with
the detailed hardware and software information in
the User’s manual.
TIP…Werecommend that anyonenot
thoroughly familiar with Z-World
controllers at least read through the
rest of this manual to gain the nec-
essary familiarity to make use of the
more advanced information.
1.3.2 Additional Reference Information
In addition to the product-specific information con-
tained in the RabbitCore RCM2200 User’s Manual,
several higher-level reference manuals are provided
in HTML and PDF form on the accompanying CD-
ROM. Advanced users will find these references
valuable in developing systems based on the
RCM2200 module:
• Dynamic C Premier User’s Manual
• Introduction to TCP/IP
• Dynamic C TCP/IP User’s Manual
• Rabbit 2000 Microprocessor User’s Manual
1.3.3 Using Online Documentation
We provide the bulk of our user and reference docu-
mentation in two electronic formats, HTML and
Adobe PDF. We do this for several reasons.
We believe that providing all users with our com-
plete library of product and reference manuals is a
useful convenience. However, printed manuals are
expensive to print, stock and ship. Rather than
include and charge for manuals that every user may
not want, or provide only product-specific manuals,
we choose to provide our complete documentation
and reference library in electronic form with every
development kit and with our Dynamic C develop-
ment environment.
NOTE: The most current version of
Adobe Acrobat Reader can always
be downloaded from Adobe’s web
site at http://www.adobe.com.
We recommend that you use ver-
sion 4.0 or later.

1–4Introduction & Overview RabbitCore RCM2200
Providing this documentation in electronic form
saves an enormous amount of paper by not printing
copies of manuals that users don’t need.
Finding Online Documents
The online documentation is installed along with
Dynamic C, and an icon for the documentation
menu is placed on the workstation’s desktop. Dou-
ble-click this icon to reach the menu. If the icon is
missing, create a new desktop icon that points to
default.htm in the docs folder, found in the
Dynamic C installation folder.
The latest versions of all documents are always
available for free, unregistered download from our
web sites as well.
Printing Electronic Manuals
We recognize that many users prefer printed manu-
als for some uses. Users can easily print all or parts
of those manuals provided in electronic form. The
following guidelines may be helpful:
•Print from the Adobe PDF versions of the
files, not the HTML versions.
•If your printer supports duplex printing, print
pages double-sided.
•If you do not have a suitable printer or do not
want to print the manual yourself, most retail
copy shops (e.g. Kinkos, AlphaGraphics, etc.)
will print the manual from the PDF file and
bind it for a reasonable charge—about what
we would have to charge for a printed and
bound manual.

Getting Started Manual Hardware Setup 2–1
Hardware Setup 2
This chapter describes the RCM2200 module hardware in more detail, and
explains how to set up and use the accompanying prototyping and develop-
ment board.
NOTE: This chapter (and this man-
ual) assume that you have the Rab-
bitCore RCM2200 Development Kit.
If you purchased an RCM2200
module by itself, you will have to
adapt the information in this chapter
and elsewhere to your test and
development setup.
2.1 Development Kit Contents
The RCM2200 Development Kit contains the fol-
lowing items:
•RabbitCore 2200 module with Ethernet port,
256k flash memory and 128k SRAM.
•RCM2200 Prototyping Board.
•Wall transformer power supply, 12 VDC, 500
mA. (Included only with Development Kits
sold for the North American market. Overseas
users will have to substitute a power supply
compatible with local mains power.)
•10-pin header to DE9 programming cable
with integrated level-matching circuitry.
•Dynamic C SE CD-ROM, with complete
product documentation on disk.
•This Getting Started manual.
•Rabbit 2000 Processor Easy Reference poster.
•Registration card.

2–2Hardware Setup RabbitCore RCM2200
2.2 Overview of the
Prototyping Board
The Prototyping Board included in the Develop-
ment Kit makes it easy to connect an RCM2200
module to a power supply and a PC workstation for
development. It also provides some basic I/O
peripherals (switches and LEDs), as well as a proto-
typing area for more advanced hardware develop-
ment.
For the most basic level of evaluation and develop-
ment, the Prototyping Board can be used without
modification.
As you progress to more sophisticated experimenta-
tion and hardware development, modifications and
additions can be made to the board without modify-
ing or damaging the RabbitCore module itself.
The Prototyping Board is shown in Figure 2–1 on
the next page, with its main features identified.
2.2.1 Prototyping Board Features
Power Connection A 3-pin header is
provided for connection to the power
supply. Note that it is symmetrical, with
both outer pins connected to ground and
the center pin connected to the raw V+
input. The cable of the wall transformer
provided with the North American ver-
sion of the development kit ends in a
connector that is correctly connected in
either orientation.
Users providing their own power supply
should ensure that it delivers 8–24 VDC
at not less than 500 mA. The voltage reg-
ulator will get warm in use. (Lower sup-
ply voltages will reduce thermal
dissipation from the device.)
Regulated Power Supply The raw
DC voltage provided at the POWER IN
jack is routed to a 5-volt linear voltage
regulator, which provides stable power to
the RabbitCore module and the Prototyp-
ing Board. A Shottky diode protects the
power supply against damage from
reversed raw power connections.
Power LED The power LED lights
whenever power is connected to the
development board.
Reset Switch A momentary-contact,
normally-open switch is connected
directly to the RabbitCore’s /RES pin.
Pressing the switch forces a hardware
reset of the system.
I/O Switches & LEDs Two momen-
tary-contact, normally-open switches are
connected to the PB2 and PB3 pins of the
master RabbitCore module and may be
read as inputs by sample applications.
Two LEDs are connected to the PE1 and
PE7 pins of the master module, and may
be driven as output indicators by sample
applications.
The LEDs and switches are connected
through JP1, which has traces shorting
adjacent pads together. These traces may
be cut to disconnect the LEDs, and an 8-
pin header soldered into JP1 to permit
their selective reconnection with jump-
ers. See Figure 2–2 on page 2–4 for
details.
Expansion Areas The Prototyping
Board is provided with several unpopu-
lated areas for expansion of I/O and
interfacing capabilities. See the next sec-
tion for details.
Prototyping Area A generous proto-
typing area has been provided for the
installation of through-hole components.
Vcc (5 VDC) and Ground busses run
around the edge of this area. An area for
surface-mount devices is provided to the
right of the through-hole area. (Note that
there are SMT device pads on both top

Getting Started Manual Hardware Setup 2–3
and bottom of the Prototyping Board.)
Each SMT pad is connected to a hole
designed to accept a 30 AWG solid wire.
Slave Module Connectors A second
set of connectors is pre-wired to permit
installation of a second, slave RCM2200
or RCM2300 module. This capability is
reserved for future use, although the sche-
matics in this manual contain all of the
details an experienced developer will need
to implement a master-slave system.
Figure 2–1: The RCM2200 Prototyping Board.
RCM2200/2300
Master Module
Connectors Power
LED
Power
Connector
Voltage
Regulator
Master Module
Extension Headers Backup
Battery
User Switches
& LEDs (2 each)
Through-Hole
Prototyping Area SMT Device
Prototyping Area
Vcc & Ground
Busses
RCM2200/2300
Slave Module
Connectors
Slave Module
Extension Headers
Reset
Switch

2–4Hardware Setup RabbitCore RCM2200
2.2.2 Prototyping Board Expansion
The Prototyping Board comes with several unpopu-
lated areas, which may be filled with components to
suit the user’s development needs. After you have
experimented with the sample programs in
Section 3.5, you may wish to expand the board’s
capabilities for further experimentation and devel-
opment. Refer to the Prototyping Board schematic
(090–0122) for details as necessary.
Module Extension Headers The com-
plete pin set of both the Master and Slave
RabbitCore modules are duplicated at
these two sets of headers. Developers can
solder wires directly into the appropriate
holes, or, for more flexible development,
26-pin header strips can be soldered into
place. See Figure 1–1 on page 1–2 for the
header pinouts.
RS-232 Port Two 2-wire or one 4-wire
RS-232 serial port can be added to the
Prototyping Board by installing a driver
IC and four capacitors. The Maxim
MAX232CPE driver chip or a similar
device is recommended for the U2. Refer
to the Prototyping Board schematic for
additional details.
A 10-pin 0.1-inch spacing header strip
can be installed at J6 to permit connec-
tion of a ribbon cable leading to a stan-
dard DE-9 serial connector.
All RS-232 port components mount to
the underside of the Prototyping Board,
between the Master module connectors.
NOTE: The RS-232 chip, capacitors
and header strip are available from
electronics distributors such as
Digi-Key.
Proto Board Component Header
Four I/O pins from the module are hard-
wired to the Prototyping Board LEDs
and switches.
To disconnect these devices and permit
the pins to be used for other purposes, cut
the traces between the pin rows of JP1.
Use a knife or similar tool to cut or
break the traces crossing JP1 in the area
between the silk-screened arrows, as
indicated in Figure 2–2 below.
Use jumpers across the positions on JP1
if you need to reconnect any of the
devices later on.
2.3 Development Hardware
Connections
There are four steps to connecting the Prototyping
Board for use with Dynamic C and the sample pro-
grams:
1. Attach the RabbitCore module to the Proto-
typing Board.
2. Connect the programming cable between
the RabbitCore module and the worksta-
tion PC.
3. Connect the module’s Ethernet port to a
PC’s Ethernet port, or to an Ethernet net-
work.
4. Connect the power supply to the Prototyp-
ing Board.
Figure 2–2: JP1, seen from the underside
of the Prototyping Board. The connections to
the LEDs and switches may be broken by
cutting the four traces between the arrows.

Getting Started Manual Hardware Setup 2–5
2.3.1 Attach Module to
Prototyping Board
Turn the RabbitCore RCM2200 module so that the
Ethernet connector end of the module extends off
the Prototyping Board, as shown in Figure 2–3
below. Align the module headers J4 and J5 into
sockets J1 and J2 on the Prototyping Board.
Although you can install a single module into either
the Master or Slave position, all of the development
board features (switches, LEDs, serial port drivers,
etc.) are connected to the Master position. We rec-
ommend you install a single module in the Master
position.
Figure 2–3: Installing the RCM2200 module on the Prototyping Board.
Figure 2–4: The RCM2200 module installed and seated on the Prototyping Board.

2–6Hardware Setup RabbitCore RCM2200
IMPORTANT! It is important that you
line up the pins of the RabbitCore
module headers J4 and J5 exactly
with the corresponding pins of
headers J1 and J2 on the Prototyp-
ing Board. The header pins may
become bent or damaged if the pin
alignment is offset, and the module
will not work. Permanent electrical
damage to the module may also
result if a misaligned module is
powered up.
Press the module’s pins firmly into the Prototyping
Board headers. The installed module is shown in
Figure 2–4.
2.3.2 Connect Programming Cable
The programming cable connects the RabbitCore
module to the PC workstation running Dynamic C,
to permit download of programs and monitoring for
debugging.
Connect the 10-pin connector of the programming
cable labeled PROG to header J1 on the Rabbit-
Core RCM2200 module as shown in Figure 2–5. Be
sure to orient the marked (usually red) edge of the
cable towards pin 1 of the connector. (Do not use
the DIAG connector, which is used for a normal
serial connection.)
Connect the other end of the programming cable to
a COM port on your PC. Make a note of the port to
which you connect the cable, as Dynamic C needs
to have this parameter configured when it is
installed.
NOTE: COM 1 is the default port used
by Dynamic C.
2.3.3 Connect Ethernet Network Cable
Programming and development can be done with
the RabbitCore RCM2200 without connecting the
Ethernet port to a network. However, if you will be
running the sample programs that use the Ethernet
capability or will be doing Ethernet-enabled devel-
opment, you should connect the RabbitCore mod-
ule’s Ethernet port at this time.
There are four options for connecting the Rabbit-
Core module to a network for development and
Figure 2–5: Attaching the programming cable to the RabbitCore module.
Note that the stripe on the cable is towards pin 1 of the header J5.
Note Pin
1 Indicator

Getting Started Manual Hardware Setup 2–7
runtime purposes. The first two options permit total
freedom of action in selecting network addresses
and use of the “network,”as no action can interfere
with other users. We recommend one of these
options for initial development.
•No LAN —The simplest alternative for
desktop development. Connect the Rabbit-
Core’s Ethernet port directly to the worksta-
tion’s network interface card, using an RJ-45
crossover cable. A crossover cable is a special
cable that flips some connections between the
two connectors and permits direct connection
of two client systems. A standard RJ-45 net-
work cable will not work for this purpose.
•Micro-LAN —Another simple alternative
for desktop development. Use a small Ether-
net 10Base-T hub and connect both the work-
station’s network interface card and the
RabbitCore’s Ethernet port to it, using stan-
dard network cables.
The following options require more care in address
selection and testing actions, as conflicts with other
users, servers and systems can occur:
•LAN —Connect the RabbitCore’s Ethernet
port to an existing LAN, preferably one to
which the development workstation is already
connected. You will need to obtain IP
addressing information from your network
administrator.
•WAN —The RabbitCore RCM2200 is
capable of direct connection to the Internet
and other Wide Area Networks, but excep-
tional care should be used with IP address
settings and all network-related programming
and development. We recommend that devel-
opment and debugging be done on a local
network before connecting a RabbitCore
system to the Internet.
TIP…Checking and debugging the
initial setup on a micro-LAN is rec-
ommended before connecting the
system to a LAN or WAN.
2.3.4 Connect Power
When all other connections have been made, you
can connect power to the RabbitCore Prototyping
Board.
Hook the connector from the wall transformer to
header J5 on the Prototyping Board as shown in
Figure 2–6 below. The connector may be attached
either way as long as it is not offset to one side.
Plug in the wall transformer. The power LED on
the Prototyping Board should light up. The Rabbit-
Core 2000 and the Prototyping Board are now
ready to be used.
NOTE: A RESET button is provided
on the Prototyping Board to allow
hardware reset without disconnect-
ing power.
To power down the Prototyping Board, unplug the
power connector from J5. You should disconnect
power before making any circuit adjustments in the
prototyping area, changing any connections to the
board, or removing the RabbitCore module from the
board.
2.4 Where Do I Go From Here?
We recommend that you proceed to the next chap-
ter and install Dynamic C (if you do not already
have it installed), then run the first sample program
to verify that the RabbitCore module and Prototyp-
ing Board are set up and functioning correctly.
If everything appears to be working, we recommend
the following sequence of action:
1. Run all of the sample programs described in
Section 3.5 to get a basic familiarity with
Dynamic C and the RabbitCore module’s
capabilities.
2. For further development, refer to the Rab-
bitCore RCM2200 User’s Manual for
details of the module’s hardware and soft-
ware components.
A documentation icon should have been
installed on your workstation’s desktop;

2–8 Hardware Setup RabbitCore RCM2200
click on it to reach the documentation
menu. You can create a new desktop icon
that points to default.htm in the docs
folder in the Dynamic C installation folder.
3. For advanced development topics, refer to
the Dynamic C User’s Manual and the
Dynamic C TCP/IP User’s Manual, also in
the online documentation set.
2.4.1 Technical Support
If you encounter any problems, call our Technical
Support center:
•Z-World Technical Support, (530) 757-3737
•Rabbit Semiconductor Technical Support,
(530) 757-8400
Figure 2–6: Connecting the power cable to the Prototyping Board.
The connector may be oriented either way, but must not be offset.

Getting Started Manual Software Installation & Overview 3–1
Software Installation & Overview 3
To develop and debug programs for the RabbitCore RCM2200 (and for all
other Z-World and Rabbit Semiconductor hardware), you must install and
use Dynamic C. This chapter takes you through the installation of Dynamic
C, and then provides a tour of its major features with respect to the Rabbit-
Core RCM2200 module.
3.1 An Overview of Dynamic C
Dynamic C integrates the following development
functions into one program:
•Editing
•Compiling
•Linking
•Loading
•In-Circuit Debugging
In fact, compiling, linking and loading are one func-
tion. Dynamic C does not use an In-Circuit Emula-
tor; programs being developed are downloaded to
and executed from the “target”system via an
enhanced serial-port connection. Program develop-
ment and debugging take place seamlessly across
this connection, greatly speeding system develop-
ment.
Other features of Dynamic C include:
•Dynamic C has an easy-to-use built-in text
editor. Programs can be executed and
debugged interactively at the source-code or
machine-code level. Pull-down menus and
keyboard shortcuts for most commands make
Dynamic C easy to use.
•Dynamic C also supports assembly language
programming. It is not necessary to leave C or
the development system to write assembly
language code. C and assembly language may
be mixed together.
•Debugging under Dynamic C includes the
ability to use printf commands, watch

3–2Software Installation & Overview RabbitCore RCM2200
expressions, breakpoints and other advanced
debugging features. Watch expressions can be
used to compute C expressions involving the
target’s program variablesorfunctions. Watch
expressions can be evaluated while stopped at
a breakpoint or while the target is running its
program.
•Dynamic C provides extensions to the C lan-
guage (such as shared and protected variables,
costatements and cofunctions) that support
real-world embedded system development.
Interrupt service routines may be written in C.
Dynamic C supports cooperative and preemp-
tive multi-tasking.
•Dynamic C comes with many function librar-
ies, all in source code. These libraries support
real-time programming, machine level I/O,
and provide standard string and math func-
tions.
•Dynamic C compiles directly to memory.
Functions and libraries are compiled and
linked and downloaded on-the-fly. On a fast
PC, Dynamic C can load 30,000 bytes of code
in 5 seconds at a baud rate of 115,200 bps.
3.2 System Requirements
To install and run Dynamic C, your system must be
running one of the following operating systems:
•Windows 95
•Windows 98
•Windows NT
•Windows ME
•Windows 2000
3.2.1 Hardware Requirements
The PC on which you install Dynamic C for devel-
opment of RCM2200-based systems should have
the following hardware:
•A Pentium or later microprocessor
•32 MB of RAM
•At least 50 MB of free hard drive space
•At least one free COM (serial) port for com-
munication with the target systems
•A 10Base-T Ethernet network interface port
(optional if you will not be using the
RCM2200’s Ethernet port)
•A CD-ROM drive (for software installation)
3.3 Installing Dynamic C
Insert the Dynamic C CD-ROM in the drive on your
PC. If autorun is enabled, the CD installation will
begin automatically.
If autorun is disabled or the installation otherwise
does not start, use the Windows Start | Run menu
or Windows Disk Explorer to launch SETUP.EXE
from the root folder of the CD-ROM.
The installation program will guide you through the
installation process. Most steps of the process are
self-explanatory and not covered in this section.
Selected steps that may be confusing to some users
are outlined below. (Some of the installation utility
screens may vary slightly from those shown.)
3.3.1 Program & Documentation
File Location
Dynamic C’s application, library and documentation
files can be installed in any convenient location on
your workstation’s hard drives.

Getting Started Manual Software Installation & Overview 3–3
The default location, as shown in the example
above, is in a folder named for the version of
Dynamic C, placed in the root folder of the C: drive.
If this location is not suitable, enter a different root
path before clicking Next >. Files are placed in the
specified folder, so do not set this location to a
drive’s root directory.
3.3.2 Installation Type
Dynamic C has two components that can be
installed together or separately. One component is
Dynamic C itself, with the development environ-
ment, support files and libraries. The other compo-
nent is the documentation library in HTML and
PDF formats, which may be left uninstalled to save
hard drive space or installed elsewhere (on a sepa-
rate or network drive, for example).
The installation type is selected in the installation
menu shown above. The options are:
•Typical Installation —Both Dynamic C
and the documentation library will be
installed in the specified folder (default).
•Compact Installation —Only Dynamic C
will be installed.
•Custom Installation —You will be
allowed to choose which components are
installed. This choice is useful to install or
reinstall just the documentation.
3.3.3 Select COM Port
Dynamic C uses a COM (serial) port to communi-
cate with the target development system. The instal-
lation allows you to choose the COM port that will
be used.
The default selection, as shown in the example
above, is COM1. You may select any available port
for Dynamic C’s use. If you are not certain which
port is available, select COM1. This selection can
be changed later within Dynamic C.
NOTE: The installation utility does not
check the selected COM port in any
way. Specifying a port in use by
another device (mouse, modem,
etc.) may cause temporary prob-
lems when Dynamic C is started.
3.3.4 Desktop Icons
Once your installation is complete, you will have up
to three icons on your PC desktop, as shown below.
One icon is for Dynamic C, one opens the documen-
tation menu, and the third is for the Rabbit Field
Utility, a tool used to download precompiled soft-
ware to a target system.

3–4Software Installation & Overview RabbitCore RCM2200
3.4 Starting Dynamic C
Once the RabbitCore module is set up and con-
nected asdescribed in Chapter 2 and Dynamic C has
been installed, start Dynamic C by double-clicking
on the Dynamic C icon. Dynamic C should start,
then look for the target system on the COM port you
specified during installation (by default, COM1).
Once detected, Dynamic C should go through a
sequence of steps to cold-boot the module and com-
pile the BIOS.
If you receive the message beginning “BIOS
successfully compiled and
loaded…” you are ready to continue with the
sample programs in the next chapter.
3.4.1 Communication Error Messages
If you receive the message “No Rabbit Pro-
cessor Detected,” the programming cable
may be connected to a different COM port, a con-
nection may be faulty, or the target system may not
be powered up. First, check to see that the power
LED on the Prototyping Board is lit. If it is, check
both ends of the programming cable to ensure that it
is firmly plugged into the PC and the RabbitCore’s
programming port, with the pin-1 edge of the cable
matched to the pin-1 mark on the board. If you are
using the Prototyping Board, ensure that the mod-
ule is firmly and correctly installed in its connectors.
If there are no faults with the hardware, select a dif-
ferent COM port within Dynamic C. From the
Options menu, select Communications. The dialog
shown should appear.
Select another COM port from the list, then click
OK. Press Ctrl-Y to force Dynamic C to recompile
the BIOS. If Dynamic C still reports it is unable to
locate the target system, repeat the above steps until
you locate the active COM port.
If Dynamic C appears to compile the BIOS success-
fully, but you then receive a communication error
message, it is possible that your PC cannot handle
the 115,200 bps baud rate. Try changing the baud
rate to 57,600 bps using this procedure:
1. In Dynamic C, open the BIOS source code
file, RABBITBIOS.C.
Change the line:
#define USE115KBAUD 1
to read as follows:
#define USE115KBAUD 0
2. Open the Communications dialog in the
Dynamic C Options menu. Select 57,600
from the Baud Rate list and click OK.
3. Save the changes using File > Save.
You should now receive the "BIOS success-
fully compiled" message without a follow-
ing communication error.
3.5 Sample Programs
To help familiarize you with the RabbitCore
RCM2200 modules, Dynamic C includes several
sample programs. Loading, executing and studying
these programs will give you a solid hands-on over-
view of the RabbitCore’s capabilities, as well as a
quick start with Dynamic C as an application devel-
opment tool.
NOTE: Thesample programs assume
that you have at least an elemen-
tary grasp of ANSI C. If you do not,
see the introductory pages of the
Dynamic C Premier User’s Man-
ual for a suggested reading list.
Other manuals for RCM2200
1
Table of contents
Other RabbitCore Control Unit manuals

RabbitCore
RabbitCore RCM3000 Parts list manual

RabbitCore
RabbitCore RCM2200 User manual

RabbitCore
RabbitCore RCM4500W User manual

RabbitCore
RabbitCore RCM3100 Series Parts list manual

RabbitCore
RabbitCore RCM2300 Parts list manual

RabbitCore
RabbitCore RCM3315 User manual

RabbitCore
RabbitCore RCM2100 Parts list manual

RabbitCore
RabbitCore RCM2000 Series Parts list manual